ST-link/v2 with Keil debugging/flashing problems
I have built my own custom board with an STM32L412KB processor on board. I am using the ST-link /v2 to connect via JTAG to the board. I am able to connect with the ST-Link utility as well as Keil. In Keil I can compile and flash the code, but it seems there is some sort of problem.
I am able to enter debug mode, but if I put a breakpoint within the main function and click 'run to cursor', it gets stuck and the ST-Link flashes red/green indefinitely. However, in debug mode I can open the registers manually and change values (e.g. to make LEDs turn on/off etc).
Any advice or thoughts would be greatly appreciated as I am at a loss for what to do.
Thanks!
