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
  • I would suggest to debug the serial bootloader. You can turn on log to see where it stop. You can also run the bootloader in debug mode to check (you need to turn off optimization )

    Please note that you are using a very old SDK, must be 3 years old. The current SDK is v14.1, the last version of SDK support nRF51 was SDK v12.

    If you are using nrfutil to do DFU, the current nrfutil may not be compatible with older bootloader. You need to use nrfutil v0.3.0.

    If you send the binary image, the CRC need to be separately. In our DFU we send it in the init packet. After you receive the image, you calculate the CRC based on the image and then compare them.

    The bootloader project is quite complex. We need to make sure which bootloader you going to use before go deeper.

Reply
  • I would suggest to debug the serial bootloader. You can turn on log to see where it stop. You can also run the bootloader in debug mode to check (you need to turn off optimization )

    Please note that you are using a very old SDK, must be 3 years old. The current SDK is v14.1, the last version of SDK support nRF51 was SDK v12.

    If you are using nrfutil to do DFU, the current nrfutil may not be compatible with older bootloader. You need to use nrfutil v0.3.0.

    If you send the binary image, the CRC need to be separately. In our DFU we send it in the init packet. After you receive the image, you calculate the CRC based on the image and then compare them.

    The bootloader project is quite complex. We need to make sure which bootloader you going to use before go deeper.

Children
No Data
Related