Unknown function at 0x00000A80

Hi everyone,
i have some problems with firmware and i hope someone can help me.
I am using nRF52840 microcontroller and SEGGER Embedded Studio. Also I'm using the littlefs library (github.com/.../littlefs).
It happens that sometimes (50% of cases) the microcontroller fails and the IDE displays the message "Unknown function at 0x00000A80".
Can anyone explain to me where the problem is?
Could there be a stack or heap overflow?
How do I know what the problem is? The IDE doesn't give me much information.
Thanks.

Parents
  • 0X00000A80 is the hardfault in the softdevice (MBR). 
    There are a lot of threads here discussing this. You should start your application in debugger mode and start to trigger this hardfault so that you can debug the hardfault 

    How do I know what the problem is? The IDE doesn't give me much information.

    If you enable logs, the hardfault handler should normally give the address of the instruction that caused the hardfault. If not, there could be stack corruptions making the exception stack useless to debug. In case of memory corruptions, there is no easy way to debug apart from trying to narrow down the problem in the debugger sessions and adding lot of logs.

Reply
  • 0X00000A80 is the hardfault in the softdevice (MBR). 
    There are a lot of threads here discussing this. You should start your application in debugger mode and start to trigger this hardfault so that you can debug the hardfault 

    How do I know what the problem is? The IDE doesn't give me much information.

    If you enable logs, the hardfault handler should normally give the address of the instruction that caused the hardfault. If not, there could be stack corruptions making the exception stack useless to debug. In case of memory corruptions, there is no easy way to debug apart from trying to narrow down the problem in the debugger sessions and adding lot of logs.

Children
Related