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

MCP - Firmware upload - timeout waiting for START

Hello, I tried to do DFU using MCP 3.10.0.14 and I'm getting the error:

"Error during firmware upload. Timeout while waiting for response for START DFU"

How do I increase timeout in MCP??

It seems to happen when I try to upload bigger firmware.

Parents
  • Thank you for tip. But I started from standard example (examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm5_no_packs\dfu_dual_bank_ble_s132_pca10040.uvprojx) and I did not touch the speed. It was set to fairly fast:

    MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS))           
    MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(30, UNIT_1_25_MS))  
    

    I tried to set 7.5 and 15. And the error is same.

    Also it seems the error is before programming starts - so I assume what takes really long is erasing 360KB of Flash.. I think this is the bottle neck on FW side and it is in flash which is fixed...

Reply
  • Thank you for tip. But I started from standard example (examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm5_no_packs\dfu_dual_bank_ble_s132_pca10040.uvprojx) and I did not touch the speed. It was set to fairly fast:

    MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS))           
    MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(30, UNIT_1_25_MS))  
    

    I tried to set 7.5 and 15. And the error is same.

    Also it seems the error is before programming starts - so I assume what takes really long is erasing 360KB of Flash.. I think this is the bottle neck on FW side and it is in flash which is fixed...

Children
No Data
Related