Host not sending bulk out data

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

Host not sending bulk out data

958 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Madara on Fri Nov 29 02:54:34 MST 2013
I am trying to implement usb msc in lpc2387 using nxpusblib.I can read data from sd card.But when writing, the pc issues a write size of 4KB but i am getting only 512 bytes and in USBlyzer I get the message of USB Bulk transfer cancelled.

I get 512 bytes and then use Endpoint_ClearOUT() to acknowledge and request another packet but no data is received and the DD_status in DMA descriptor always reads 0 meaning no data has been transferred from the host.

How to solve this problem??
标签 (1)
0 项奖励
回复
1 回复

930 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tinyusb on Fri Nov 29 07:56:28 MST 2013
First and foremost, you should check your memory buffer which is passed to DMA Descriptor (DD), make sure is it in the USB RAM of lpc23xx.
0 项奖励
回复