This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FreeRTOS app and Softdevice runtime fault

Hi,

I have setup the SW project to run run FreeRTOS with BLE stack initialized and nus service started without doing any further BLE use after init in runtime. Sometime I run into a fault seemingly originating from the SD memory area. 

Two cases:

1. Origin address 0x1505E (this case happens more it seems)

2. Origin address 0x17828

In both cases the SEGGER debugger breaks at address 0xA60, and finally if resuming execution, we'll end up in the app fault handler with origin address 0x24c92. This happens in both Debug and Release configurations and can be forced to occur more by pausing and resuming execution repeatedly. This forcing procedure is what I have been doing as preparation for this post. Normally I'm developing with the Debug configuration running and there the error shows up sometimes by itself.

Can you please help me out with what these error conditions mean and how to go about solving them?

// HW

* MCU: nRF52840

* Board: nRF52840 DK

// SW

* nRF SDK 16.0.0 with Softdebvice 7.0.1 (s140_nrf52_7.0.1_softdevice.hex)

* Application started from example ble_app_template, later integrated with FreeRTOS as done in ble_app_hrs_freertos/usbd_ble_uart_freertos.

* FreeRTOS configured to use systick with 1ms tick

* Separate application timer (Timer 1) is used for application "systick"

* We are not putting the chip into sleep mode (always running, no __WFE call) because this application has no such requirement.

* The nRF stack is initialized from one of the application tasks.

* The nRF Device Id can be seen from bluetooth device and connected to without problems.

Parents Reply Children
No Data
Related