hi, everyone:
I want to use the experimental_bootloader_secure_serial to update firmware with UART, disable the hardware flow control.
how to reset system when application, which document can be refered?
hi, everyone:
I want to use the experimental_bootloader_secure_serial to update firmware with UART, disable the hardware flow control.
how to reset system when application, which document can be refered?
For resetting the device into bootloader mode, use the function "ble_dfu_buttonless_bootloader_start_finalize" in ble_dfu.c. A call to this function is the final step in handling the buttonless operation on the BLE implementation. You should probably copy only this one function over, since the rest of the file is BLE specific.
To run the serial DFU bootloader without hardware flow control, you will need to run it at a very low baud rate. 9600 baud seems to work for us without any issues. This will mean that updates take a bit longer, but if you do not have the extra pins for hardware flow control this is the only solution.
Best regards,
Rune Holmgren
refer to the website about Experimental: Serial Secure DFU Bootloader:
but I still don't kown how to generate the hex file, according to our sdk13.0.0.4, we need more document to understand it. maybe a example otherwise, it will reduce developer speed.
refer to the website about Experimental: Serial Secure DFU Bootloader:
but I still don't kown how to generate the hex file, according to our sdk13.0.0.4, we need more document to understand it. maybe a example otherwise, it will reduce developer speed.
Your link goes to the base of the SDK documentation, so I am not sure which documentation page you were intending to refer to.
Which hex file are you wondering about? The bootloader hex is created by compiling the bootloader. The application hex is created by compiling the application. The settings page hex is created by nrfutil by following the nrfutil documentation. The SoftDevice hex is supplied ready to use by Nordic Semiconductor.
Best regards,
Rune Holmgren