This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123G6

I am using TM4C123G6 board, and have developed a VB.Net application to communicate with the device, the driver installed on my PC is "SW-DK-TM4C123G-2.1.3.156.exe", there are two USB ports at the device end, the same two are connected to my PC, I and transferring 64 byte data per transaction, after a while I find that the data received from USB 2 is jumbled, the first byte is shifted to last byte. to give more insight into my problem, I am writing below the tests I have performed.

Test 1. Executed the UI with 2 USB Channels connected to one PC, hand shaking failed few times, but after launching the UI again, the Handshaking was successful.

and the exchange of upstream and downstream packets went on successfully, after a couple of minutes, Channel 2 data received at the UI end was found to be

shuffled. Message id was at the 64 byte position.

 

Upon restarting the UI keeping the Device ON, caused Handshaking Issues, but after a couple of retries the Handshaking was successful.

 

Test 2. Performed the above test with the USB Analyzer capturing the incoming and outgoing data on the PC, after a couple of minutes the USB analyzer also showed the packets shuffled for USB channel 2.

 

After the above two tests I modified the UI code to work with single USB, i.e the UI to function when either of the USB's are connected.

 

Test 3. Connected Only Channel 1 and found no issues with Handshaking and the Communication went on without any issues, even after restarting the UI keeping the Device ON did not find any issues with Handshaking and further communication, and the Channel 2 data did not appear to shuffle even after several minutes.

 

Test 4. Connected Only Channel 2 and found no issues with Handshaking and the Communication went on without any issues, even after restarting the UI keeping the Device ON did not find any issues with Handshaking and further communication, and the Channel 2 data did not appear to shuffle even after several minutes.

 

Test 5. Launched the UI from two different PC's with Channel 1 connected to one PC and Channel 2 connected to another PC, did not find any issues with Handshaking and the Communication went on smoothly and the Channel 2 data did not appear to shuffle even after several minutes.

 From the above tests, it appears that the issue with Handshaking and Packet shuffling arises when the end point of both Channel 1 and Channel 2 are the same PC.

 

Has any one faced similar issue with 2 USB's