Thank u for your answer. 

But what is the proper way to use tcp_write() and tcp_output()? Where can I use 
them?

Would it be correct to do:

 

LOCK_TCPIP_CORE();

tcp_write();

tcp_output();

UNLOCK_TCPIP_CORE();

 

If I do so, how can I ensure, that I can still receiving data? Don’t I block 
the RX side?

Sorry, I am a noob but how can I ensure that I am in the tcpip thread?

 

 

Von: lwip-users [mailto:[email protected]] Im 
Auftrag von Dirk Ziegelmeier
Gesendet: Mittwoch, 10. Mai 2017 19:04
An: Mailing list for lwIP users
Betreff: Re: [lwip-users] lwip 2.0.2 + freertos + ARM7

 

Sounds like you are calling lwIP functions from another thread than the lwIP 
thread, in your case the CAN thread.

See
http://www.nongnu.org/lwip/2_0_x/pitfalls.html

Dirk

 

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to