- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the inf file that you are using?
If you are using the same inf file that gets generated when using the project, then it uses the standard drivers in the OS.
I assume your steps should have been the following:
1. Compile and project, and program the device with the hex file.
2. After connecting the device, use the inf file at the location
x:\USB_UART01\USB_UART01.cydsn\Generated_Source\PSoC3 or \PSoC5
where x is where the project is located, to bind the device to a driver.
3. The OS should itself connect it to usbser.sys driver.
If this does not work. Can you take a snapshot of the error and add here.
Also, you can delete the old registry of the attached device/ or simply update the driver of the connected device.
If you are not using this inf file, then what are the inf and drivers used?
-Garima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the inf file that you are using?
If you are using the same inf file that gets generated when using the project, then it uses the standard drivers in the OS.
I assume your steps should have been the following:
1. Compile and project, and program the device with the hex file.
2. After connecting the device, use the inf file at the location
x:\USB_UART01\USB_UART01.cydsn\Generated_Source\PSoC3 or \PSoC5
where x is where the project is located, to bind the device to a driver.
3. The OS should itself connect it to usbser.sys driver.
If this does not work. Can you take a snapshot of the error and add here.
Also, you can delete the old registry of the attached device/ or simply update the driver of the connected device.
If you are not using this inf file, then what are the inf and drivers used?
-Garima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the inf file that you are using?
If you are using the same inf file that gets generated when using the project, then it uses the standard drivers in the OS.
I assume your steps should have been the following:
1. Compile and project, and program the device with the hex file.
2. After connecting the device, use the inf file at the location
x:\USB_UART01\USB_UART01.cydsn\Generated_Source\PSoC3 or \PSoC5
where x is where the project is located, to bind the device to a driver.
3. The OS should itself connect it to usbser.sys driver.
If this does not work. Can you take a snapshot of the error and add here.
Also, you can delete the old registry of the attached device/ or simply update the driver of the connected device.
If you are not using this inf file, then what are the inf and drivers used?
-Garima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For your problem on debugging,
Keep a breakpoint after
while(!USBUART_1_GetConfiguration());
The error is coming, because you have started the USBFS component, and thus the host sees a pull-up on the USB D+ line. But when the hosts requests the descriptors, it does not receive it (because the code is not running). Thus, the device is not recognized by the host.
So free running it till it enumerates ensures proper operation.
I am not sure of your second problem.
I really don't know. Can you attach your project here? Can you also check your registry settings? I can't say what's wrong here if you are using the example project of USBUART.
You can also create a Tech support case if you feel it is needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Gari,
I tried putting a breakpoint in the USBUART example code. But I am still getting the same error.
Everytime I run the code in debug mode I get the message "USB Device Not Recognized".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The problem is that you break the loop when the host must be expecting the descriptors. Take care that you stop the code only after the device has enumerated. For this, do not stop till the while(!isconfigchanged()) code statement executes, i.e. put a breakpoint after that statement.
Cheers.!!
-Garima