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

Change Softdevice nRF52833

Hi,

I changed the softdevice on the nRF52833 light client example from the S113 to the S140, but the program

hangs at startup before even enter the main loop (catched by vector catch). I adjusted the Flash and RAM regions according the

release notes of the S140 V7.01 + some reserve:

Do I need to additionally change the linker file somehow or the flash_placement.xml?

  • Hello,

    Are you using Segger Embedded Studio?

    Can you try to change the FLASH_START to the same as the softdevice END address? That is, the same as it is set to in the examples that use S140:

    FLASH_START=0x27000
    FLASH_SIZE=0x59000
    RAM_START=0x20002ae8
    RAM_SIZE=0x1d518

    The reason for this is that the nRF will try to start an application that is located at this address, and not some random address a bit higher than that. You should also include the FLASH_SIZE and RAM_SIZE. 

    Also, I suggest that you take a look in your preprocessor defines. You should change the softdevice that you use there as well.

    These are the configurations that I can think of right now, but I actually suggest that you start with the example that uses the S140 softdevice, and then you can just add the files that you have already written.

    Best regards,

    Edvin

  • Thank you, it was indeed the deviation in RAM and Flash Start Address.

Related