I am a firmware developer.I am working on Bluetopia stack and using MSP430BT5190. I also using IAR workbench.
The main problem is the controller resets after 2-3 seconds when the controller is in the release mode.But when it is in the debug mode it works normally without reset.
I then checked the SYSRSTIV register to see the cause of error.I found its security violation(the value is 0x0A).
I then searched the cause of security violation on forums.I found that its because of the access to BSL area or any protected area.But I havent changed the SYSBSLC register.So it has the default value and BSL code area is not protected.
So I still dont know what is the cause of the reset.So tell me about this.
Also the main problem is why it resets only during the release mode but not in the debug mode.
I searched a lot but no one has such a problem.