2008-01-07 12:54 PM
How to Force a chip reset in debug mode?
2011-05-17 03:20 AM
I have a IAR STM32-SK board, debugging with a Jlink Jtag debugger.
How can I cause the STM32 to be hard-reset using the debugger? From my testing it appears the nRST is never activated. When restarting my application (using the IAR reset button), the micro registers are not reset to their default states. I have tried the EWARM Jlink options (reset methods), but have not managed to achieve a HW reset of the STM32. Is there something I'm missing? Thanks! [ This message was edited by: edware on 03-01-2008 11:34 ]2011-05-17 03:20 AM
2011-05-17 03:20 AM
Thanks for the suggestions Magigimix!
I checked my Jlink, which is Version 6, and also checked the drivers which are the latest (V3.74m). I tried changing the reset strategies, but still cannot get the ARM registers to return to their default (power on) values via the EWARM IDE. I have been performing a manual reset of the board to reset the registers. I looked up a reference to the SWD interface, but have no idea of how to enable/ disable this feature, or even if it's being used. Can you direct me to some info regarding the SWD interface? It's not a major stumbling block for me, but I would like to understand how to assert the reset line on the micro. Regards Ed ;)