using nxpUSBlib with operating system

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

using nxpUSBlib with operating system

1,447 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

1,440 次查看
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 项奖励
回复

1,440 次查看
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 项奖励
回复