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

Debug mode is not working with IAR and nrf51822

Hi, I am using nrf51822 (pca10004) with SDK110 softdevice programmed through j-link LITE SEGGER. After programming the custom code (Basic I2C code) and when we try to debug the code, we are getting "Warning: T-bit of XPSR is 0 but should be 1. Changed to 1." and the code is not running.

If we try to reset the board, we are getting the below messages and the code is not resetting to Main.

"Reset: Halt core after reset via DEMCR.VC_CORERESET, Reset: Reset device via AIRCR.SYSRESETREQ. Hardware reset with strategy 0 was performed Target reset

The code is written in IAR V7.80.1 and the Jlink version is 6.20g.

Thanks, Nagaraj

Related