- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the 050 kit, have installed capacitor and XTAL and can run using the XTAL.
Problem is, when I try to use the comm USB interface with any of the USB example projects the device does not enumerate, causing the program to hang indefinitely.
Any idea what I may be doing wrong, the computer does not even recognize that a new USB component has been added, so I suspect it's something with the dev kit or program.
Thanks
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the kit operate normally with XTAL when you flash it with normal project, may be a LED blink project ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the kit works fine with an XTAL.
I can use the LCD, make a LED flash, basically do everything other than cause the USB to enumerate.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please upload one of your USB projects for us to see. We will try to isolate the issue first. First could take a look at the firmware and project to see if everything is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One common mistake I have seen with many USB designs is, calling the USBFS_Start() API before thr global interrupt is enabled. If that is done, your chip will be stuck in an infinite loop waiting for the device to enumerate but the fact that interrupts are not enabled does not let enumeration to complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project attached, essentially the USB_UART demo.
I am initiallizing globla interrupts prior to calling GetConfiguration.
Also, not sure if it matters, but I"m running this on a mac under VMWARE.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to attach the project now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't seem to be able to attach the file.
Is there an email I can send it to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post email id here. I shall shoot an email to your email id and then you can reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
guy.ron.at.gmail.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I took a look at your project and I see that USB component is coded to operate at 3V,
USBUART_1_Start(0, USBUART_1_3V_OPERATION);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
They're set to 3V and the code still hangs at the GetConfiguration() statement.
This also happens when I try to set it to 5V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me try out the project on a 050 kit w crystal and get back to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any news on this? This is really holding up the development.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tested the project you sent on a CY8CKIT-050 and I did not see any issues at all. It worked at the first go.
Lets start debugging this.
- First thing, is your device being identified by the PC as USBUART example project, when you plug it in?
- Did you install the UASBUART driver ? Select the USB_UART.inf file from the project directory, as the driver for this example, once Windows asks for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The project hangs on GetConfiguration(), it does not identify itself to the PC so there is no driver asked for.
It does not get to the point of identifying itself to the PC. I assume you used the same clock setting as in the project I sent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your code gets stuck at GetConfiguration() because, no valid configuration has been assigned to your USB device. And since your device is not at all recognisd by PC, I suspect the hardware on the board and the cable. Lets eliminate one of the possible cause, could you try using a different USB cable ?
Even if with a different cable the problem continues to exist, you might have to check the connections from Pin P15[6] and P15[7] to the USB connector.
If all this fine and still the problem continues , it could be something to do with the pull up resistors internal to the device.
Yes, I used your original project wihtout any chages, with the same clock configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tried 2 different USB cables on two different machines (one running VMWare/OSX and one running pure windows).
Same problem persists, I'm able to program the device with both cables, so presumabely those work fine.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the device is connected to a Windows 7 machine, it will search for a driver and if driver is not found the OS wont notify that you anything. If you go to device manager, you will find a device with no driver installed. I hope this not happening at your end. I would suggest you to raise CRM request at the sametime to get priority support on this one. You can raise a case here,
http://www.cypress.com/MyAccount/?id=25&techSupport=1&source=headers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I raised a CRM case, thanks.
The Windows 7 does not recognize the USB product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is your issue resolved ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yup,sure looks like a case of messed up drivers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has problem sorted out? If yes, please let me know how to do it
I got similiar problem with CY8CKIT-001 + CY8CKIT-010.
Many thanks
Qingshan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try one of the example projects (the USBFS-HID example is useful, since it doesn't need anything except the *.inf-file on the PC)? Do they work?
One of the pitfalls is to get the voltages right. The USBFS-HID project specifies, in the code, a 3.3V supply voltage, so you need to make sure that the project setting (open the USBFS_HID.cywdr file, go to the 'System' tab, open 'Operating Conditions') and the jumpers on the board match to that (or you change the code to use 5 volts).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it seems that you are facing issues on software side and and uninstall psoc creator and driver for PSoC with any uninstaller program and go for installation again and try any project.i think this will sort out your problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sachinbvp
This thread is a quater of a year old, have a look at the last posting-dates. If we couldn't help him in those days, he would have probably gone back using SN74xxN. Yes, the times are a-changing...
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OH sorry bob i didnt notice the date
Thanks otherwise ill not notice the date