Reset Problem - 9S12dp32

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reset Problem - 9S12dp32

1,800 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

882 次查看
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 项奖励
回复

882 次查看
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 项奖励
回复