|
From: | Noam Weissman |
Subject: | [lwip-users] LwIP 1.41 select does not return ? |
Date: | Wed, 31 May 2017 10:11:23 +0000 |
Hi All,
I am trying to run a CypherBridge uSSH server demo on STM3240-Eval board.
The original code was designed for ST discovery board with the same micro. The original code uses FreeRTOS 6.01 and LwIP 1.32 ..
I am using a base project that is used for testing. This base project uses FreeRTOS 8.01 + LwIP 1.41 + a few modules that work just fine. The base project has a DHCP client and a TCP server (Raw API)
that work just fine.
I have enabled sockets and netcon in lwipopts.h ... in general it seems to load properly and run.
The CypherBridge uSSH demo creates a task that initialize a socket with the board IP and start listening
on port 22. I have enabled debug messages for CypherBridge and LwIP sockets and I see that all is ok, no errors and the uSSH starts listening to port 22.
Inside CypherBridge code, after creating the socket, binding etc.. it calls listen and the code blocks on select.
After select it will call (never reached) accept etc...
I debugged the code and I see the lwip_select creates a system semaphore and blocks on it.
This semaphore does not get released and I could not find were it should get released ?
My own TCP server that listens on port 23 and the rest of the system works just fine
Any ideas what did I miss or what should I check ?
Thanks and BR, Noam.
|
[Prev in Thread] | Current Thread | [Next in Thread] |