hi all,
I'm woking of STMF405 MCU trought a SWD (not exposing reset pin) with stlinkv2 probe when I start with loading and reseting after load all debug is working well but somtimes I must connect my debugger to a running mcu without reloading software and without reseting to be able to make some error debug ... is there a solution to do that I tried to change few thing in debug settings like no reset after startup and no load at startup I've no error but I have no debug or memory view neither ! any idea ?? thank's
You need to do the following:
Uncheck "Load Application at Startup" (DEBUG tab) Uncheck "Reset after Connect" (DEBUG tab) Uncheck "Update Target before Debugging" (Utilities tab) Create a .ini file and added the filename to the "Initialization File" (DEBUG tab)
The .ini file should contain something like: load <relative path>\<filename>.axf incremental
Thank's for your reply sory for my late answer I was stuck on somthing else it appears that loading AXF file or not doesn't change anything i can see memory and standard registers but I cannot see source mix in disassembly window I can not evaluate vars and I'm not sure I can evaluate correctly the "systeme viewer" devices register (all set to 0 that looks strange) any way I tried to see where PC is in register window and find in MAP what sector / function it's related I will try to satisfy me with this thank's a lot for your help
can not use Breakpoints neiver