AnsweredAssumed Answered

Debug doesn't work at KAIL. "Could not stop Coretex-M device!"

Question asked by Takayoshi Ishii on Feb 28, 2018
Latest reply on Mar 1, 2018 by Vitaliy Chernobay

Hello,

 

When I run my project as debug mode, following error come up.

 

------------------------------------

Debugger - Coretex-M Error

Could not stop Coretex-M device!

Please check the JTAG cable.

------------------------------------

 

I can debug other project by the same hard ware environment. I changed many times the debugger and cable, but the same error come up.

When I run it as LOAD and RUN, it works well. Just couldn't stop the debug mode running.

 

The environment is 

 

-STM32L051C8T6

-Kail v5.24

-Cube-MX

-ST-Link V2-1 and the setting speed is 1MHz for STM32L0.

 

Thank you.

Outcomes