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

Related