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

MIPI CSI Init Error

$
0
0

We have designed our own cypress CX3 board to interface with our camera sensor. The design is based on E-Con CX3 Denebola development kit.

We are getting error code 0x45 (CY_U3P_ERROR_TIMEOUT) when calling function CyU3PMipicsiInit ( void ). The same firmware works with ECon CX3 Denebola development kit. Can you please help identify the issue.

Thanks,

KN


USB-IF Test Suite

$
0
0

Hi,

As part of custom firmware development on FX3, I would like to perform validation of my implementation. I have found the USB-IF Test Suite.

I had a question regarding the USB 3 Gen X Command Verifier. When I test my device as USB 3, the report flag my bcdUSB = 0x0300 as incorrect. It looks for 0x0310 which is the USB 3.1 version. The FX3 is a 3.0 device therefore the bcdUSB = 0x0300 is correct.

Is there an equivalent Command Verifier for first generation USB 3 ?

Regards,
Stan

FX3 Device descriptor failed

$
0
0

Hi,

 

I'm using a fx3 and when I connect my board to the pc I have the following error in the device manager : Unkown USB Device (Device Descriptor Request Failed), I have absolutely no idea how to deal with this, installing the drivers for windows10 didn't help. Any insight would be appreciated.

 

Thanks,

Adrien

Interfacing Xilinx Virtex-5 FPGA with CYUSB003 kit

$
0
0

Hi,

I am designing  a custom board using Xilinx Virtex-5  FPGA and CYUSB003 kit as a piggyback module. I want both the Virtex-5 board and the superspeed kit to be powered up simultaneously. What are my options?What if  Virtex-5 board gets powered up first  and superspeed kit gets power after a while or vice-versa. Will it cause damage to the board?

 

 

 

 

 

FX3 - DMA Override mode and ZLP

$
0
0

Hi,

Testing communication between a WinUSB Host Application and the FX3, I am confronted to max packet length and zero length packet handling.

On the host application, I need to check is the buffer i am sending is multiple of the max packet length and send an empty buffer to the API to generate a ZLP.

On the FX3, I have tested the DMA Manual channel. I am now trying to transfer data in override mode. My buffer size is a multiple of the max packet size. Multiple transaction occurs to transfer the buffer. I am missing the ZLP at the end to complete the transfer. I have tried to set the CY_U3P_DMA_BUFFER_EOP flag but I don't have the ZLP. My WinUSB application hangs and my USB analyzer has a hard time grouping the transaction into correct transfer due to the missing ZLP.

I believe that I could do another CyU3PDmaChannelSetupSendBuffer call with a zero length buffer. However I wish not to wait for the completion of the first call in order to send the ZLP as I handle completion asynchronously with the DMA callback.

A good understanding of DMA constrain will allow me to design a suitable spec. Making my max buffer size more than an exact multiple of the max packet size could help avoid ZLP.

Regards,
Stan

Debugging a ThreadX stack fault on FX3

$
0
0

I'm getting a "5 _tx_thread_stack_error_handler()  0x40030f44" in my application, under load (while doing something).  I can't find anything on how to debug these.  I have 3 threads in my app and I checked to the stack on each of them, looking for the constant that the system stack checking places in each one so I'm pretty sure it's not a simple stack overrun.  

According to the documentation I could find from ThreadX online, the stack checks are for top/bottom of the stack area and making sure my stack pointer is "in" range so I'm guessing that my stack pointer itself is corrupted (not pointing into the stack space).  I explored the possibility of adding a "CyU3PThreadStackErrorNotify" handler to my threads but this doesn't seem to be supported in the version of ThreadX being used here in the Cypress environment.

