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

ble_uart_app for 113 Soft Device on nrf52811

We are trying to get the ble_app_uart project to run on an nRF52811 using Soft Device 113, since our application will require the LE Data Packet Length Extension. We started with the 10056e project for the s112 soft device and modified it to point to the s113 headers and Soft Device as appropriate, and removed the necessary macro definitions ans described here: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Flib_dfu_transport.html&cp=5_1_3_5_2

We are able to compile and link the project but cannot load it to the nrf52840 DK board. We are receiving the following error from Segger Embedded Studio: "cannot download multiple load files because they overlap". We are guessing that the memory map for the s113 Soft Device is different than the s112, but can't seem to find the information needed to make this work.

Can you provide this information and/or let us know what else we are possibly doing wrong?

Best regards,

Drew

Parents
  • Hi Drew,

    s113 is a bit bigger because of the data length extension support. s113 v7 ends at address 0x1C000 compared to 0x19000 for s112 v7.  So to avoid the overlap you need to update the application's start address in the project settings as shown below.

    Also, in case you're using SDK 15.3.0, note that s113 support was added in SDK 16.0.0. You can use s113 with SDK 15.3.0 but it may require you to make some minor changes to existing SDK modules. For instance, adding checks for the 'S113' symbol similar to the 'S112' checks in your existing code.

    Best regards,

    Vidar 

  • Thank you Vidar. This worked, but in addition I needed to modify the RAM_START address as well. The correct size was output on the RTT, but I was not able to capture it. 

    Drew

Reply Children
Related