3 Replies Latest reply on Dec 13, 2018 1:49 AM by ShifangZ_26

    USB Bootloader for CCG3

    OlEr_1999891

      Hi!

       

      We have our current CCG3 firmware based on the CCG3125 code-base from the EZPD SDK and now we want our device to be able to load new firmware using the USB Boatloader instead. We were thinking on using CYPD3123 so that also the firmware can be loaded using USB and the "Dongle Batch Programmer" at production.

       

      Now, looking at the latest 3.2 SDK release, we dont't see any CYPD3123/CYPID3120 included anymore? We need 3.2 based FW since we use PPS.

       

      Easiest would be if we could take our existing 3125/SDK 3.2 based firmware and change the target device to 3123 but then we need a USB Booatloader firmware binary as well for CYPD3123 to include right?

       

      So I guess the question is:

       

      Steps to change our CCG3125 project to one that uses CYPD3123 hardware and USB Bootloader binary for CYPD3123.

       

      Cheers

      Olof

        • 1. Re: USB Bootloader for CCG3
          ShifangZ_26

          Hi Olof,

           

          The step on my head so far. I need additional days to customize the firmware if you need a example firmware project with details steps.

          1. Open CYPD3123 project. Find out firmware source codes which relates below Marco defines.

          -----------------------------------------------------------------------------------

          /* Enable Billboard support */

          #define CCG_BB_ENABLE                               (1u)

           

          /* Enabling flashing of the device via USB interface. */

          #define FLASHING_MODE_USB_ENABLE                    (1u)

          ------------------------------------------------------------------------------------

          Above define is related with USB billboard and firmware upgrade. You need apply those parts into CYPD3125 notebook project.

           

          2. CYPD3123 project. Find out firmware source codes which relates below Marco defines.

          ------------------------------------------------------------------------------------

          /* Enable HPI support. */

          #define CCG_HPI_ENABLE                              (0u)

           

          /* Enable PD policy registers in HPI. */

          #define CCG_HPI_PD_ENABLE                           (0u)

          ------------------------------------------------------------------------------------

          Above define is related with HPI upgrade. You need comment those parts in CYPD3125 notebook project.

           

          3. The usb boot .hex file and .elf file can get it from CCGx SDK v3.0.2. Update it into bootloadable_1 in CYPD3125 notebook project.

           

          Best Regards,

          Lisa

          • 2. Re: USB Bootloader for CCG3
            OlEr_1999891

            Hi Lisz!

             

            Ok, we have applied the changes and now we only need a usb-boot loader compiled for 3125 so we will until you have compiled one such file for us.

             

            Cheers

            Olof

            • 3. Re: USB Bootloader for CCG3
              ShifangZ_26

              Hi Olof,

               

              You do not need CYPD3125 usb bootloader file. You have already have CYPD3123 usb bootloader file on hands. You just need change part number of application project based on CYPD3125 notebook from CYPD3125 to CYPD3123. And updates bootloadable component is fine.

               

              Best Regards,

              Lisa