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

SoftDevice hard fault while porting to mesh

Using S132 v7.2, I'm getting a hard fault at PC 0x00015810 (I see the flag set in SEGGER, and the console outputs a SOFTDEVICE ASSERT FAILED error) that I'm working on manually tracing. I'm borrowing some code from another project of ours to get this one set up, and so the problem is likely something to do with initial mesh setup and initialization that is then causing the later hard fault. I'm hoping I can get the actual assert error information to better pinpoint the problem, because it's been a bit of a wild goose chase up to now.

Parents Reply
  • Terje, here's a screenshot of the details I pulled from Ozone. I enabled every fault handler that I could that still reproduced the original error (the UNALIGN_TRP is caught several times if I enable it, but the primary HardFault isn't generated), and I find myself a bit confused, because as best as I can tell, I'm getting an unspecified HardFault that's not a Usage, Memory, or BusFault. I'm digging through the refs you just sent - to clarify, this is a project currently using the nRF5 SDK that's being ported to exclusively use mesh. It also includes FreeRTOS, which has definitely complicated things.

    Screenshot of hardFault exception details from Ozone

Children
Related