I am working on EMC problems. We are using a STM32 and I would like to change the drive strength of the ports in debugging mode (so not to have the SW guy do a new build for each experiment)
I do not have the source code, it is encrypted.
So my idea was to use STM32CubeIDE and manipulate the port registers directly in the debugger.
But, is it possible to run the debugger/connection to the MCU without source code?
I’ve never done it with STM32CubeIDE, but I have done it with IAR. You would just start “Debug without downloading”. You could then halt and bang registers. However, if the source code is encrypted is it possible that security locks are enabled that would prevent JTAG connections to the device?
I just poked at CubeIDE and I don’t see an obvious debug without downloading option. I would think it HAS to be there though…
yes it is, it’s just gdb , i use keil myself but the idea is the same, it’d help you to have the map file available too so you can see where you are.
if you dont have the binary and the read out protection locks are on, then you wouldn’t be able too without bypassing the locks, but sounds like thats not the case for you