7 Replies Latest reply on Oct 20, 2020 11:28 PM by YashwantK_46

    FX3 series: Reset your device

    bime_4763896

      Hi,

      Getting Please Reset your device to download firmware..

      Unable to upload image in CYUSB3014 controller.

       

      regards,

      Bipin

        • 1. Re: FX3 series: Reset your device
          YashwantK_46

          Hello Bipin,

           

          Please share a snapshot of the control center when you get the error.

           

          FX3 can be programmed from control center application when the PMODE = Z11 or F11. Please confirm the PMODE values.

           

          Also, can you let me know if you are using the FX3 SuperSpeed Explorer Kit or a custom board?

           

          Regards,

          Yashwant

          • 2. Re: FX3 series: Reset your device
            bime_4763896

            Hello,

            Screenshot of error.

            Error_notification.JPG

             

            I checked my PMODE values in my case it is F1F .

            I am using custom board.

             

            Regards,

            Bipin

            • 3. Re: FX3 series: Reset your device
              YashwantK_46

              Hello Bipin,

               

              FX3 can only be programmed using Control Center when the device enumerates a "Cypress FX3 USB Bootloader Device".


              Since the device is set to F1F: I2C on Failure, USB boot enabled, you would need to make sure the device falls back to the USB and not boot from the I2C EEPROM

               

              Is it possible to change the PMODE lines physically on board to boot to USB?

               

              If not, can you let me know if you have added any method to access the I2C EEPROM in the already programmed firmware in the EEPROM (I2C writes or reads)?

               

              Regards,

              Yashwant

              • 4. Re: FX3 series: Reset your device
                bime_4763896

                Hello Yeshwant,

                Yes it is Possible to change the PMODE lines physically on board.

                I have added one extra controller to access I2C EEPROM.

                 

                Regards,

                Bipin

                • 5. Re: FX3 series: Reset your device
                  YashwantK_46

                  Hi Bipin,

                   

                  Since the PMODE can be changed, please change the PMODE to "F11" and connect the board to the PC.

                  The board will enumerate as "Cypress USB FX3 Bootloader Device" and you can then program either to the RAM or I2C EEPROM accordingly.

                   

                  "I have added one extra controller to access I2C EEPROM."

                  => Also, if in case there was no way to change the PMODE lines physically and since there is a controller on the I2C bus, you can corrupt the first two bytes in ASCII "43 59" of the I2C EEPROM which consists of "CY" as the first two bytes to make the device fall back to USB (when PMODE is set to F1F).

                  The FX3 Bootloader checks for the "CY" signature as the first two bytes when booting from I2C EEPROM or SPI FLASH and if it fails to find that "CY" signature, the device will fall back to USB and enumerate as "Cypress USB FX3 Bootloader Device" and you can then program the board again.

                   

                   

                  Regards,

                  Yashwant

                  1 of 1 people found this helpful
                  • 6. Re: FX3 series: Reset your device
                    bime_4763896

                    Hello Yeshwant,

                    Thank you for your reply. solved the problem of reset the device.

                    I have problem in debug of code as am booting from EEPROM am not understanding how to debug the code.

                     

                    Regards,

                    Aniket

                    • 7. Re: FX3 series: Reset your device
                      YashwantK_46

                      Hello Aniket,

                       

                      Happy to hear that the issue is resolved.

                       

                      "I have problem in debug of code as am booting from EEPROM am not understanding how to debug the code."

                      => Since it is not a continuation of the original thread, you can create another thread and a Cypress engineer will assist in resolving the issue.

                       

                      Regards,

                      Yashwant