3 Replies Latest reply on Oct 24, 2019 12:09 AM by ShifangZ_26

    Unable to program using EZ-PD configuration utility

    MiMo_4023676

      Hello all,

      I have been unable to flash the .cyacd firmware file to the CCG3PA using the EZ-PD configuration utility. From the log below it looks like the problem is that I get "No response to GET_MODE_VDM. Everything up to that point seems OK.

       

      Does anyone know what this error message means? I'm guessing it is something in my FW configuration. But I can't find it.

      thanks in advance -m

       

       

      Entered flashing mode successfully.

      1 HID devices found.

      2 USB-Serial Bridge devices found.

      Flashing device is UFP, initiating DR_SWAP

      DR Swap Successful

      PD contract established.

       

      Device Discovery completed.

      PD contract established.

      Restarting the target device

      Re-negotiating PD contract after switching target reset

      Flashing device is UFP, initiating DR_SWAP

      DR Swap Successful

      PD contract established.

      Error: No response to GET_MODE VDM

      Error: Flash update procedure failed

        • 1. Re: Unable to program using EZ-PD configuration utility
          ShifangZ_26

          Hi ,

           

          CCG3PA CC bootloader is similar process of Alternate Mode. After power negotiation,  DFP will check some information which defined by Cypress CC bootloader. From the message you shows up, the response of GET_MODE VDM is not acked. I would like to recommend you:

          1. Check whether the Firmware on CCG4 (CY4532 base board) is correct.

          2. Make sure CCG3PA have correct power output (5V on VBUS) with bootloader mode.

          3. Make sure the #define CCG_BOOT_LOADER_LAST_ROW  is not changed. If you have changed, you need make sure the Bootloader project and application project have same value.

           

          Best Regards,

          Lisa

          • 2. Re: Unable to program using EZ-PD configuration utility
            MiMo_4023676

            Hi, thanks.

            Where do I find the #define CCG_BOOT_LOADER_LAST_ROW?

            Also, where is the bootloader project referenced in the application project?

             

            thanks,

            m

            • 3. Re: Unable to program using EZ-PD configuration utility
              ShifangZ_26

              Hi m,

               

              I am not sure which firmware example project you are referring to. But all of CCG3PA firmware structure is same, for example, you opened firmware project - CYPD3175-24LQXQ_pa_direct_fb with PSoC Creator IDE (PSoC Creator 4.2).

              The firmware structure is:

              CC bootloader project -- cc_src_boot

              Application project -- CYPD3175-24LQXQ_pa_direct_fb

               

              The #define CCG_BOOT_LOADER_LAST_ROW is defined in the project as below:

              Best Regards,

              Lisa