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

SPI boot mode on FX3


a problem when using the demo "C++ Streamer"

$
0
0

hello, when I use the demo software " C++ Streamer ", I can receive several packets. However, some minutes later, the receiving is stopped and the error message is "Xfer request rejected. NTSTATUS = c0000001", as the following picture. The img file is "SF_streamOUT.img" from the AN65974_Source Files. The chip is CYUSB3014.

Could you help me? thanks.

 

Attachments: 

Cyusb3.sys on win7 and win 10

$
0
0

Hi guys,

I am upgrading the USB driver from Cyusb.sys for win 7 to Cyusb3.sys to add support for both win 7 and win 10. I need to add the USB driver to the software. The software is generated by Visual Studio Setup project. I use custom action in Visual Studio with dpinst to install the driver after the installation of the software. I have to provide customer software for win 7 and win 10. cyusb3.sys, cyusb3.inf, cyusb3.cat for win 7 and win 10 are seperated in different operating system folders (\Win10, \Win7, etc) thus I assume they are different for different operating system. My question is which driver should I use to support both win 7 and win 10. If I have to use different drivers for different operating system, do I need to create different Setup file for each operating system? Thank you very much.

Best,

Recieving CY_ERROR_DRIVER_OPEN_FAILED when CyOpen function is called

$
0
0

I have a program that I am running on Linux and am trying to connect to my Cypress device. When I attempt to run the code, when the CyOpen function is called I receive CY_ERROR_DRIVER_OPEN_FAILED as my output. My computer recognizes the Cypress device and all proper drivers are installed. Virtually identical code works flawlessly on Windows but it does not work on Linux.

A firmware update association problem.

$
0
0

We want to update FX3 firmware by the steps: Insert a FX3 module into the computer, then press a key such as "firmware update", updating firmware, success, then reset to restart from SPI. 

The step of "press a key---firmware update", we want to send a command to FX3 module to erase flash. then,  SPI on Failure, USB boot up. The problem is how to go through from computer to FX3, maybe API needed, but what's the right API?

Thank you very much.

FX3 Short Length Packet

$
0
0

Hi,

In my FX3 firmware I am using the CYU3P_USBEP_SLP_EVT Sort Length Packet event to determine the end of the USB transfer.

I am able to do so in USB SS but under USB High Speed the event is not generated and my firmware reports transfer failure.

My firmware also use the ZLP event. This event is generated in USB SS and USB High Speed.

I have tested with the Cypress Control Center tool as well as with my WinUSB interface. The data is transferred but the SLP event is not generated.

I have use the JTAG debugger of the SuperSpeed Explorer Kit and the following function are called :

  • USB High Speed
    • ZLP - API Callback called from CyU3PUibEPEvtHandler (Line 1863)
    • SLP - The JTAG Break point is not reached - CyU3PUibEPEvtHandler (Line 1868)
  • USB Super Speed
    • ZLP - API callback callbed from CyU3PUibProtEpIntrEvtHandler (line 2028 )
    • SLP - API callback callbed from CyU3PUibProtEpIntrEvtHandler (line 2031 )

Under USB High Speed, the SLP interrupt is enabled: DEV_EPO_CS=0x60344A00. The EP interrupt is enabled since I get the ZLP Event.

Regards,
Stan

USB PID AND VID error

$
0
0

Good Morning,

 

Recently, one of our systems lost communication with the PC. Apparently, there is an issue with the USB driver. The product ID and vendor ID are: 

PDI: 3884 and the VID: 3001

Nicolet Biomedical Inc

Looking at the website, there is not any driver related to this product. 

Could you help me with the driver or the solution for this problem?

Thank you in advance. 

Santiago

HLK, HCK, WHQL tests and driver issues.

$
0
0
Hi,
 
I am already sorry for this, might be, simple question.
 
We are dealing with a code 52 error on some of our customers computers (signature not recognized). This let me to believe that Microsoft is playing a role here because we have digitally signed them with a Symantec code signing certificate but still some customers get the error. It varies from windows 7 to windows 10. Until recently, windows 10 is coming up a lot. Probably since the latest windows 10 updates (1607, 1703).
It describes that computers with "Secure Boot Enabled" need to have a signature from both Microsoft Root Authority 2010 and WHQL.
 
Now along the lines I have read that the Cypress drivers are WHQL certified (not signed). 
So, I went on the hunt to get those certifications.
 
