Hello
I am working on OMAP-L138 development Board(LCDKOMAP-L138). and linux board is AM5K2E04 board
I want communicate between lcdkOMAP-L138 and AM5K2E04 board using USB.
1.Want to use OMAP-L138 as a device
2.Want to use AM5K2E04 as a Host
So I am able to configure OMAP-L138 as Serial Device and AM5K2E04 as Host device,But the problem is when I am sending data packet from Host to device,Device is unable to receive more than 128Bytes but at host side it is sending the packets.
When i am sending 1 Byte data from host to device then its working fine,Only problem is while sending larger Data packets
i have attached the mini-com Log.it contain both data transmission .
1.While sending 1-Byte data from host
2.While sending 128Bytes data from Host
I am using Ti-processor-sdk-rtos-omapl138-lcdk, in CCS10 . And I have successfully installed the PDK example for LCDKOMAPl138.
and I am using USB_DevMsc_lcdkOMAPL138_armExampleProject example
root@AM5K2E04:~# ./UsbSTest1 2 0 : Sent data Size = 8192 1 : Sent data Size = 8192 2 : Sent data Size = 8192 3 : Sent data Size = 8192 4 : Sent data Size = 8192 5 : Sent data Size = 8192 6 : Sent data Size = 8192 7 : Sent data Size = 8192 8 : Sent data Size = 8192 9 : Sent data Size = 8192 10 : Sent data Size = 8192 11 : Sent data Size = 8192 12 : Sent data Size = 8192 13 : Sent data Size = 8192 14 : Sent data Size = 8192 15 : Sent data Size = 8192
SET CONTROL LINE STATE Rx: 512 bytes Done Tx: 0
_____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org AM5K2E04 ttyS0 Arago 2016.10 AM5K2E04 ttyS0 AM5K2E04 login: root (automatic login) root@AM5K2E04:~# 2;153R -sh: 2: command not found -sh: 153R: command not found root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# [ 96.264913] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 96.405721] random: nonblocking pool is initialized [ 96.439685] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [ 96.445184] usbcore: registered new interface driver cdc_acm [ 96.450855] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters root@AM5K2E04:~# root@AM5K2E04:~# root@AM5K2E04:~# ./UsbSTest1 0 : Sent data Size = 1 1 : Sent data Size = 1 2 : Sent data Size = 1 3 : Sent data Size = 1 4 : Sent data Size = 1 5 : Sent data Size = 1 6 : Sent data Size = 1 7 : Sent data Size = 1 8 : Sent data Size = 1 9 : Sent data Size = 1 10 : Sent data Size = 1 11 : Sent data Size = 1 12 : Sent data Size = 1 13 : Sent data Size = 1 14 : Sent data Size = 1 15 : Sent data Size = 1 16 : Sent data Size = 1 17 : Sent data Size = 1 18 : Sent data Size = 1 19 : Sent data Size = 1 20 : Sent data Size = 1 21 : Sent data Size = 1 22 : Sent data Size = 1 23 : Sent data Size = 1 24 : Sent data Size = 1 25 : Sent data Size = 1 26 : Sent data Size = 1 27 : Sent data Size = 1 28 : Sent data Size = 1 29 : Sent data Size = 1 30 : Sent data Size = 1 31 : Sent data Size = 1 32 : Sent data Size = 1 33 : Sent data Size = 1 34 : Sent data Size = 1 35 : Sent data Size = 1 36 : Sent data Size = 1 37 : Sent data Size = 1 38 : Sent data Size = 1 39 : Sent data Size = 1 40 : Sent data Size = 1 ^Z [1]+ Stopped(SIGTSTP) ./UsbSTest1 root@AM5K2E04:~#
Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0 Rx: 1 bytes Done Tx: 0
Please help me regarding this
Thanks in advance
Regards
shubham