3 Replies Latest reply on Sep 22, 2020 3:52 AM by MallikaK_41

    Can't upgrade CYPD3171 Firmware

    AhRa_4690531

      Hello,
      I am stuck with two different problems with the configuration utility and can't update any firmware on the CYPD3171 chip because of them

       

      The first one:
      when choosing read from firmware file option (ctrl+shift+o) and choose the default "CYPD3171-24LQXQ_cla_config.cyacd" or any other ".cyacd" file, i get the error  "Error: CYACD file does not contain configuration"

      The second error:
      When connecting CY4532 kit to program the CYPD chip and go through "Tools --> Firmware update" and select the "CYPD3171-24LQXQ_cla_config.cyacd" file the upload gets to 30% and then i get this error message:

       

       

      PD contract established.

      Restarting the target device

      Re-negotiating PD contract after switching target reset

      PD contract established.

      Error: Invalid input file.

      Error: Failed to read from file (C:\Users\hi\Desktop\CYPD3171-24LQXQ_cla_config.cyacd)

      Device is in boot mode: Starting FLASH update operation

      Error: The file/path provided does not appear to exist

      Error: Failed to read from file ()

      Device is in boot mode: Starting FLASH update operation

      Error: Failed to find valid firmware file for update

      Error: Flash update procedure failed

      Error: DLL call returned error while flashing

       

      and sometimes the error at displayed at 99% of the download process and the cypd3171 does not show up ( only 1 device is detected instead of 2 ) so then i have to replace the chip and try to program it again

       

      Note : i replaced the chip correctly many times and the software detects 2 devices before software download

       

       

      Power SDK Version 3.4

      Configuration utility version 3.1

       

      So in a nutshell: i can't open ".cyacd" files from the "read from firmware" option, and i can't update the cypd-3171 software as the download stops due to the mentioned error at 30%, or the download completes to 99% and then stops and the cypd chip doesn't get recognized after that

       

       

       

       

       

       

       

       

       

       

       

        • 1. Re: Can't upgrade CYPD3171 Firmware
          MallikaK_41

          Hi,

           

          For the first one, please try reading the default HEX or CYACD firmware provided with the EZ-PD CCGx Power SDK Binaries- EZ-PD CCGx Power SDK\CCGx\Firmware\binaries\CYPD3171-24LQXQ_cla\CYPD3171-24LQXQ_cla_3_4_0_2274_0_0_0_pa.hex and verify if you are able to read the default SDK configuration.

           

          For the second error, please try programming the default CYACD file: EZ-PD CCGx Power SDK\CCGx\Firmware\binaries\CYPD3171-24LQXQ_cla\CYPD3171-24LQXQ_cla_3_4_0_2274_0_0_0_pa.cyacd.

           

          Please try the above mentioned steps and let me know the results.

           

          Best Regards,

          Mallika

          1 of 1 people found this helpful
          • 2. Re: Can't upgrade CYPD3171 Firmware
            AhRa_4690531

            Thanks for your reply,
            For the first issue: Your solution solved it and i'm able to open the .hex file
            For the second issue: The download stopped at 99% and gave the popup message in the picture and the following error log:

             

             

            PD contract established.

            Restarting the target device

            Re-negotiating PD contract after switching target reset

            PD contract established.

            Device is in boot mode: Starting FLASH update operation

            Programming data from file: C:\Program Files (x86)\Cypress\EZ-PD CCGx Power SDK\CCGx\Firmware\binaries\CYPD3171-24LQXQ_cla\CYPD3171-24LQXQ_cla_3_4_0_2274_0_0_0_pa.cyacd

            Firmware/Configuration write to flash completed

            Firmware image (FW:1) is valid

            Restarting the target device

            Re-negotiating PD contract after switching target reset

            Error: PD contract not established after RESET

            Error: Flash update procedure failed

            Error: DLL call returned error while flashing

             

            Then only one device is discovered instead of 2 as before
            ERROR2.png

            • 3. Re: Can't upgrade CYPD3171 Firmware
              MallikaK_41

              Hi,

               

              For both the issues, reading/updating firmware were failing initially because you were using the config cyacd files. For reading from firmware and updating firmware through the EZ PD Configuration Utility, you should use CYACD files of the form CYPD3171-24LQXQ_<version>_pa.cyacd, i.e. the firmware binary for application without bootloader. CYPD3171-24LQXQ_config.cyacd is the binary file only for configuration.

               

              For the second issue,

              >> Please see Page 29 (Table 4-2) of the CY4532 Kit Guide:-

              " This is expected if the new firmware is of different application than the previous one, as the jumpers J2, J3, and J4 on the main board are set for previous application."

               

              Please refer to this FAQs https://community.cypress.com/docs/DOC-17219 to identify if the kit functionality is PA or PB?

               

              Best Regards,

              Mallika

              1 of 1 people found this helpful