Dear Friends, I am new to USB development in LPC2378. I have taken USB device driver from the following path
C:\Keil\ARM\Boards\Keil\MCB2300\USBCDC
But it's not installing the driver file in PC. Its showing USB Device Not Recognized and Unknown device.what should i change in that code.Is there any modifications?
It is caused the device is not enumerated correctly by PC .
Unknown device is always caused by the fact that the device doesn't properly report VID and PID to windows ....and windows doesn't know what driver is loaded for the device .
My suggestion is to check the USB snippet of reporting VID and PID. in my opinion , it is always configured in a table or array . But I am not sure if it is applied to your case .
Good luck .
Hi Daniel, But i am not writing any code for driver files. Already some of the programs are available in keil itself. I am using that program only. But it is not working. But in keil they told all programs are tested.So only i am asking.
The example program is available in the following path,
thanks, venkat v
Actually , I am a developer working on USB driver on windows. When the similar issues happen to me , I always report to the HW team......hehe
Based on your description , I hardly figure out what goes wrong in this case .
2 suggestion are shared with you :
1 . Read the related document and understand the environment and conditions where the code is employed , HW configuration as well .
2 . As a further step , you can capture USB traffic using USB analyzer to check if the data is correct according to USB protocol . like device descriptor...
good luck
Venkat,
What is the version of your OS? Windows 7? Windows x64?
XP (x86/x64) , windows 7 (x86/x64). any concern ?
Sorry , I thought this question would be indicated to me ......
Hi, I am using windows xp pc...
thanks, venkat
If your OS is Win-XP 32bit, the driver of "C:\Keil\ARM\Boards\Keil\MCB2300\USBCDC" should work for you.
Did you change anything like VID/PID in the source code?
Did you follow the instruction in the Abstract.txt?
Driver Installation: -------------------- "Welcome to the Found New Hardware Wizard" appears - select 'No, not this time' - press 'Next' - select 'Install from a list or specific location (Advanced)' - press 'Next' - select 'Search for the best driver in these locations' - check 'include this location in the serach' - set to <project folder> - press 'Next' "Hardware Installation" appears "has not passed Windows Logo testing..." - press 'Continue Anyway' "Completing the Found New Hardware Wizard" appears - press 'Finish'
Hi,
I did not change the code including VID/PID. whenever, if i switch ON my board, 1. "Found new hardware (USB Device)" appears 2. "Found new hardware (Unknown Device)" appears 3. "Welcome to the Found New Hardware Wizard" pop up window has not appeared But 4. "Finally your hardware is installed and ready to use" appears
But COM port is not assigned for my device and driver is not installed
May i know the problem?
Have you ever used the Device Manager of Windows?
[Control Panel] -> [System] -> [Hardware] -> [Device Manager]
Plug/unplug your USBCDC device to see what device appears/disappears in the Device Manager.
Remove that device / Remove the driver of that device.
Then reinstall the correct driver.
Hope this helps.
Hi, I knew about Device manager in Windows..
The same method already we tried after appearing the "Your Hardware is installed and ready to use" window. But after installing the correct driver again it was showing "Unknown device".
Maybe see this:
www.techrepublic.com/.../6017628
List all the non-present USB devices, delete them.
I am using LPC2378 USBCDC code from keil,it works but the problem is, I transmit a data from serial to usb and usb to serial. I received some symbols instead of actual data.
Give me any solution for this problem
Thanks, Sathish.