Hi All,
I am using STM32L152R8 controller from STMicroelectronics in my custom board. The problem that I am facing is, the program is getting loaded when I perform the loading in following sequence in keil 4.21 using STLink-V2 compile-->load-->debug-->stop debug-->load. The program doesnt stop at the break point during debug session.
Secondly, After reset the program is not running from the flash. I think somewhere in the parameter setting of Keil tool may be missing Could you please let know how to resolve these issues.
Regards Anand M
Or the state of the BOOTx pin when the board starts?
Check also if you have the NRESET/NRST pin connected to the SWD/JTAG interface, and that the code you are running doesn't enter some low power state, or do anything else to break the debug interface.
Hi,
Thanks for the reply.
BOOTx pin state is low (i.e pulled low through 10K resistor)
I have not using the reset pin in the SWD interface