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

Program getting erased on power reset

Hi,

I am working with NRF52832 boards where on one board i have loaded Multilink central example, and on the other i have loaded peripheral code with some modifications. It is working fine, but i am facing some issues. I have listed my observations below.

1. Once i upload the program from IDE(Segger Embedded Systems), the peripheral gets connected, and i am getting the data.

2. When i am in the debug window itself, if i press the reset button on the central, the code reloads and then again it connects to the peripheral.

3. Once i click debug stop button to enter edit mode on the IDE, still the code will continue to work fine.

4. Now, if i try pressing reset button or the power reset, the code at the central stops working, which is indicated by the LED which does not even turn on, and peripheral will still be looking for the central to connect.

So, it is working fine during debug window open, but not when i close it. I have built it in Release configuration. Can someone help me find its cause and how to solve this?

Best Regards,

Subbu

Parents Reply Children
No Data
Related