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 Reply
  • Hi,

    To be honest the code is so large that it is difficult to spot any issue by simply browsing it. As this happens consistently for 58 minutes, and then fails, there must be something related to a task that is done regularly. Perhaps an overflow or something else that suddenly cause problems after x iterations. Can you try to comment out as much as possible while still being able to trigger the issue, so that there is a smaller piece of code to inspect? What I would be looking for first would be something that could cause memory corruption like tack overflow, write to array out of bond, dangling pointer, etc., as indicated in my initial reply.

Children
Related