2021-01-14 07:38 AM
2021-01-14 07:59 AM
Does it run at all? You're going to establish more context.
Custom board? If you turn off "run to main()" can you step out of Reset_Handler?
Can you instrument follow with output to UART or SWV channel?
Bad function pointers.
Stack frame corruption, ie out-of-bounds local/auto variables, or too small.
Bad vectors table content.
2021-01-14 11:31 PM
It is a custom board. This project is running well with IAR until now.
Now I would like to port it to the STM32CubeIDE.
I created a new project for the right µC and added all source and header files.
I checked now the internal flash memory.
The software is much bigger then the bytes which are writen by the IDE. Also the hex file is to small.
I couldn't find a "run to main()" settings. Disabling the "Stop at startup at" setting did not help.
2021-01-15 02:50 AM
Your setup is screwed and you programmed nonsense to the board. Recheck your setup and every step you did. The error above show probably a bad jump to some undefined reference