Hi , Do you know how to reset manually HSC12 CPU ??? Many thanks in advance.
HCS12 : how to reset manually ???
Started by ●February 10, 2006
Reply by ●February 10, 20062006-02-10
> Do you know how to reset manually HSC12 CPU ???
> Many thanks in advance.
You need a pushbutton that will force -RESET line into low state.
--
Michal Konieczny
mk@mk@....
Reply by ●February 10, 20062006-02-10
Thanks but I knew.
I mean Reset CPU by software, of course.
--- In 68HC12@68HC..., Michal Konieczny <0xmk@...> wrote:
>
> > Do you know how to reset manually HSC12 CPU ???
> > Many thanks in advance.
>
> You need a pushbutton that will force -RESET line into low state.
>
> --
> Michal Konieczny
> mk@...
>
Reply by ●February 10, 20062006-02-10
try a COP reset.
Write an non $55/$AA value to ARMCOP.
E.g.
void ResetChip(void) {
ARMCOP= 0; // reset if COP is enabled.
}
Daniel
montserret_maxime wrote:
> Thanks but I knew.
>
> I mean Reset CPU by software, of course.
>
>
>
>
> --- In 68HC12@68HC..., Michal Konieczny <0xmk@...> wrote:
>
>>> Do you know how to reset manually HSC12 CPU ???
>>> Many thanks in advance.
>>>
>> You need a pushbutton that will force -RESET line into low state.
>>
>> --
>> Michal Konieczny
>> mk@...
>>
>>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Reply by ●February 10, 20062006-02-10
Hi Maxime.
Pay attention about software reset methods and issues/limitations.
This was already discussed in this newsgroup and nothing is like a real
power reset, or pin reset.
Please scan posted threads or wait for more feedbacks from people in the group.
Regards,
Gilles
At 01:25 PM 2/10/2006, you wrote:
>Thanks but I knew.
>
>I mean Reset CPU by software, of course.
>
>
>
>
>--- In 68HC12@68HC..., Michal Konieczny <0xmk@...> wrote:
> >
> > > Do you know how to reset manually HSC12 CPU ???
> > > Many thanks in advance.
> >
> > You need a pushbutton that will force -RESET line into low state.
> >
> > --
> > Michal Konieczny
> > mk@...
> >
>
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
Reply by ●February 10, 20062006-02-10
> I mean Reset CPU by software, of course. Disable interrupts, enable watchdog (if you don't use it already), loop forever without writing ARMCOP and wait for watchdog resetting the CPU. -- Michal Konieczny mk@mk@....
Reply by ●February 10, 20062006-02-10
--- In 68HC12@68HC..., Gilles Blanquin <gilles.blanquin@...>
wrote:
> Hi Maxime.
>
> Pay attention about software reset methods and issues/limitations.
> This was already discussed in this newsgroup and nothing is like
> a real
> power reset, or pin reset.
>
> Please scan posted threads or wait for more feedbacks from people
> in the group.
>
> Regards,
> Gilles
There is a way to really do hard-reset from software if you take one
of your outputs to actually assert the RESET pin. Pay attention to
follow specs, make sure it stays low long enough or whatever.