LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

LM3S8962 as STM Client

Im working with the STM package to try and get a TCP client operating upon the LM3S8962 to communicate with my PC as the server although it never makes a connection. I keep getting error code 56. 

 

I can happily get the LM3S8962 working as the server with the PC as the client, but not the other way round.

 

Any suggestions?


 

0 Kudos
Message 1 of 3
(5,913 Views)

The STM reference library wasn't expressly designed to work on an ARM target, so running into some impementation issues is very possible.  However, it uses the base level TCP functions at its heart, so it's possible that it will be able to be implemented successfully on this target.  Error code 56 implies that your connection request is timing out before receiving a response.  You should go through and double-check the timeout duration, and increase them as necessary.  Additionally, to remove any unnecessary complications in trying to debug this, you may want to try running just the basic TCP example program and see if that works before trying to incorporate the STM reference library.  I hope this helps!

0 Kudos
Message 2 of 3
(5,872 Views)

also had problems to communicate between the card and the computer, check this configuration

1.png

0 Kudos
Message 3 of 3
(5,680 Views)