Open vindicatorr opened 5 years ago
Can you post a minimal example of this, along with instructions on how to compile/run it manually (I'm pretty sure I've got a Nucleo board with a 407 around here somewhere to use) - may just be some assumptions that the extension is making that causes it to send the incorrect commands for running from ram vs from memory.
Whoof, this is a bit of an old issue, but I had moved on, added openocd to my arsenal, progressed with my project and forgot all about this issue.
Since I was about to start on another project, I went ahead and plopped in some of the previous setup code I used to replicate the issue, and it still does.
Also for reference, since I neglected to mention it in my OP, the version I think I used at that time was 0.2.4 and I just tested it again with 0.2.7.
Just follow the README for changes needed with what works and doesn't work. You also have 2 other debuggers set up for use in launch.json.
It almost sounds similar to https://github.com/Marus/cortex-debug/issues/105 but I don't get anywhere. I was starting with a simple blink to get the feel for it. The only main difference between working and not working is running in RAM only, vs running from FLASH.
STM32F407GFTx_FLASH.ld (commented out >FLASH stuff, replaced with >RAM):
startup_stm32f407xx.S (commented "@" FLASH related parts, to run in RAM only):
tasks.json (uncomment for running in RAM only):
Debug Console for "cortex-debug": FLASH:
RAM:
Debug Console for "stlink & gdb": RAM: