FOTA update for NRF9160 device via UART

Hai,

I'm facing some difficulties in programming FOTA over UART on the NRF9160 board.

Currently, by using the following command I'm trying to push the bin file via UART but my nrf9160 is not able to process that bin.

mcumgr --conntype=serial --connstring=COM17 image upload app_update.bin

how i tested is?

USB-TTL tx pin to NRF9160 Uart2 rx pin

USB -TTL rx pin to NRF9160 Uart2 tx pin

from TTL com17 i sending bin to Uart2 rx.

Firstly is there any tutorial for doing this process, if yes please share that?

Next is there any additional settings required for the device to process that bin file.

If any knows about this please share the details.

Thanks in advance.

Parents
  • Hi,

     

    I'm facing some difficulties in programming FOTA over UART on the NRF9160 board.

    Currently, by using the following command I'm trying to push the bin file via UART but my nrf9160 is not able to process that bin.

    mcumgr --conntype=serial --connstring=COM17 image upload app_update.bin

    how i tested is?

    USB-TTL tx pin to NRF9160 Uart2 rx pin

    USB -TTL rx pin to NRF9160 Uart2 tx pin

    from TTL com17 i sending bin to Uart2 rx.

    Firstly is there any tutorial for doing this process, if yes please share that?

    Unless you have specified that the uart interface is "uart1" in mcuboot, it will select the uart0 interface.

     

    Here's an example on how to setup mcuboot with serial recovery:

    hello_world_mcuboot_serial_recover.zip

     

    Be sure to change the detection pin to your wanted gpio. You need to hold this down, then reset the board to enter serial recovery mode.

     

    Kind regards,

    Håkon

  • Hai Hakon,

    Is there any tutorial or solution on how to do the File transfer over the air for NRF9160 Instead of UART?

Reply Children
Related