- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir,
After power on,Why CyU3PGpifLoad failed?
Log is below
CyFx3UvcIoMatrixReInit:Cfg1 = 0x410, Cfg = 0x510
CyFx3UvcInitGpifSm: CyU3PPibInit Success
CyFx3UvcInitGpifSm: CyU3PGpifLoad failed, error code = 0x46
CyFx3UvcAppInit:Not Super speed enumeration with MUX_SEL low. Fllipping Mux to try again
FX3 UVC App init complete
CyFx3UvcAppUSBEventCB: Default USB evtype = 6
CyFx3UvcAppUSBEventCB: Detected HS USB Connection
Rcvd suspend evt
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please share the snapshot of the implementation of the API CyFx3DevIdentifyPart() in your custom project for us to check.
Also, from your schematics, I find that the PMODE[2:0] can be either 011 or 111. However, for USB boot it should be Z11 and for SPI boot, it should be 0Z1. Please change the PMODE[2:0] connections and let us know if you are still facing this difficulty.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let me know which device is used for testing. Is it FX3S/FX3/CX3?
The error 0x46 occurs when a 32 bit GPIF configuration is being used on a part that does not support this. Also, can you please share the .h file generated by the GPIF II designer for us to check?
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for confirming the device used in the design. Can you please let us know the exact part number used? Also, is it possible for you to share the complete project for us to check?
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
If the part number used is CYUSB3014, then the API CyU3PGpifLoad() should not fail with error code 0x46. We have tested your project on Superspeed Explorer kit and ECP5 Kit. We did not find the API CyU3PGpifLoad() failing at our end. Please refer to the snapshot below:
Please confirm that you are the latest version of FX3 SDK (1.3.4) for development. Also, please try programming the device with the SDK example project gpiftousb and let us know if the API CyU3PGpifLoad() is failing there also or not. The example project can be found in the following location after downloading FX3 SDK:
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\basic_examples\cyfxgpiftousb
In addition to this, please use the API CyFx3DevIdentifyPart() in your custom project before calling the API CyU3PGpifLoad() and print the return value. More information on CyFx3DevIdentifyPart() can be found in the document FX3 API guide which comes along with FX3 SDK. Please share the UART logs after getting this information printed.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,Jayakrishna
I am sure the SDK is 1.3.4 as below ..define in cx3_build_config.mak
Then after program gpiftousb to fx3 ram , there are no log print. Then I try to chang to IO config as below.
Here is the print log ,
Back to FX3_ECP5_RDK project,
Get IDpart by API t CyFx3DevIdentifyPart() ,status = 0x9 , means CYPART_USB3031 ?
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please share the snapshot of the implementation of the API CyFx3DevIdentifyPart() in your custom project for us to check.
Also, from your schematics, I find that the PMODE[2:0] can be either 011 or 111. However, for USB boot it should be Z11 and for SPI boot, it should be 0Z1. Please change the PMODE[2:0] connections and let us know if you are still facing this difficulty.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Jayakrishna,
Here is the snapshot of code ,
Then I change the PMODE[2:0] = Z11 , It is OK!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We are glad to hear that the issue is resolved!!
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Jayakrishna, Thanks for your reply to help me resolved this problem!!! By the way, in this case, I was perplexed by another question . Why the usb connection type cannot be identified as Super speed enumeration. Here is print log.
After I start up OBS, CyFx3UvcAppUSBEventCB is CY_U3P_USB_EVENT_SOF_ITP , I think it should be USB 3.0 link. The print log is showed below.
Best Regards,
George Luo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I find that the query mentioned in your last response is a new query and not related to the original discussion. Please create a new thread for the new query so that other community members can also get the benefit out of it.
Jayakrishna