3 Replies Latest reply on Apr 27, 2019 4:58 AM by PY_21

    Problems with files generated by Boot Loader tools

    pecac_2848376

      I'm implementing a bootloader on a CY8C29466. It uses the BootLdrI2C user module and I'm following the sequence in the user module datasheet.

       

      I've successfully compiled the project and the BootLoader tools say I have a valid hex file checksum. I then generate the .txt and .dld download files using the Boot Loader tools.

       

      If I use the Host Download utility I get this.

      And if I use the I2C bootloader utility in the Bridge Control Panel I get this

       

      If I view the .txt file I see this (my line numbers, this is some way down the file)

       

      1     w 00 2B 2B FF 39 00 01 02 03 04 05 06 07 00 40 00 00 00 00 p

      2     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 p

      3     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 p

      4     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 p

      5     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 09 4

      6      p

      7     r 00 x x x p

      8     w 00 2B 2B FF 39 00 01 02 03 04 05 06 07 00 41 00 00 00 00 p

      9     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 p

      10     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 p

      11     w 00 2B 2B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 p

      12     w 00 2B 2B 4A 7C 70 EF 62 00 00 71 10 62 00 8F F9 87 p

      13     r 00 x x x p

       

      If I edit the erroneous p on line 6 and put it at the end of the previous line it all works.

       

      So it looks to me as if the generation of the programming files is going wrong. Has anybody seen this before or got any ideas?

       

      Thanks