how connect debugger to ruuning mcu without reset

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

Parents
  • 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

Reply
  • 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

Children
More questions in this forum