using nxpUSBlib with operating system

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

using nxpUSBlib with operating system

1,123 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Andrea Colombo on Fri Mar 23 09:22:56 MST 2012
Hello, I'm trying to use the MassStorage device example of nxpUSBlib with an operating system putting te following functions

MS_Device_USBTask(&Disk_MS_Interface);
USB_USBTask();

in a task and calling them cyclically from 10 to 100ms. The presence of this delay produce problems with the possibilities to be connected with a PC (delays and complete connection failures). In particular windows XP seems much more critical than windows seven.
Someone has some suggestion to modify the project to use it with operating systems?

Regards
Andrea
Labels (1)
0 Kudos
Reply
2 Replies

1,116 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Andrea Colombo on Mon Mar 26 01:17:37 MST 2012
I'm using the MCB1750 demo board with the connect line enabled to attach the D+ line to a 3.3V line through a 1,5K resistance. This configuration should enable the connection in full speed.
The main problem is that I can't write a file to the disk implemented in to the ram of the LPC1758 mounted in the demo board. For the disk implementation I have used the same code of the file

DataRam.c

distributed with the nxpUSBlib.
I have the problem also with 1ms delay.
Only eliminating any delay I can solve the problem.

Thanks
Andrea
0 Kudos
Reply

1,116 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxpUSBlib team on Sat Mar 24 18:57:54 MST 2012
Does it work if you call these at 1ms?

Are you running full speed or high speed?
0 Kudos
Reply