I have a problem with a real-time debugging in uVision. When I hit stop button in debug session I see the program waits inwhile ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP) {};
If I comment this line I get a lot of errors. How can I debug in a realtime with uVision?
Thu, 2014-11-13 12:24
#1
Debug with Keil
Hi,
I had the same problem. Basically because of the low power modes the application will not work with debugging. What you need to do is disable lower power modes and comment this line (and I think the one after) and it will work fine
谢谢。我在哪里可以禁用低功率模式?
Hello Cusko,
per another thread :
"Deep sleep or extended sleep conflicts with the J-Link debugger. You have to stop the debugger for the device to start advertising. You can also disable (undefine) both sleep modes in the da14580_config.h file of each project, this will allow you to also use the debugger."
BR JE_Dialog