H-JTAG
 

 
PaPeRo
Assist Engineer
Rank: 1



UID 2691
Digest Posts 0
Credits 0
Posts 1
Reading Access 10
Registered 2010-1-25
Status Offline
Post at 2010-1-25 02:14  Profile P.M. 
Reset values

Hi, I'm using HJTAG+HFLASHER+Wiggler clone with IAR EWARM for debugging an LPC2361 board. When I power up for the first time the board and download my application, all CPU registers have their correct reset values (which is 0x00 for most of them). But the second time (and subsequents) I run the debugger the registers have the value left in the last debug session. It's like they don't return to their reset values each time I restart the debugger. I've found that if I change the connection mode in HJTAG to "Harware reset and halt at 0x0" or "Hardware reset and halt after 0ms" the problem is solved and the reset values are correct each time I run the debugger. But the problem is that HFLASHER fails with this settings ("Can't halt..."). Therefore, I use "Attach" as connection mode, program target, change to some of the others connection modes, and run the debugger. I have "allow hardware reset" enabled in IAR, but this seems to be useless. Is there a easiest way to solve this? Thanks in advance and apologies for my english.
Top
 


All times are GMT+8, the time now is 2010-9-6 14:59
京ICP备07007783号

 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
 Processed in 0.032514 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - H-JTAG - Archiver