1 2 Previous Next 22 Replies Latest reply on Jul 21, 2018 3:00 AM by gean_3054931 Go to original post
      • 15. Re: fx2lp with c0 load
        SrinathS_16

        Hello Geetha,

         

        When the Program -> FX2 -> Small EEPROM is chosen from the Cypress USB Control Center, the host issues a vendor command 0xA2 to load the contents into the small EEPROM, which should be a 8-byte addressable EEPROM.

         

        So, to overcome this, instead of issuing the vendor command 0xA2, the host should issue the vendor command 0xA9 which would load the contents into the large EEPROM, i.e 16-byte addressable EEPROM.

         

        The modification can be done in the function block private bool LoadEpromIIC() which is part of the CyUSB.dll file. This function is present in the CyFX2Device.cs file.

         

        Modify the below statement

         

        ControlEndPt.ReqCode = isLargeEEprom ? (byte)0xA9 : (byte)0xA2;

         

        to

         

        ControlEndPt.ReqCode = 0xA9;

         

        After performing this change, the CyUSB.dll file has to be built. This can be used along with the Control Center to perform data transfers to the 16-byte addressable EEPROM.

         

        Best regards,

        Srinath S

        1 of 1 people found this helpful
        • 16. Re: fx2lp with c0 load
          gean_3054931

          Hello Shrinath,

          How can i modify Cyusb.dll ?

           

          regards.

          geetha.

          • 17. Re: fx2lp with c0 load
            SrinathS_16

            Hello Geetha,

             

            The CyUSB.DLL source file is present as part of the CYUSB3_USB_Suite_Source which can be obtained from the below link,

            www.cypress.com/file/289981/download

             

            Best regards,

            Srinath S

            1 of 1 people found this helpful
            • 18. Re: fx2lp with c0 load
              gean_3054931

              Hello shrinath,

              I am not able to rebuild the cyusb.dll.

              can you modify and send it over here.

               

              regards,

              geetha.

              • 19. Re: fx2lp with c0 load
                SrinathS_16

                Hello Geethanjali,

                 

                I have attached the modified CyUSB.DLL file. Kindly, use this in place of the existing DLL which is being used by the USB Control Center.

                 

                Please note that this CyUSB.DLL file is only a temporary fix that is suitable only for your issue. Please revert back to the original CyUSB.DLL after the EEPROM has been recovered.

                 

                Best regards,

                Srinath S

                1 of 1 people found this helpful
                • 20. Re: fx2lp with c0 load
                  gean_3054931

                  Hello shrinath,

                  programming is successfull(program->fx2->small eeprom).still it is showing fx2lp with no eeprom.

                  thanks for your support.

                  can i use this board to ease another board eeprom?

                   

                  regards,

                  geetha.8bytes.bmp

                  1 of 1 people found this helpful
                  • 21. Re: fx2lp with c0 load
                    SrinathS_16

                    Hello Geethanjali,

                     

                    - Reset the board and check if the device comes up with a new VID/PID instead of the boot-loader VID/PID.

                    - Yes, this EEPROM can now be used to recover the other EEPROMs. Connect the EEPROM with 8bytes onto the address 000 along with the corrupted large EEPROM. Once the FX2LP enumerates, the Control Center can be used to program the large EEPROM.

                     

                    Best regards,

                    Srinath S

                    1 of 1 people found this helpful
                    • 22. Re: fx2lp with c0 load
                      gean_3054931

                      Hello shrinath,

                      this is the pid and vid.

                       

                      regards,

                      geetha.vidpid.bmp

                      1 2 Previous Next