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

About the device_firmware_updates project

Hi,

I'm knowing the device_firmware_updates project in SDK and I want to know whether I need to program the softdevice when I do the device firmware updates over UART?

I have read the help document of nRFgo Studio and do as the serial bootloader say,but I can update the firmware over the UART.Could I just use the nRFgo Studio to do it?

Must I do it by the command line?If it does,could you tell me how to do it?I cann't understand well by reading the readme.txt in hci_dfu_send_hex folder.

thanks

Is there anyone master that can answer my question?Or give me some advice?It seems that the DFU cann't be done by UART

  • Hi Angenla,

    By default, the bootloader work with softdevice installed. There are some modification needed if you don't plan to have the softdevice.

    To use the DFU via UART you would need to:

    • Flash the softdevice
    • Flash the bootloader using KEIL (via nrfjprog) or nRFGo Studio
    • Follow the instruction in the readme.txt.
    • Note that flow control is used, so you would need to use the hci_dfu_send_hex with -fc option. And have to connect the flow control pins on the board. On the nRF6310 the RTS and CTS pin are marked as for the PC side. So it's reversed when connect to the nRF51822 pins.
  • Hi Hung Bui,

    Could you tell me how to do the modification if I don't want to have the softdevice?Because we have some product havn't use the softdevice.Thanks.

    I also try to use use the DFU via UAR(have softdevice):

    • Flash the softdevice
    • Flash the bootloader using nRFGo Studio
    • Fflow control is used and use the default baud rate,

    Then I can see the LED1 is lighted.I put the *.hex document at C:\NewFirmware and load it via nRFgo Studio.But it cann't update the firmware and stay at the status all the time(as attached).

    Besides,I also use the CMD to do it:hci_dfu_send_hex.exe -f C:\NewFirmware\ble_app_hrs.hex -p COM 1 -fc -b 38400. But I still cann't update the firmware.

    Could you give me some advice?Thanks.

    Look forward to your reply.Thanks.

    1.jpg

    2.jpg

  • @Alice: To avoid hijaking this thread from Angela, I suggest we continue on the thread you created.

  • Is it possible to compile with "APP_UART_FLOW_CONTROL_DISABLED" so that RTS and CTS are not required? The "-fc" option then can be removed.

Related