Host not sending bulk out data

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

Host not sending bulk out data

959 Views
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??
Labels (1)
0 Kudos
Reply
1 Reply

931 Views
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 Kudos
Reply