How do I avoid triggering a reset when connecting my STLink v2.1 to my STM32F439ZI / STM32F429ZI?
I have a board mounted on a phisical system, so debugging and/or staying connected on the board while running is not a feasible option.
What I'd like to do is:
- Connect to the board with an STLink (JTAG)
- Load the software (Ac6 - Eclipse IDE)
- Restart the system and run the program
- Connect to the board once the system has concluded (no moving parts)
- Create a memory dump of the RAM with STM32CubeProgrammer
At the moment, the step I'm having trouble is the 4th.
When I connect the STLink, the board resets itself, effectively deleting everything present on the RAM banks and restarting the program from the beginning.
What I'd like to know is:
- what parameters and/or configurations should I modify to stop the board from resetting itself once connected to the STLink?
- Would this prevent the Ac6 (Eclipse) IDE from being able to overwrite the program?
I have different time histories I need to load, and sadly there's not enough RAM to simply upload ALL the data necessary to function (I used conditional compilation to select only the time history i need)
The amount of data i need to "download" is around 40Kb. The boards are two, almost identical except for the main chip (F429 vs F439)
I don't expect to receive a complete/direct answer, but if someone has suggestions and/or indications on which manual/forum posts to look, that'd be bloody helpful
