Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Problem with CY7C68013A - driver CyUSB.sys and CYStream

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Problem with CY7C68013A - driver CyUSB.sys and CYStream
Moderator:
RSKV

Post Reply
Follow this topic



Problem with CY7C68013A - driver CyUSB.sys and CYStream

alecha posted on 25 Jan 2011 8:33 AM PST
Senior Member
11 Forum Posts

After loading the firmware needed for the application CYSTREAM, CYCONSOLE and Control Center no longer recognizes the device.

In addition, through the Device Manager in Windows 7 64-bit can install
CyUSB.sys driver correctly, but then going to see the attributes known that the PID is wrong (1003 instead of 8613).

When I plug the device after it is uninstalled, I was recognized as CYSTREAM.

How do I fix it? I would like to upload a new firmware or reset everything (with a software not hardware)

Thanks.

 

I attach the INF file that I use




Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

wdolson posted on 25 Jan 2011 05:07 PM PST
Senior Member
17 Forum Posts

I'm still a neophyte at this myself.  What board are you using and how is it plugged in?  I found that at least the eval board I'm using does not always like being plugged into a hub.  I have seen the PID == 0x1003 when I do this.  It will sometimes initialize as low speed too.

I found that the board will initialize better when plugged directly into the PC, though sometimes I still have problems getting it to initialize properly.  I assumed it might be the eval board I'm using which is an inexpensive board from China (Delada brand).  Sometimes I still have to plug it in and unplug it a few times to get it to work.

I've been assuming it's the board and not the microcontroller or driver that is the problem, though I'm not sure.  It will be a few weeks before I have prototype hardware from my customer.  I wasn't going to try tracking down the issue until I had eliminated a few variables.

OSR, who is one of the best resources for Windows driver development, produces a test board using the CY7C68013A as a platform for developing USB device drivers.  They recommend against using Ezusbdrv.sys which was the old driver for the FX family of microcontrollers.  They say they have seen a lot of problems with ezusbdrv.sys.  I don't know if there is any overlap between that driver and CyUSB.sys and if the instability issues with ezusbdrv.sys have been carried over.

Bill



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

alecha posted on 26 Jan 2011 12:50 AM PST
Senior Member
11 Forum Posts

Thanks!

I'm using this

http://www.braintechnology.de/braintechnology/en/usb_fastinterface27.html

A few days ago I could use to properly CYCONSOLE me correctly recognized the device and could also perform transfers.
The problem arose when I loaded the hex file on the application CYSTREAM, and let me know how can I remove it .... The Cypress offers some solution or should I go to the brain only technology?



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

Shub posted on 26 Jan 2011 07:18 AM PST
Cypress Employee
27 Forum Posts

Hi Alecha,

The only reason for this could be either you have burned the firmware into eeprom or scripting has been implemented.

FX2LP can renumerate as:

1. It checks for the eeprom first. if it is there it checks whether 1st byte is 0xc0 or 0xc2 if not it enumerates as default device with pid 8613.

2. if it finds a 0xc2 it knows that eeprom is large and loads the firmware into its internal ram from eeprom.I believe this is the most likely case so try writing some value as 1st byte of eeprom (except 0xc0 or 0xc2). For this you can use cyconsole after loading vend_ax example.

3. if it finds a 0xc0 it will enumerate as per the vid pid provided into eeprom.Also if scripting is implemented, the host driver will load a new firmware into device and it will renumerate.

 

If you can attach some documentation provided with the board i will be able to help more.

 

-shub



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

alecha posted on 27 Jan 2011 04:06 AM PST
Senior Member
11 Forum Posts

I solved using this program

http://www.triplespark.net/elec/periph/USB-FX2/eeprom/


and writing in the first byte in eeprom 0x01 using the-c option

 

I'm looking for a way to load a firmware (hex files) via my user application and not with using only CYCONSOLE.

 

because i need to configure the device every time i connect it to the pc



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

alecha posted on 28 Jan 2011 12:39 AM PST
Senior Member
11 Forum Posts

 Now I have a major problem: after disabling the EEPROM at the hardware level, by connecting the device to pc not longer able to successfully install the driver CyUSB, Windows 7 will return the error code 43, what can it be?



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

Shub posted on 01 Feb 2011 10:42 AM PST
Cypress Employee
27 Forum Posts

Hi,

If you need to write a host application to load firmware to the device, there is already one available in VC++ here : "http://www.cypress.com/?rID=40317".

For the code 43 error  here is a information link:"http://support.microsoft.com/kb/310123#".

Also I would like to point out that as you were using scripting, you cannot disable eeprom because you need to use small eeprom to store your vid pid and 1st byte should be 0xc0.

If you are not interested in using the scripting option and always want to load the firmware using your host application then you may disable the eeprom.

-shub

 



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

alecha posted on 04 Feb 2011 07:50 AM PST
Senior Member
11 Forum Posts

 Yes i just read the application note about firmware download using cyconsole scripting capabilities. do you know if there's an example project about streaming and saving the receveid byte on a file? i've found only streamer



Re: Problem with CY7C68013A - driver CyUSB.sys and CYStream

Shub posted on 15 Feb 2011 04:36 AM PST
Cypress Employee
27 Forum Posts

No you wont find a example which does exactly this but you can modify streamer as per your needs.

-shub






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20