LPC1343 USB CDC on windows7

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1343 USB CDC on windows7

1,300 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Batiste M on Tue May 28 07:45:45 MST 2013
Hi,
i have my own board equipped with LPC1343F series.
A few month ago on windowsXP i created a serial over USB set of commands which was functionning OK.

I'm now re-building my project with latest LPCXpresso version (5.2.4_2122) + my PC is now on windows7, and now the USB CDC is not working anymore. After switching to the new firmware, windows do not detect my LPC anymore and it is displayed as "Unknown Device" with error code 43.
If I fall back to the old firmware which was compiled with an old LPCXpresso version (4.0.6_152) + windowsXP, then there is no problem, windows7 detects the device perfectly.

I assume there is something different in the compilation process due to my windows7, but i don't see where. My workspace is the exact same as before - maybe a tool option?
Of course i'm not able to run the same with windowsXP for comparison because i'm using a corporate PC with windows7 only.
I need help!
0 Kudos
Reply
4 Replies

1,154 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fp7253 on Mon Jun 17 16:15:08 MST 2013
Hi,
Thank you very much for your answer.
the version is the USBCDC of the MB1700 examples which are given with the  LPXpresso software pack.
I had the pull up 1,5K resistor directly connected . After adding the transistor and softcommand wiring, the problem was the same.

more ...  more :  circuitry for softConnect is already wired on the LPCX1769;


I  think (hope)  i have found the problem : LPCLINK is always connected at the  LPC1769 , it halt the  processor if it don't have  it's 5v supply : I have cut  the connexions between LPCLINK and LPC1769 : now, it is normally  enumerated

more: it is only necessary to cut the reset line et replace it  with a switch closed for debugging/programming
Best regards
F.P.
0 Kudos
Reply

1,154 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Mon Jun 17 07:12:06 MST 2013
Your observation a) and b) suggest that it takes longer for start-up initialization on the new firmware. And then, when the PC starts enumeration at USB plug-in, the LPC1343 doesn't finish its initialization yet. As no response returns from the LPC1343, the PC gives up enumeration.

If your board mounts soft-connect circuitry at P0.6 (USB_CONNECT), your firmware may defer the enumeration start until it finishes initialization.

1) Do you have this circuitry, or just a fixed 1k5 pull-up resistor on D+ line?
2) Which example did you start with for your CDC implementation?

Tsuneo
0 Kudos
Reply

1,154 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fp7253 on Mon Jun 17 02:42:31 MST 2013
HI,
My card is supplied with  the 5vcc usb ;
a) If  i start the "release project"  with only the USB wire , it don't work, seven says "unknown device, disconnected"  (PID 0x0000 & VID 0x0000)
b) if , first, i connect the lpc-link , then a moment later ,  my usb wire, it's well recognized.

what is the problem ? ; if someone had already the solution, it will be fantastic.

my remarks;
-the software seems to be good because it work like b mode
-electrical consumption ?, ... a start
thank you
0 Kudos
Reply

1,154 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed May 29 00:51:46 MST 2013
I assume that you did follow the advice given in this FAQ:

http://support.code-red-tech.com/CodeRedWiki/MigratingToNewVersion

When you build with LPCXpresso 5.2.4, do you see any warnings in the build console:

http://support.code-red-tech.com/CodeRedWiki/BuildConsole

When you debug your built application, what information is displayed in the debug log:

http://support.code-red-tech.com/CodeRedWiki/DebugLog

And I presume that you have installed an appropriate .inf file into your Windows 7 setup? It is possible you may need to obtain a new one / modify your old XP one in order to get this to work. We supply a .inf file in the USB serial port examples for the RDB1768 and RDB4078 boards that we provide within the product that you could use as the basis for producing one suitable for your LPC1343 setup (VID/PIDs will need modifying).

Regards,
CodeRedSupport
0 Kudos
Reply