Reset Problem - 9S12dp32

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

Reset Problem - 9S12dp32

1,802 Views
maddthad
Contributor I
Good day, I have a problem where code runs fine with P&E multilink connected under debugger. Also with multilink disconnected program will run when you exert an external reset. Problem is it wont run with internal POR reset. Where shoud I start to look where the problem is. Chip is 9S12dp32

Thanks
Thad
 
 
 
 
 
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2008-05-21 10:27 PM
Labels (1)
0 Kudos
Reply
2 Replies

884 Views
kef
Specialist I
Thad,
 
do you have pull-up and some brown out detector on /RESET pin? I didn't hear about 9S12DP32, but from what I know D32 doesn't have LVR circuit and needs some kind of brown out protection.
0 Kudos
Reply

884 Views
Lundin
Senior Contributor IV
First of all, note that the P&E plus the debugger may put your chip in stop mode, and when it does that, the watchdog is stopped as well. So if you pull out the BDM in runtime, the chip might hang in stop mode.

If that isn't the cause of the problem, it is most likely related to the watchdog settings. Make sure you are enabling the watchdog and that you have the watchdog interrupt pointing at the right place from the interrupt vector table.
0 Kudos
Reply