cancel
Showing results for 
Search instead for 
Did you mean: 

J-Link Error "Cannot Read Registers" on stm32f103rbt6 in Keil

1yuda2
Visitor

I am using the pwm in stm32 to control the mass flow meter, then at first set up the pin interface inside the stm32cubemx, using the GPIO PA0 for the control of the valve on and off, and then PA1 to control the output of the PWM signal to the flow meter, and set up the clock frequency in the stm32cubemx, and then finally generate the preliminary code using MDK-ARM to generate the then modified some code in KEIL, but after jlin burned into the stm32, in the process of debug, a run up on the registers clear, showing that the CPU can not be stopped, do not know how to solve, I am a novice, I hope that there is a big brother to solve the problem!

 
 
 
 
 
 
 
 
 

 

1 REPLY 1

The first screen is where it initially stops in main() and you need to Run from there.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..