nrf52833 USB DFU Problem to download file hash check

chip : nrf52833
softdevice : s140 nrf52 7.2.0
IDE : IAR
OS : windows 10

I try to USB DFU in nrf52833

I'm using secure bootloader base on secure bootloader example and success to DFU by button less BLE DFU.

And then, I try to USB DFU and added my application USB CDC ACM and USB DFU Trigger Class.

I think virtual comport is fine.

And added USB DFU function to following open bootloader usb.

Try to USB DFU by nrfutil, it works download dfu file. Checked by -vvvv option and first 5 hex values and last 5 hex values are exactly same.
The progress bar going to 95 percent, and then failed.

Debugging the bootloader, hash value is not same calculated hash and init packet hash.

I can't debugging my bootloader with optimize option NONE. It makes hard fault.
In optimize option high, downloaded file value is looks like 0xff.

How can I fix it??

Parents Reply Children
No Data
Related