Quantcast
Channel: Cypress Semiconductor - USB - Known Problems and Solutions
Viewing all 153 articles
Browse latest View live

Does 32kHZ clock needed for OV5640 video stream using CX3 firmware

$
0
0

Does 32kHZ clock has any significance with CX3RDK_OV5640 project? As per Hardware user guide of CX3RDK, 32kHz clock is needed for watchdog functionality. But it doesn't seem that watchdog is used with OV5640 project. So please clarify whether 32kHz clock has any significance with this project? If so, please give details.

Regards,

Krishnaraj


MJPEG not supported by CX3 configuration utitlity?

$
0
0

Hi,

I had tried to generate CX3 project using CX3 configuration utility for OV5640 sensor with MJPEG data format. I have setup values for CX3 Receiver configuration tab based on the YUV2 configuration for OV5640. Then generated source using export option of CX3 Configuration - Source tab. This generates the necessary code. But in the generated code, the MIPI CSI data format is displayed as CY_U3p_CSI_DF_YUV422_8_2 even though selected data format is MJPEG.

Below is the part of code generated on CX3 Configuration - Source tab.

#include "cyu3mipicsi.h"

/* OV5640_MJPEG_5M: */

CyU3PMipicsiCfg_t OV5640_MJPEG_5M =

{

    CY_U3P_CSI_DF_YUV422_8_2,  /* CyU3PMipicsiDataFormat_t dataFormat */

    2,           /* uint8_t numDataLanes */

    1,         /* uint8_t pllPrd */

...

}

 

Please let me know whether this tool supports CX3 project creation for MJPEG data format? If so, is the above mentioned part of code is correct? If not, what is the correct value?

 

Regards,

Krishnaraj

 

PSoC Programmer Freezes in Win 7

$
0
0

I'm running Win 7 / PSoc Programmer 3.24.4 and having a lot of trouble using this program.  It starts up fine, even get "powered" and "connected" in the bottom right corner, but otherwise is unresponsive to ANY input, including tabs, radio buttons, and the Close X at the top right.

 

help?

QT GUI fails to compile

$
0
0

When running Cypress/cyusb_linux_1.0.4/install.sh, I get the following error:

main.cpp: In function ‘void update_devlist()’:
main.cpp:132:62: error: invalid conversion from ‘int’ to ‘int* (*)()’ [-fpermissive]
    libusb_error(r, "Error in 'get_active_config_descriptor'");
                                                              ^
main.cpp:73:13: note:   initializing argument 1 of ‘void libusb_error(int* (*)(), const char*)’
 static void libusb_error(int errno, const char *detailedText)
             ^~~~~~~~~~~~
main.cpp: In member function ‘void ControlCenter::on_pb_setAltIf_clicked()’:
main.cpp:315:59: error: invalid conversion from ‘int’ to ‘int* (*)()’ [-fpermissive]
    libusb_error(r2, "Error in setting Alternate Interface");
                                                           ^
.......

Using :

gcc version 6.1.1 20160707 (GCC)

 

cheers

 

CYUSB3KIT-003 configure with USB device

$
0
0

Hello,we had buy an CYUSB3KET-003 Demo, and try to use it for an usb device;But,It seem hard to find the fireware

example about USB Device.

Can I simulate USB Flash Disk with CYUSB3KET-003 ?

Have any fireware example that we can do this simulation ?

How can I do it ? 

Thanks

Installing cypress USB3 problem.

$
0
0

I tried installing the USB3 by following steps and I see the error as here http://imgur.com/a/OHtcI. 

 

Connect H/w
System Settings à Device Manager à Then there should be a unknown Device (as far as I remember its name was “WestBridge”)
Right-Click on the Device à Update Driver Software…
Search driver on the PC à Select Path to: “…\PATH\USB Driver\bin\win7\x64”
Click “Next”

 

Can you please help and give me a clue? The setupapi.dev.log is also attached.

 

 

Nilesh Kokane

 

 

USB Flash Drive

CyUSB .NET application hangs when terminating

$
0
0

We have an application written in C# using the CyUSB.NET library, currently 1.2.2.0. It accesses a custom device with USB 2.0 hi-speed (CyFX2Device), communicating via a bulk endpoint.

