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 also meet this: pstorage_raw_store() returned NO_MEMORY. When I use Mac mini to OTA nRF51822.It return this error, but it not return erro if I use ipod touch whith nRF tool box. if I increase MIN_CONN_INTERVAL to 25ms, MAX_CONN_INTERVAL to 30ms, FIRST_CONN_PARAMS-PDATE_DELAY to 500ms, NEXT_CONN_PARAMS_UPDATE_DELAY to 800, it will work OK. Maybe this could help you.

Reply
  • I also meet this: pstorage_raw_store() returned NO_MEMORY. When I use Mac mini to OTA nRF51822.It return this error, but it not return erro if I use ipod touch whith nRF tool box. if I increase MIN_CONN_INTERVAL to 25ms, MAX_CONN_INTERVAL to 30ms, FIRST_CONN_PARAMS-PDATE_DELAY to 500ms, NEXT_CONN_PARAMS_UPDATE_DELAY to 800, it will work OK. Maybe this could help you.

Children
Related