This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why is my DFU update crashing?

Hello,

I tried to get the bootloader dfu example with the S110 8.0 and the latest 8.0.0 SDK running but ran into tons of issues. The packet handling with KEIL is just insane so I ended up copying the files and writing the includes myself. After a while, I ended up getting the bootloader to run, but it is crashing somewhere inbetween while receiving the new firmware image. I am using the hrs_8.0_s110 zip file:

[..\..\..\bootloader_dfu\dfu_transport_ble.c @933]: Ble event 1
[..\..\..\ble_dfu\ble_dfu.c @533]: ble event in dfu
[..\..\..\bootloader_dfu\dfu_transport_ble.c @933]: Ble event 80
[..\..\..\ble_dfu\ble_dfu.c @533]: ble event in dfu
[..\..\..\ble_dfu\ble_dfu.c @549]: write
[..\..\..\bootloader_dfu\dfu_transport_ble.c @933]: Ble event 80
[..\..\..\ble_dfu\ble_dfu.c @533]: ble event in dfu
[..\..\..\ble_dfu\ble_dfu.c @549]: write
[..\..\..\bootloader_dfu\dfu_transport_ble.c @933]: Ble event 1
[..\..\..\ble_dfu\ble_dfu.c @533]: ble event in dfu
[..\..\..\bootloader_dfu\dfu_transport_ble.c @933]: Ble event 81
[..\..\..\ble_dfu\ble_dfu.c @533]: ble event in dfu
[..\..\..\ble_dfu\ble_dfu.c @558]: authorize
[..\..\..\bootloader_dfu\dfu_dual_bank.c @676]: dfu reset

The iOS app just returns an error that says that the operation failed, the android app returns error code 6, DFU update failed.

Related