When the application is terminated, p.e. by using the Windows Task Manager or using the debugger, the process hangs until we disonnect the USB cable to the device. In the hanging state, a debugger can attach to the process but is unable to break in in order to examine the call stacks.

The expected behavior is that no such hang does occur.

Do you have a suggestion what's going on here, and how this issue can be remedied?
 


Failure of CY7C68013A to connect despite using known good firmware

$
0
0

Hi, We have a new camera interface PCB that uses an FX2LP chip (100 pin version) for communications. Despite checking many times for track errors etc., this board always fails with a 'Invalid device Descriptor' report when booting from its eeprom. It will start OK if the eeprom is empty, but the functional firmware always causes the descriptor problem. The strange thing is that this firmware works fine in an earlier version of the same PCB, but we are unable to discover the physical difference between it and the new one. We have tried extra decoupling of the 3.3v supply, ground links between earth lands, and have replaced the devices several times. Is there anything that we have forgotten to try? Is any particular device pin especially critical?

Any ideas will be very welcome!

Regards,

Terry

USB3.0 FX3 device somtimes enumerates as USB2.0

$
0
0

Sometimes our USB3.0 FX3 device is enumerated as a USB 2.0 instead of USB 3.0. Unpluging and repluging the device normally gets de device to be enumerated in USB 3.0 again as expected. 

We are not experiencing any signal integrity issues once the device is enumerated as USB 3.0 when we perform high bandwidth data transfer.

We are using Intel's USB 3.0 eXtensible controler on Windows 10. We also deactivated USB power management in windows without any effect on the current problematic behavior.

 

Is anyone experiencing a similar issue. 

 

Regards

 

Alexandre

 

CYUSB3035 dose not work

$
0
0

I designed a circuit which used the cypress chip cyusb3035,but when power on,it can not connects to the computer, so it can not download the .img file.what's wrong with it?
I checked the source of 3.3V,1.5V,it's normal .And the clock is normal,but when connect to the computer it dosen't work, there is no action from the computer,what is the problom reason of this?
Need help! Thanks.

How to add/create anew endpoint for CYUSB3014

$
0
0

In order to know that how to add a new endpoint by the framework of the EZ_USB FX3 SDK 1.2,I do the following test.

1 Open the eclipse IDE, select the cyfxbulklpautomanytoone project to build,and load the image file by control Center Tools,we could see the three endpoint.

2 Add a new endpoint
(1)Adding a new endpoint descriptions in the cyfxbulklpdscr.c file

 

(2)Adding the new endpoint macro and socket macro in the cyfxbulklpautomanytoone.h file.

 

(3)Adding the create the endpoint code and socket code in the cyfxbulklpautomanytoone.c

3 Rebuild the cyfxbulklpautomanytoone project and reload the image file , but anyway,there is no infos by the control center.

How to add/create a endpoint on earth?

FPGA configuration utility via FX3 for linux

$
0
0

Hello everyone,

The CyUSB Suite is available for linux, however, I can only find the FPGA Configuration utility built for Windows. Is there a version for linux? I would like to configure my Spartan 6 FPGA board using the FX-3 chip under linux.

Do you know if there are any other similar FPGA configuration utilities for linux. Or eventually any other way to load a bin file.

Regards,
Deyan

FX3 driver (with custom vendor ID) install on Windows 10

$
0
0

Hello,

I tried to instruction from this link but it it's outdated and doesn't seem to work for Windows 10:  http://www.cypress.com/knowledge-base-article/drivers-ez-usb-fx1-fx2lp-and-fx3-kba94413

I added the custom vendor string as described (see the attached INF file) but when I try to install this driver, I get this message:

The hash for this file is not present in the specified catalog file.

I Googled this issue and turns out I have to use Inf2Cat.exe to generate new .Cat file.  So I did….. using this command:

C:\Program Files (x86)\Windows Kits\10\bin\x86>Inf2Cat.exe /driver:C:\cypressWin10 /os:10_x64

...........................

Signability test complete.

Errors:

None

Warnings:

None

Catalog generation complete.

C:\cypressWin10\cyusb3.cat

 

But this time I get this message on driver install:

A problem was encountered while attempting to add driver to the store.

And in System Events I see "Problem signature:

