Question about the bandwidth test app

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

Question about the bandwidth test app

403 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ahmed13 on Fri Jun 20 05:46:15 MST 2014
Hello everyone,

I have a question about the Bandwidth test app in the nxpUSBlib, I tried it on my LPC43xx board, it's working nice.
In the LPCUSBtest tool I changed some little things to be able to send and receive a simple "hello world" (I changed the m_frameBuf values)  througth bulk usb.
It's working good I can see the string in DATA IN ou OUT with a USB sniffer.


I'm not really sure about understanding perfectly the example, we are transmitting data (Tx) to the device and Receiving data (Rx) from the device ?


My question is, I now want to send a simple raw image without any compression for the moment, from device to host (for example an image that is on a SD card on the board that I could send over USB to the PC) and from host to device.
I want to do this using the bulk Endpoint.

I'm new to usb and I'm not sure about the steps to do. If anyone would have some example, similar project or just explanation that could help me to go in the right direction it would be grateful.

Regards

Ahmed.
Labels (1)
0 Kudos
Reply
1 Reply

376 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Fri Jun 20 10:31:16 MST 2014
Hi,

Have you tried looking at the USBD MSC example ?

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc43xx-packages

As a starting point also look at the Dual Hi-Speed USB Application note.

http://www.lpcware.com/content/project/Dual-USB-Host-Device-solution


Thanks,
NXP Technical Support
0 Kudos
Reply