We currently have a project that requires downloading firmware through 4G and transmitting it to NRF52832 through serial port for DFU. Do you have any relevant routine code for me to refer to?
We currently have a project that requires downloading firmware through 4G and transmitting it to NRF52832 through serial port for DFU. Do you have any relevant routine code for me to refer to?
Hi,
Which SDK version are you using?
What kind of device is doing the 4G and download of the firmware? The official tool from Nordic to perform serial DFU is nrfutil, which is a python-based command line tool.
You can find C-based Serial DFU Master code example developed by my colleague in this tutorial.
Best regards,
Jørgen
I am using SDK 15.2, and I will take a look at this tutorial now. Thanks.
The tutorial says:
The following example made for SDK v14.2 but it should work on SDK v15.x with minor modification.
Did you try SDK 14.2.0?
The project directory should also be placed inside examples\dfu, not inside the secure_bootloader directory.
Ok, I'll try SDK 14.2.
Thanks.
Hi,
Currently, I am able to obtain data from the serial port in BootLoader, but I would like to know what format of data should I transfer if I transfer data through the serial port to NRF52832 for DFU? Is it an upgrade package? Because using BLE DFU requires a ZIP upgrade package.
Hi,
The format and storage location is described in the Documentation for SPI DFU Master in the tutorial: DFU_SPI_readme.docx
The DFU protocol is also documented in our SDK documentation.
Best regards,
Jørgen
Hi,
The format and storage location is described in the Documentation for SPI DFU Master in the tutorial: DFU_SPI_readme.docx
The DFU protocol is also documented in our SDK documentation.
Best regards,
Jørgen