P1: x64

P2: USB\VID_04B4&PID_00F9&REV_0000   <---  this is my custom vendor ID

I Googled this too and basically it sounds like now I have to sign this driver using SignTool.exe.  But I need some PFX file and I don't have it:  https://msdn.microsoft.com/en-us/library/windows/desktop/aa388170(v=vs.85).aspx

​Could someone please let me know if I'm on the right path and if yes, where can I get this PFX file?  Thank you!

How to make firmware "SlaveFifoSync" to "SF_Loopback.img" in AN65974 ?

$
0
0

Hello! I had a firmware "SlaveFifoSync",and i used firmware "SlaveFifoSync" build its .img file called slavefifosync.img. But now, i find the "SF_loopback.img" in AN65974 is better than the slavefifosync.img. However, i did not find the source code of "SF_loopback.img" in AN65974. So i want to know that how to build firmware "SlaveFifoSync" to "SF_Loopback.img" in AN65974 ? Where can i get the source code of "SF_loopback.img"? Thank you very much!


Three questions in An65974 project.

$
0
0

Hello:

I have generated the slavefifosync.img by the source code in An65974 project. And i have three questions: 

1. I test the slavefifosync.img with streamer tool. The highest rate of the slavefifosync.img with streamer tool is  only 15.7MB/s. What should i do to increase rate of slavefifosync?

2. I test the slavefifosync.img with control center tool. But sometime, i can transfer data out successfully only twice when FLAGC is always high. The out transfer command will be failed after the third time! And sometime, i can always transfer data out successfully when FLAGC is reset. I want to know Why the FLAGC is reset by FX3 sometime, but it is always high sometime?

3. what's more, there are four .img file in An65974 project: SF_loopback.img, SF_shrt_ZLP.img, SF_streamIN.img and SF_streamOUT.img.Please tell me what is the difference between them? Are them generated by the source code in An65974 project? 

Thank you very much!

Send data from USB via FX3 to FPGA

$
0
0

Hello,

I want to send some data from USB (Isochronous OUT Endpoint) via FX3 to FPGA.

First I tried with manual DMA Channel, but it didn't work, although the commit of the buffer reported success. But it only commits once, though filling the buffer continuously. So I changed to Multi DMA Channels (many to one). Now I get a "ERROR_INVALID_SEQUENCE" when the buffer is committing.

Have anyone experience with sending data from USB to FX3? Are there some advice to pay attention to? Exist an example, which don't discard or immediately send back the data?

Would be great to get some suggestions.

Thanks,

Janina

CYPD3121 firmware updata

$
0
0

Hi!

   What are the software development tools and hardware development tools for CYPD3121? We run the EZ-PD Configuration Utility on the PC as described in the data sheet. Connect the DP, DM, VSYS, GND pins of the CYPD3121 with a USB Type_A to Type_C cable but the connection failed.

Re-programming CY7C65215 using Cypress USB-Serial Configuration Utility

$
0
0

Hi

We are using CY7C65215 in one of our designs.

We are using the USB serial configuration utility for initial settings. We referred "Cypress USB-Serial Configuration Utility User Guide" for this and in Section 2.3.1.4.3 Enable Manufacturing Interface we unchecked this enable manufacturing interface accidently.

Is there any way we can enable this again to make changes again. The configuration utility is not listing the USB-serial device after this change.

 

 

 

CyUSB3 FX3 Composite Device

$
0
0

Hi,

I am writing a firmware on the FX3 SuperSpeed explorer Kit.

I have a configuration of a composite device ( PTP + Vendor Interface ). Windows is able to enumerate the device correctly. There is 2 interfaces from the device being listed.

For development purposes, I would like to access the interfaces of the device in Cypress USB Control Center. I have set a different PID in order for the device to enumerate using standard windows driver. I change the PID to one of Cypress CyUSB driver but the composite device is not able to start and I cannot access it from the Control Center.

I do have other interface from other Cypress device like the USB-Serial (Dual Channel) (VID 04B4 PID 0007) listed in the USB control center. Therefore it is possible to access composite device interfaces from the control center.

I am looking for information in order to make my device interfaces available in the Control Center so I can send and receive USB data for test purposes.

Regards,

Stan

Viewing all 153 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>