I am currently working on keil, with NUCLEO L053R8 from STMicroelectronics, and I face this issue
(Error: Flash Download failed - "Cortex-M0+")
since I have begun to use ST32CubeMX.
I have already tried to :
- change com port,
- change the nucleo board,
- re-flash the binary file into the MCU,
- flash with "BOOT0" high,
but it has not change anything.
Maybe someone can help me.
Have a good day.
Make sure CubeMX doesn't have some default setting that is disabling the SWD debug interface/pins
Also that you haven't mis-configured your Cube project to disable the SWD debug interface/pins
View all questions in Keil forum