Little background: The hardware device is developed in china, all I know is that it is using a cypress driver because their driver only consists of a cyusb.sys, cyusb.inf and a cyusb.cat. At this point I have no idea what type of driver this is (when looking at the USB Overview tab on this page http://www.cypress.com/products/usb-controllers feel free to tell me). 
 
I was on the hunt to find the original .inf file, I eventually found that here:
Inside the suit I found the .inf files that are similar to the .inf file I have from the company in China. The file is attached. It is an Ultrasound device.
 
I spent some time on getting the HLK (Hardware Lab Kit) to work so that I can test the driver/device. Unfortunately, a lot of tests are failing, to begin with: an INF syntax verification. Even the syntax is already failing (but the device does work on the test (virtual)machine).
That made me wonder if I really need to do these tests or if their is really something wrong with the device/driver. But as far as I know, the WHQL tests are for Windows 8.1 and below, using HCK (Hardware Certification Kit). For windows 10 I would need to pass the HLK tests, right?
 
So to provide some good feedback to the Chinese company, I am wondering in what direction we need to go. Do we need to analyze all the errors that HLK provided or do we need to download another driver somwhere from Cypress and make sure that one is compatible with our device.
 
 
If you have any further questions just ask.
 
 
 
Attachments: 

CYUSB3014 Heating to 50 degree celcius

$
0
0

Hi,

I am using Cypress CYUSB3014 for streaming video in one of my projects. With Cypress support we are able to stream the video now after lot of changes in the code. 

Now we see the Cypress IC is getting heated to 50 degree Celsius. Since this is a medical device we cannot have any temperature raise in the board.

We do not find any issue with the board design. It is a 6 layer board with sufficient ground poring. 

Could you please clarify on this issue and also how much does CYUSB301x IC get heated at normal operating conditions? 

 

 

Regards

Bharati

How I set up pins all at once

$
0
0

Hello!

How I set up pins in CTL[7..0] and DQ[7..0] and read them all at once?

 

foe example one pin read is:

 (GPIO->lpp_gpio_simple[51] & CY_U3P_LPP_GPIO_IN_VALUE)

CY4531 CCG3 Daughter Card standalone USB usage

$
0
0

Hi,

I have a CY4531 CCG3 Daughter Card which I am using standalone, without the CCG EVK Base Board.

To develop the software I use PSoC Creator 4.0 update 1. For I2C,SPI and UART I used the component catalog to add these components to the TopDesign.cysch. These components work fine I am able to control UART,I2C and SPI.

But now I am moving on to USB for this I have removed R48 and R49 from the CY4531 CCG3 Daughter Card and added 0E resistors on R51 and R52 and connected the USB Mini B (j7) to my PC.

In the component catalog there are only USB components which are incompatible (USBFS,USBMIDI,USBUART)
 so these I cannot use. What I do now in my own main is control the functions in usb.c from the SDK directly.

  1. call usb_init() with my own usb_config_t structure
  2. call usb_enable()
  3. call usb_task from the mainloop.

When the program starts my pc detects a new device, so I see that the CY4531 USB block is started, but the enumeration fails.
Somehow the functions registered through usb_init's usb_config_t structure are never called

Is there something else that must be done to usb the USB block?

Regards

Marcel

Problem with brightness control over UVC

$
0
0

Hello! I made a project based on an example from the SDK (cx3 examples). I try to make brightness adjustment, fixed descriptors, added the code to CyCx3AppUSBSetupCB, but AmCamp and VirtualDub do not show the brightness control menu. What is the problem?

USB to UART adapter does not show up in the device tree - Zed Board

$
0
0

I am connecting a ZED board to HP laptop , Windows 7 enterprise OS. I installed the CypressDriveInstaller_1. When I connect both the USB ports on the ZED board to the  PC (J17 - PROG & UART) , "USB to UART Adapter" does not show up in the device list. If connect just the UART only (and not the programming cable), I still do not see anything in the device tree. When I connect the programming cable, it shows up as "USB serial Converter" in the device tree and as "COM3" in the COM & LPT ports list. Only COM3 shows up in that list. No other com port. If I open the serial port terminal (Teraterm) , it won't let me program (Vivado cannot open the hardware). After I kill the serial port I can program and when I open the Teraterm and connect to COM3, I get a message "Cannot open COM3". If I right click on COM3 in the device tree and look  at the driver details, it shows the driver as "FTDI driver". This is happening on 2 HP computers ( a desktop  and a  laptop). The board works fine with the serial port on a Dell laptop with windows 7 professional. I would appreciate any help to resolve the problem.

Thanks,

Mohan 

CCG2 SDK sends incorrect VDOs for the Discover Modes command.

$
0
0

Hi,

 

I've been trying to negotiate entering alternate modes between two CYPD2122 CCG2 controllers. I've successfully been able to handle the USD PD "Discover Identity" and "Discover SVIDs" commands. However when I try to use the "Discover Modes" command to get a list of available modes from the UFP, all the modes are populated with the VDM header for the transaction.

For example, if I used the EZ-PD config utility to set the SVID=0x6666 and defined 3 modes 0x11111111, 0x22222222, and 0x33333333 then when I request the modes for SVID 0x6666, the UFP acknowledges the request by sending a list of 3 modes all set to 0x66668043 (the VDM Header for the transaction). If I request modes for a different invalid SVID, it correctly NACKs the request. If I define a different number of modes for the SVID configuration, the response has the correct number of modes, but they are all incorrectly set to the VDM for the transaction.

Also, none of the callbacks in "pd_vdm.c" are ever being called even though they are correctly initialized at the start of main(). The documentation for the CCG2 API indicates that this is where user code is called when the API responses to VDM messages. However, my code is clearly responding to VDM messages, yet none of these callbacks are ever reached according to the debugger.

Some notes about my setup. I based my code off the CYPD-2122-24LQXI-notebook example. My application does not need a bootloader or the HPI interface so I have disabled/removed the corresponding code from my application.

Any help in resolving these issues would be greatly appreciated. Thanks

Bootloader vs USB3 streamer drivers

$
0
0

Hi, I am very new to EZUSB3 and I have the PCB kit. I have done some examples by John Hyde using the bootloader driver. Now I simply wish to switch back to the streamer example device, I have now removed the jumper 4 but can not get back to this original streamer demo that came with the board. Do i need to reload an image file, if so where is it? Sorry for the noob question..

 

Cheers

H


USB Dev Under Parallels on Mac (Windows 10)

$
0
0

I run Windows 10 under parallels on an iMac.

The CY-8CKIT-046 USB Mouse project builds fine and actually works when connected to Macintosh without Windows running.  When Parallels is running by itself with no virtual Windows, it also works fine.  But when Parallels runs a Windows virtual machine, the mouse demo stops both on Mac and Windows.  Windows' control panel sees the CY8CKIT-046 USB Mouse Demo is connected.  Obviously my regular mouse and keyboards keep on working. Any ideas?

CY4531 Port USB 2.0

$
0
0

Hello ,

I contact you today because I have a CY4531 EZ-PD CCG3 Evaluation Kit which comport a CYPD3125-40LQXIT 40QFN Daughter Card, and I would like to know to which port the USB 2.0 Mini-B connector is linked because in the Datasheet I can’t find it.

Moreover I would like to know in PSoC Creator in my CYPD3125-40LQXIT,  which component should I use in the Component catalog to represent my USB 2.0 mini-B and my USB Type C and so to which port should I link them ?

Thank you for your answers

Cordially

FX3 Sync Slave FIFO 5-bit

$
0
0

Is it possible to use less address lines? I don't need 32 logical sockets so there are two options:

1. Pull down A4 and A3 through resistors

2. Decrease number of address lines in GPIF designer and use GPIO25/GPIO26 as IOs

Second option is preferrable 'cause it provides less pin utilization.

Expected result is to have 4 threads with 2 physical sockets each

Thanks

CY4531 2 Lane DIsplay + USB 3.0

$
0
0

Hi,

We followed the Display-port and USB demo as in the Setup guide of CY4531 EVM as below.

1. (Display port demo)

Mac Mini (thunderbolt -->DP) to CY4531 DP IN (EVM)

Monitor to CY4531 (USB Type C to DP).

The above example setup works perfectly fine.

 

2. (USB demo)

Tested the USB demo in which the flash drive was connected to Type-C of the evm using the adapter board. The USB 3.0 of the CY4531 EVM was connected to the laptop. Even this worked fine.

 

Now,

I am using CY4531 EVM for evaluating our CX3 based setup.

We need display (2LANE) signal from display source to my PD mux in our setup. This PD mux has a display. And at the same time, the CX3 setup has to enumerate on the PC USB3.0 (CX3 is also connected to this PD mux). 
I'm able to see the CX3 board (i.e USB3.0) but im not able to see anything on the display.

 

What I infer is, Display alone (4lane) works and CX3 alone (USB3.0) enumerates fine. I have a problem when i want both. i.e. USB3.0+2LanePD

Do I have to configure the evm to work for USB3.0+2Lane DP ? Please guide me through the procedure.

 

 

Problem communication I2C with CCG3

$
0
0

Hello ,

I'm having a issue with the communication between my CCG3 (CY4531 : daughter card is CYPD3125) and the software EZ-PD Utility.

This morning i was able to build my CYPD3125_notebook from PSOC Creator and transfer the .cyapd into my CCG3 by using EZPD Configuration Utility , but since I disconnect the cable from my PC , i can't update the new firmware in EZ PD Configuration Utility .

My PC find the USB device connected in the device manager of windows , and the 2 Greens LED works and the Orange one is blinking, i tried to refresh , turn off my computer and my CYPD4531. I can't understand why i can't update the firmwares into my CCG3 .

The error shown in EZ PD Configuration utility is "Failed to communicate with CCGx device over I2C".

Best Regards,
 

Viewing all 153 articles
Browse latest View live


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