Open dadede opened 4 months ago
Several things
IMPORTANT: Set "showDevDebugOutput": "raw" in "launch.json" to see verbose GDB transactions here. Very helpful to debug issues or report problems
For now, leave this issue on this repo, but provide better info. Please don't assume were know what your code/device looks like. And, what buttons, menu items, etc. you were pressing at the time.
In the peripheral viewer, the register value randomly changes when I interrupt and try -data-read-memory-bytes 0x40010800 16 (also tried 8, 10, 20) but I keep getting the errors as shown from the debug console below.
I don't even know what that means.
Hello,
I am using the cortex-debug and peripheral-viewer to debug a STM32F3 Discovery board. I can confirm that cortex-debug is working, however it seems there is a problem reading the registers using St-Link or OpenOCD.
The code is just a basic PWM timer (everything working as expected with the code) but I cannot seem to read the value of the TIM1 CNT register. Or other peripheral registers for that matter. Basic search for similar issues in the repo keep pointing to SVD not updating registers so I tried to figure it out to no avail.
In the peripheral viewer, the register value randomly changes when I interrupt and try
-data-read-memory-bytes 0x40010800 16
(also tried 8, 10, 20) but I keep getting the errors as shown from the debug console below.Now, it could be a problem with something else or the SVD file and if it is I am not sure what the problem could be. I appreciate any help with this, thank you.
Here is the output of the GDB server terminal...
launch.json
settings.json