This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to debug KEIL using GCC

I am using KEIL but with GCC for my STM32F0 uC. It would compile fine and I am able to use the ST Link utility to download the hex file. But when using KEIL to download the binary to the chip, there is an error message:

Load "C:\\Working\\STMMicro\\ProgramExamples\\Nucleo_F07_Examples\\STM32Cube_FW_F0_V1.6.0\\Projects\\STM32F072RB-Nucleo\\Examples\\GPIO\\GPIO_IOToggleGCC\\MDK-ARM\\Project.elf"
No Algorithm found for: 08000000H - 080024B3H
Erase skipped!
Error: Flash Download failed - "Cortex-M0"
Flash Load finished at 14:13:37

Also, even if I can download the hex file, how can I debug and step into the code?

Thanks.

Parents Reply Children