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

Modify bootloader address

Hi Sir,

As check below link, we know how to re-write the bootloader address.

https://devzone.nordicsemi.com/f/nordic-q-a/26300/how-to-use-nrfjprog-to-write-uicr-bootloaderaddr 

1. But could we re-write the bootloader address in Application layer?

2. If we program two application image in the flash (example,like one in 0x26000, another in 0x46000)

   Could we jump to difference application address from bootloader?

Thank you.

BRs, Han

Parents
  • Hello,

    When you compile an application and generate a packet using nrfutil the start address of the application is not stored in that packet. It is the bootloader that deals with placing the application in the correct place.

    What SDK version do you use?

    Best regards,

    Edvin

  • Hi Edvin,

    Attached project use "\nrf5_SDK_for_Mesh_v2.1.1_src\examples\seria", the "main.c" only update code for 'jump to 0x46000', others are same as source code.

    Another project use "\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_uart\pca10040\s132\ses", only modify the start address from 0x26000 to 0x46000 in SES.

    Please let me know if needs more information.

    Thank you.

    BRs, Han

  • Hello,

    I wasn't aware that you were talking about the mesh bootloader.

    I received your project. However, I am not able to compile your project. It seems like the src folder is missing, because the compiler can't find any of the files that are located there. I also took the linker and include folder from the serial example, but I suspect you have tried to compact the project. Also, the main.c file was not placed in the missing src folder. Could you also attach the board .h file? the one you use instead of PCA10056.h?

    BR,

    Edvin

Reply
  • Hello,

    I wasn't aware that you were talking about the mesh bootloader.

    I received your project. However, I am not able to compile your project. It seems like the src folder is missing, because the compiler can't find any of the files that are located there. I also took the linker and include folder from the serial example, but I suspect you have tried to compact the project. Also, the main.c file was not placed in the missing src folder. Could you also attach the board .h file? the one you use instead of PCA10056.h?

    BR,

    Edvin

Children
No Data
Related