ILLEGAL_BP with MC9S08AW44

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ILLEGAL_BP with MC9S08AW44

903 Views
Ciccio
Contributor I
Hi,
I use MC9S08AW44.
I have write little code for try PWM and input capture.
In attacment my code.

When I go to debug with Multilink I have a ILLEGAL_BP .
I have stepped with F10/F11 and in this istruction:
PTCDD |= (unsigned char)0x10;
the debugger exit to connection and alert me with:
"Can't communicate with the target processor! Please check your connections
between the cable and the target and make sure the taget has power."

The hardware connection are correctly: I have checked the wire with other software and work!

What's???
Thanks!
Labels (1)
0 Kudos
1 Reply

249 Views
mdelac01
Contributor I
I ran into a similar issue, using HCS08GT8.
The problem was the watchdog reset.  I was not resetting the dog.  By default the HC08 have the watchdog reset enabled.  Either disable it all toghther, or make sure you reset it regularly in your code.
 
Good luck
0 Kudos