Hi,I'am try to update the bootloader. But it stop at 1%. I don't what I miss.
Hi,I'am try to update the bootloader. But it stop at 1%. I don't what I miss.
Hung,I have upload the bootloader hex file.
Hi James,
From SDK v7.0 the init packet is required. So you would need either to provide the .dat file (as showed in the app after you select the .hex) or you need to generate and provide the .zip file. I would suggest to use the .zip file (can be generated by nrfutil.exe) .
You can read more about different version of the DFU bootloader here.
Hi Hung: I'm sorry.I had read the link,but I can't follow it.Where can I find the .dat file? And I can use the nrfutil.exe to change the bootloader.hex into Zip file? I use the C:\Program Files\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf to change the application.hex into Zip.
Yes, you can use nrfutil.exe (or nrf.exe for earlier MasterControlPanel version) to generate .zip file from the bootloader.hex. It's pretty complex to make the .dat and it's not recommended. So I think it's better to let the nrfutil.exe do the task. You can use a command like this:
nrfutil.exe dfu genpkg bootloader.zip --bootloader yourbootloader.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
Thanks Hung, I will try it.