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
  • Thanks for the answer. I've tried to use serial bootloader but it doesn't work in my board (I modified the UART pins). I debug the bootloader and it seems that is executing fine (except that the LED is not turning on), but when I execute and I try to send the hex file, I get "Transmission timeout. Ack out of sequence, or no ack returned". I made it work once but I don't know what I changed, but now it's impossible to make it work again. I will try to store the new image on the NRF51 flash, but I don't know if storing the .hex image directly to the flash is enough to the bootloader or I have to transform to anything else.

Reply
  • Thanks for the answer. I've tried to use serial bootloader but it doesn't work in my board (I modified the UART pins). I debug the bootloader and it seems that is executing fine (except that the LED is not turning on), but when I execute and I try to send the hex file, I get "Transmission timeout. Ack out of sequence, or no ack returned". I made it work once but I don't know what I changed, but now it's impossible to make it work again. I will try to store the new image on the NRF51 flash, but I don't know if storing the .hex image directly to the flash is enough to the bootloader or I have to transform to anything else.

Children
No Data
Related