This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CPU cannot be halted

Hi to everyone!

I am using nRF52832 driven by nRF52 DK and a sensor from Maxim Integrated. As debug output i am using the RTT viewer and as IDE Keil.

When i run my code it seems to work properly but when i use the sensor (it is a like a photodetector and a led, so when i move the finger on it this will cause an interrupt) the outputs on the RTT viewer stops and i ends up to the "**JLink Warning: CPU could not be halted" warning as shown:

  

Even if the output of the RTT stops i can see that the sensor is continue to work properly, when my finger is detected a led  is set high. 

Where this error come from? Is it a problem of the RTT window (LOG) only? if it is not, why my sensor continue to work as defined?

Thanks,

polimarte

Parents Reply Children
No Data
Related