This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU and single_bank mode

Hello,

I want to use DFU with single mode mode. I included in build dfu_single_bank.c instead of dfu_dual_bank.c. But after that DFU device begin to work with errors.

After receive "Receive Firmware Image" command with opcode = 3, it begin to to receive firmware image. Android app configures DFU device to send notification after each 10 packets. But in my case it sends it after 5 packets. Notification data is '10 03 01' that means that operation was successfullly. Then it begin to send this notification after each data packet. Afterwards phone app send Validation command and receive several '10 03 06' commands and one '10 04 02'. '10 03 06' was sent because pstorage_raw_store() returned NO_MEMORY.

Could you help me please?

Regards Artem

Parents
  • I have ran into this issue as well when trying to convert dual bank BLE to single bank BLE. I am actually quite lost on what the issue is after many hours of debugging it. I have now attempted to go back to the 4.2 SDK example where I didn't have to deal with pstorage and upgrade it to 5.1 SDK. I would then try to get single bank working on that version, but I can't even get the bootloader to run on S110 v6.0.0 with the proper sd call changes.

Reply
  • I have ran into this issue as well when trying to convert dual bank BLE to single bank BLE. I am actually quite lost on what the issue is after many hours of debugging it. I have now attempted to go back to the 4.2 SDK example where I didn't have to deal with pstorage and upgrade it to 5.1 SDK. I would then try to get single bank working on that version, but I can't even get the bootloader to run on S110 v6.0.0 with the proper sd call changes.

Children
No Data
Related