2024-03-08 12:01 PM - edited 2024-03-08 12:03 PM
STM32F303 - Application running fine in CubeIDE debugger, custom board. It will not start as standalone, programmed with CubeIDE or CubeProgrammer with .elf or .hex.
I have created an 'attach' run debug configuration, which can successfully display program execution and symbols when connected after CubeIDE starts the application.
I have placed the following code in main() in order to pause execution at the top of main to hopefully attach and step through to identify the fault.
However, when I attach after a cold/power reset, this is my trace, as if the system is not making it to main after cold start/no debugger.
I see the following data in the flash at location 0x0000 0000 when read with CubeProgrammer:
Shouldn't 0x04-0x07 contain the program start address of 0x0800 0000 + vector table size?
Is the flash is read protected and I am looking at invalid data?
Solved! Go to Solution.
2024-03-29 09:08 PM - edited 2024-03-29 09:09 PM