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

How I can get a simple to help me understand the DFU procedure that Transfer of a firmware image?


Hi,I want to write the firmware to 52832 from android system by UART .I have readed the firmware
into bytes, and then do not know how to compose the bytes to write into serial port.I will Appreciate
if you can show me a simple!!

Thanks!!
Best Regards!!!

Parents Reply
  • I debugged as follow:

    00> :INFO:Inside main
    00> :DEBUG:In nrf_bootloader_init
    00> :DEBUG:In real nrf_dfu_init
    00> :DEBUG:running nrf_dfu_settings_init
    00> :DEBUG:Enter nrf_dfu_continue
    00> :DEBUG:Valid App
    00> :DEBUG:Application sent bootloader request
    00> :DEBUG:In nrf_dfu_transports_init
    00> :DEBUG:num transports: 1
    00> :DEBUG:UART initialized
    00> :DEBUG:After nrf_dfu_transports_init
    00> :DEBUG:Waiting for events

    It's print same as send command use nRfutil tool from PC. but it has no the print of the SERIAL_DFU_OP_CODE_SET_RECEIPT_NOTIF case :

    case SERIAL_DFU_OP_CODE_SET_RECEIPT_NOTIF:
    NRF_LOG_DEBUG("Set receipt notif\r\n");------------------------ths line.

    I also try to write the bytes of {0x02,0x00,0x00} to trigger it ,but no reponse too.

Children
Related