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

Download S132 v5.0.0 with SDK's 14.0.0 BLE example

I've been unsuccessfully attempting to download and execute a BLE example on a nRF52832, and I could not succeeded probably due to false alignment of Soft device's and application's memory. I use the following components:

  1. SDK - 14.0.0 ble_app_hrs_c_pca10040_s132_uart example
  2. Soft Device - S130 v5.0.0
  3. nRF52832 PCA 10040
  4. Program and Debug - IAR 7.80.1

Following the documentation on memory resource requirements, the Soft Device should start from address 0x1000 and the application should start from address 0x23000. However, I've examined the s132_nrf52_5.0.0_softdevice.hex file and found that it's data ends up in 0x224A7 address.

The IAR allow to compile and download both components to the nRF52, while during execution the program fails on the first BLE related function - ble_stack_init(). Attempting to program the nRF52 using the nRFgo studio, when first programming the Soft Device it will fail to program the application due to memory overlap.

I've searched the forum for any related problems and found little reference to SDK14.0.0 with S132 and BLE example. If someone encountered with this issue, or has any suggestions please advice me in this matter.

Thanks in advance

Parents Reply Children
No Data
Related