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

Update firmware from flash

Hi all,

I'm using nrf51822, sdk 6.1 and s110 v7.1.

My idea is to use the GPRS module of my board to receive the new firmware (the module works with UART), save it to the flash(if it's needed) and then update firmware to the new one. How is the best way to do this? Which example can I use? I'm very familiar with OTA firmware update but in this case I don't know how to start.

Thanks in advance,

Aida

Parents
  • Hi,

    Yes, the UART works properly, I use it with an application and there' s no problem. In the code of serial bootloader I've created a custom_board.h with the board pins in order to use the led and UART but it seems that there's any problem because the led never turns on. Are there anything that is needed to do for a correct compilation or a correct programming of the hci bootloader? With BLE bootloader I've never had any problem.

    Answering your question: I don't have an extra MCU on the GPRS module.

    If I send directly the binary image, is it possible to verify the integrity of the image? the CRCs are included in the binary? Where can I find some kind of example? I know the process of swapping: first check application in bank1, then erase bank0 and copy the application of bank1 to bank0, but when I want to search the functions in bootloader to do this, I get a little bit lost.

Reply
  • Hi,

    Yes, the UART works properly, I use it with an application and there' s no problem. In the code of serial bootloader I've created a custom_board.h with the board pins in order to use the led and UART but it seems that there's any problem because the led never turns on. Are there anything that is needed to do for a correct compilation or a correct programming of the hci bootloader? With BLE bootloader I've never had any problem.

    Answering your question: I don't have an extra MCU on the GPRS module.

    If I send directly the binary image, is it possible to verify the integrity of the image? the CRCs are included in the binary? Where can I find some kind of example? I know the process of swapping: first check application in bank1, then erase bank0 and copy the application of bank1 to bank0, but when I want to search the functions in bootloader to do this, I get a little bit lost.

Children
No Data
Related