Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 shows "unknown function at 0x00000A60" after 58 minute fix time

Hello Nordic Community,

I am using nRF52840 SDK 17.0.2.

I took examples\ble_peripheral\ble_app_beacon as reference and created mBeacon profile.

Then I created three different handler using timer.

First is beacon timer handler which starts advertising at every 20 second.

Second is sampling timer handler which occurs at every 60 second period and measures sensor values also updates these values in advertising.

Third is logging timer handler which logs sensor data on UART at every 60 second time period.

everything is working continuously for 58 minutes after that it shows "unknown function at 0x00000A60".

I haven't used and debug point in code. Debug is used for RTT logs only.

Can you tell me what is wrong going here?

Thanks in advance

Nikunj P. 

Parents
  • Hi,

    Where do you see "unknown function at 0x00000A60"? If suddenly execution moves to somewhere invalid (I am not sure yet if that is the case), then it would indicate a memory corruption caused by for instance overwriting a pointer, stack overflow, etc. If this consistently happens after 58 minutes you should look at the code you regularly call, and see if that can have such an effect. I can look at it if you upload it here.

Reply
  • Hi,

    Where do you see "unknown function at 0x00000A60"? If suddenly execution moves to somewhere invalid (I am not sure yet if that is the case), then it would indicate a memory corruption caused by for instance overwriting a pointer, stack overflow, etc. If this consistently happens after 58 minutes you should look at the code you regularly call, and see if that can have such an effect. I can look at it if you upload it here.

Children
Related