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

NRF_BREAKPOINT_COND; // On assert, the system can only recover with a reset.

Hello All, 

I am developing thread base system. 

I am using SDK - nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8

Dev-kit - nrf52840

I have used "cli-mtd" code as my base project and on this I am developing my custom code.  For my product i need GPIO, UART, Timer and other peripheral. 

As per my requirement I have enabled the peripheral and also disabled the "cli" library to free the UART0 and build the libraries again. 

And I am not getting any error while executing UART. But I have many commands which exchange over UART. 

but if I tried to execute UART commands more than 1 then my code entering into below line. 

NRF_BREAKPOINT_COND;
// On assert, the system can only recover with a reset.

I am not getting reason behind this problem. 

Can anyone help me what is the problem. Why I am not able to execute more than 1 command. 

Let me know if I made any mistake or any initialization is missing from this. Attached is my code and image where code halting. 

I am unable to attach code here so kept on drive link -

drive.google.com/.../view

Thanks and Regards

Rohit R 

Related