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

iRAM and iRom settings for SD130 + application + bootloader

Hi all,

I am using the softdevice S130 v2.0.1, plus one application derived by the ble_app_uart and the single bank bootloader (SDK11) on a custom board with the nRF51822.

My application is using the iRAM 0x20002080 to 0x20005ED0 and I saw that the Bootloader by default is using from 0x20002C00 to 0x20008000. They both occupy the same space, so I should change one of them, right?

My question is what should I change? The Bootloader settings or the application settings?

Thank you for the help.

Parents
  • Hi Jorge,

    No, since its either the Application or the Bootloader that will run on the nRF51, they will never run concurrently. During the DFU process the application will pass execution to the Bootloader by performing a reset and in that process the bootloader reset handler will be run, which will load the necessary data to RAM, i.e. overwrite the data placed there by the application. WHen the bootloader is finished it will pass execution to the application and in the process invoke the application reset handler etc.

    Best regards

    Bjørn

Reply
  • Hi Jorge,

    No, since its either the Application or the Bootloader that will run on the nRF51, they will never run concurrently. During the DFU process the application will pass execution to the Bootloader by performing a reset and in that process the bootloader reset handler will be run, which will load the necessary data to RAM, i.e. overwrite the data placed there by the application. WHen the bootloader is finished it will pass execution to the application and in the process invoke the application reset handler etc.

    Best regards

    Bjørn

Children
Related