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

How to change SDK_13.0.0.4 projects in order to use s140_nrf52840_5.0.0-3.alpha

I'm using SDK nRF5_SDK_13.0.0_04a0bfd and compiling the example ble_peripheral/ble_app_hrs/pca10056/s140/armgcc using Eclipse Mars 2.

Flashing softdevice s140_nrf52840_5.0.0-2.alpha supplied with the SDK and then loading the compiled app works fine (light blinking and device advertising), but I need to use the new s140_nrf52840_5.0.0-3.alpha softdevice in order to test the long range functionality.

I have updated my linker script memory locations in the project from the original:

FLASH (rx) : ORIGIN = 0x22000, LENGTH = 0xde000

RAM (rwx) : ORIGIN = 0x20002620, LENGTH = 0x3d9e0

to:

FLASH (rx) : ORIGIN = 0x24000, LENGTH = 0xdc000

RAM (rwx) : ORIGIN = 0x20002620, LENGTH = 0x3d9e0

I left the RAM the same since the release notes did not indicate an increase in RAM requirement.

After I flash the new softdevice using nRFGo Studio, and then the app, the app wont start up.

What else do I need to change to make this example work with the latest -3.alpha softdevice?

Related