2 Replies Latest reply on Sep 17, 2019 5:57 PM by AdHi_2630466

    How to speed up firmware updating? Lowering image size?

    AdHi_2630466

      Hi All,

       

      I'm working on a custom DFU project with CY8CPROTO-063-BLE, based on the External Memory example, except it uses the internal flash for storag.
      I'm using a Generic HID interface over BT and my custom host sending the .cyacd2 file.

       

      The 512bytes of rows are transferred through 5 SendData(Without Response) commands and 1 ProgramData commands, since the largest HID report size I could get working is 128bytes.

       

      I noticed that the .cyacd2 file is generated for the whole application flash area (~480kB), with many empty rows containing 0's. Is there a way to skip these rows and not generate empty transfers? I feel it would speed up the updating process significantly.

       

      Also, I have tried to increase the HID report size from 128bytes to 192, 256, in an attempt to reduce the number of SendData commands. Unfortunately the transfers stop going through and I'm trying to figure out why they don't work. Has anyone tried this before or have any pointers to look at?

       

      Any help is much appreciated!