Is there any more information I can get from the debug tracing on this?  (added a screen shot of the fault).  It would be handy to mail it down to a specific thread.  The call stack in GDB simply shows me function calls that are not available to me at the source level (I have no access to source.

I'm not asking for someone to debug my code for me, just some clues.  If someone could point me in the right direction I can do my own leg work.

Thanks, 

John Svinicki

Firmware engineer

 

 

 

How to handle the getinterface() and setinterface() request from the host to select various alternate settings.

$
0
0

Hi,

I am working in a project which requires switching into various alternate settings which are belong to the same interface. While searching about the implementation I come to know that I should handle the getinterface() and setinterface() function (from USB 2.0 spec), but there is no detail explanation or example to handle those requests. So please help me to know about the issue.

Thanking You.

Regards,

Vignesh Kumar R.

ezusb.sys


CyUSB3.sys Device not started 0x25 CM_PROB_FAILED_DRIVER_ENTRY on Windows 7 WITHOUT UPDATES solution

$
0
0

Hi all,

few days ago have got a problem with our customized CyUSB3.sys driver - on PC with fresh Windows 7 and no updates installed our driver failed to start with this string in setupapi.dev.log :

!!! dvi: Device not started: Device has problem: 0x25: CM_PROB_FAILED_DRIVER_ENTRY.

After some investigation have found that this is because of old WDFLDR.SYS. This can be fixed by installing KB2685811 "Update for Kernel-Mode Driver Framework version 1.11 for Windows 7

Hope this information will be helpful.

 

Best regards, Arturas

 

FX3 USB3.0 not working?

$
0
0

I have been having trouble with the SuperSpeed FX3 SDK board, and I am thinking that it might have to do with the setup/USB3.0 driver. Right now, the device will light up the green LED and then the blue LED shortly after when I plug it into my computer's USB2.0 ports (and is then recognized by the computer and shows up under Device Manager), but it only lights up the green LED when plugged into the USB3.0 ports (and is not recognized by the computer at all). Nothing comes up under Device Manager, not even an unknown device. 

I am guessing that I missed something in the 1.3.3 package setup, but I don't know what. I tried following the instructions listed in CyUSB.pdf, but I came across an error "Access denied" when trying to save the amended cyusb3.inf file with the VID and PID number (though I do not know if I needed to do this anyway, given that the VID and PID number that shows up when plugged into USB2.0 was already listed below in that file).

Does anyone have any advice? I have tried this on multiple computers with multiple SDK boards and the results are the same. I am having additional troubles with Eclipse (which I have posted about before), and I am not sure if the problems are related or not.

Thanks for the help!

 

FX3 driver problem on Windows Embedded 7

$
0
0

Dear Cypress Team,

 

We use "CYUSB3014-BZXI"(FX3).

We have developed our product base on the "AN84868 Configuring an FPGA over USB Using Cypress EZ-USB FX3"

with Windows 7 Pro 64bit.

Our target platform is Windows Embedded 7.

When we porting our code to Windows Embedded 7, there is problem on installing driver.

In the notify message, the driver cannot used in Windows Embedded 7 platform.

Can you support the FX3 driver for Windows Embedded 7 ?

If you have the driver, can we use our developed code

based on the "AN84868 Configuring an FPGA over USB Using Cypress EZ-USB FX3" in that driver?

If there is no driver for Windows Embedded 7, how can I use the  "CYUSB3014-BZXI"(FX3) in Windows Embedded 7 ?

 

Thanks and Best Regards,

Doojin Han 

CYUSB3KIT-003 to SD card interconnect

example code - The Hex file does not match the acquired device

$
0
0

Hi Cypress guys,

I am using miniProg3 to program CYPD2122-20FNXIT. when I use "PSoC Programmer 3.25.0.2504", every thing is OK. But when I run sample code "C:\Program Files (x86)\Cypress\Programmer\Examples\Protocols\SWD\C_Sharp", I got error:

Program All using COM-object interface only
MiniProg3/1548BB00036F
-->CYPD2122-20FNXIT Information:
Family: CYPD2xxx
Pins : 20
Flash : 32768
Acquire Modes: 3 POWER RESET
Silicon IDs:
        14 06 11 A4
ProgrammerVersion:MiniProg3 version 2.05 [3.08/2.08]
hexJtagID :0x14 0x06 0x12 0xA4
chipJtagID:0x0B 0xB1 0x14 0x77
Failed! The Hex file does not match the acquired device, please connect the appropriate device

for trouble shooting, I add some console output of hexJtagID and chipJtagID, looks like the issue is chipJtagID NOT correct.

Any advice to get correct chipJtagID?

I am attaching the screen shot of "PSoC Programmer 3.25.0.2504", the modified source code(c#) and run output.

 

CCG4-Dead Battery Case : How is Chip powered ?

$
0
0

Hello Everybody,

 

I have a system using the CCG4.

In dead-battery mode, Rd is detected via the CC-Line and VBUS gives 5V on the line.

But How does the chip get powered ? The chip can be powered only through VDD and VDDIO. Not over CC (If I believe the bloc diagramm)

Can the CC-Line (powered over VCONN) activate the GPIO and switch the FET to enable VBUS ?

 

This sounds to me unclear.

Please give me posted and thanks in advance.

Regards

 

 

How to improve the GPIO Frequency?

$
0
0

Dear all,

Now I want to use two gpios(as clock and data) to transfer a Bit-Stream.

I tested the gpio clock frequency is 1.7MHz with using write register mode to config it. But when I transfer the data using the clock, the gpio frequency will be reduced to 1.1MHz.

It is too slow for me. I need the gpio frequency as high as possible.

Does anyone have a good idea?

Thanks

chad


configuration a spartan 3 with FX2LP in C++

$
0
0

hi, i want to configure a spartan 3 with Cypress FX2LP. it is a App.note : http://www.cypress.com/documentation/application-notes-obsolete/an63620-configuring-xilinx-spartan-3e-fpga-over-usb-using

a c# application is attached that we can configure a .bit file in spartan 3. but i want to configure a file in spartan 3 first and then transfer data. and sample code for transfer data is in C++! how to configure spartan 3 with a C++ program? is there any sample code? thank you

anyone tried use cypress device with multiple threads?

$
0
0

Hi, i am using cypress api with multiple threads.

i have tried those threads one by one.

they can individually work perfectly. 

the problem is, i could not run two thread at the same time. 

currently, i initial TWO CcyUSBdevice instances. they point to the same one usb device.

for example, 

In thread 1, i have:

Ccyusbdevice1->endpoint[0]->xferdata...blablabla

In thread 2. i have:

CCyusbdevice2->endpoint[1]->xferdata...blablabla

both two transfers are delayed. 

(actually, if i initial ONE CcyUSBdevice instance, and visit its endpoint[0]and endpoint[1] in two separated threads, would lead the same delay problem.)

 

my co-worker assure me that these two bulk endpoints have two separate buffers.

and i cam make sure these two threads have no common buffer.

so, is there anything i missed? 

 

 

 

__________________________________________another question____________________

can i transfer data with 1000hz? i am using it to transfer IMU data.

i found, in most case the transfer costs 1ms, but sometimes costs 6ms and more.

 

 

 

 

 

Thanks~~~~~

MOBL-USB CY7C68053's startup

$
0
0

       As you know, CY7C68053 cannot enumerate without an EEPROM.  CY7C68053 will read the EEPROM's first bytes' through I2C controller....which is called 'C2 load'.  

       the technical manual tell's me that,I can use an external processor to replace the function of EEPROM  to make the CY7C68053 startup normally. 

       I want to abandon the EEPROM,and use an external processor to replace the EEPROM. 

       But how to debug? As the CY7C68053's booting code is unknown. Thank you .

USB-to-UART bridge stopped working after new Windows 10 update

$
0
0

Neither a usb cable plugged into the pioneer board or a cy8ckit-049-42xx board plugged directly  into the usb port will connect.  I get usb power to the device.  I hear audio feedback when they are plugged into the usb port but the device manager does not show any cypress device plugged in.  

I have de-installed/re-installed the USB-to-UART bridge.  I have removed the entire Cypress packages and re-install them, including the USB-to-UART bridge with the problem persisting.  I plugged in other USB-to-UART microprocessors (st.com Nucleo board and micro-bit) and they work and do download new code to the microprocessors.

Last weekend I received an automatic Windows 10 update that required a reboot.  Prior to that event I was able to program and debug PSOC devices.  When I use PSOC creator to download code there are No devices listed.  

CyUSB3.sys Device not started 0x25 CM_PROB_FAILED_DRIVER_ENTRY on Windows 7 WITHOUT UPDATES solution

$
0
0

Hi all,

few days ago have got a problem with our customized CyUSB3.sys driver - on PC with fresh Windows 7 and no updates installed our driver failed to start with this string in setupapi.dev.log :

!!! dvi: Device not started: Device has problem: 0x25: CM_PROB_FAILED_DRIVER_ENTRY.

After some investigation have found that this is because of old WDFLDR.SYS. This can be fixed by installing KB2685811 "Update for Kernel-Mode Driver Framework version 1.11 for Windows 7

Hope this information will be helpful.

 

Best regards, Arturas

 

Viewing all 153 articles
Browse latest View live


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