cancel
Showing results for 
Search instead for 
Did you mean: 

TCP echo server demo in Application Note AN3966 does not work on STM3240G-EVAL board

Sir1
Associate II

Firstly I tried Httpserver demo and it worked properly. I tried to recompile it with different configuration (different IP address, DHCP on, LCD of...) and all of them worked well.

I also tried to run UDP echo server demo and I succeed.

I tried to do the same process with the TCP echo server demo, but the display did not show anything and the board did not reply to the ping command.

Doeas anybody have any idea which is the difference between tcp echo server demo and the other two?

I downloaded the source code from here:

https://www.st.com/en/embedded-software/stsw-stm32070.html

I loaded the generated *.hex file into the flash memory of the MCU with the in-circuit ST-LINK/V2 tool (using simple USB A-B cable).

I use Cube IDE development toolchain to compile the code.

1 ACCEPTED SOLUTION

Accepted Solutions
Sir1
Associate II

The solution was the usual: update the code to the latest release 🙂

I could successfully build and run this project:

STM32CubeF4\Projects\STM324xG_EVAL\Applications\LwIP\LwIP_TCP_Echo_Server\SW4STM32\STM324xG_EVAL\.project

downloaded from here:

https://www.st.com/en/embedded-software/stm32cubef4.html

View solution in original post

1 REPLY 1
Sir1
Associate II

The solution was the usual: update the code to the latest release 🙂

I could successfully build and run this project:

STM32CubeF4\Projects\STM324xG_EVAL\Applications\LwIP\LwIP_TCP_Echo_Server\SW4STM32\STM324xG_EVAL\.project

downloaded from here:

https://www.st.com/en/embedded-software/stm32cubef4.html