STM32C542RCT6 – Firmware Downloads Successfully but Does Not Start
- 6 replies
- 60 views
Title: STM32C542RCT6 – Firmware Downloads Successfully but Does Not Start
Hello,
I am working on an STM32C542RCT6 project using STM32CubeMX2, STM32CubeIDE and CMake.
I am facing an issue where the firmware downloads and verifies successfully, but the application does not start.
The debugger stops at an unexpected address (0x0BF87944) and shows the message:
Break at address with no debug information available, or outside of program code.

I have checked the following:
-
Other firmware projects are downloading and running successfully on the same evaluation board.
-
ST-LINK programming is working.
-
The MCU is correctly selected as STM32C542RCT6.
-
The firmware download shows "Download verified successfully".
My linker script is named stm32c542xb_flash.ld, and I am not sure whether its memory configuration is correct for STM32C542RCT6. also i attached the cmakelist.txt and linkerscript check is ther any chnages neede there .
Could anyone help me verify the correct linker script, startup file, and heap/stack configuration for STM32C542RCT6?
Thank you.
