2012-03-19 10:21 AM
Hello,
did anybody try the TCP/UDP echo example from stm32f2x7_eth_lwip.zip? It compiles out of the box, and tcp echo works fine if tried first, but udp echo does not work for me (I am using a STM32F220G-EVAL board). When I try the echo tool which is included in the zip archive, mostly I don't get any answer, sometimes I get one answer and than nothing more. Command and answers are: echotool.exe 192.168.0.10 /p udp /n 5 Hostname 192.168.0.10 resolved as 192.168.0.10 Response time out Response time out Response time out Response time out Response time out Statistics: Received=0, Corupted=0, Lost=5 When I get no replay, Wireshark shows ICMP messages ''Destination unreachable (port unreachable)'', despite the port 7 is correctly used in the example program. TCP echo works as expected only if UDP was not tried first. When UDP was tried first, TCP echo becomes very slow (response times ~500-900 ms). Any ideas? Regards Dirk #tcp-test-tool #udp-test-tool #me-too2012-03-21 11:48 PM
Hello,
Please refer to the AN3384, I did a test it works fine, I am using STM32F2x7_ETH_LwIP_V1.1.02012-03-23 08:42 PM
Hi, Dirk
Do you check your Jumper on your EVB? - STM322xG-EVAL jumpers setting+===========================================================+ + Jumper | MII mode configuration | RMII mode configuration(*) ++======================================================+ + JP5 | 2-3 provide 25MHz clock by MCO(PA8) | Not fitted + + | 1-2 provide 25MHz clock by ext. Crystal | + + -----------------------------------------------------------------------------------------+ + JP6 | 2-3 | 1-2 + + -----------------------------------------------------------------------------------------+ + JP8 | Open | Close + + -----------------------------------------------------------------------------------------+ + JP22 | 1-2: RS232 is enabled + (*) User have to provide the 50 MHz clock by soldering a 50 MHz oscillator (ref SM7745HEV-50.0M or equivalent) on the U3 footprint located under CN3 and also removing jumper on JP5. This oscillator is not provided with the board.2014-01-08 11:49 AM
Could anyone please tell me where can I download the echotool.exe? Thanks
Nhan Pham2014-01-21 08:11 AM
Google echotool.exe, you will find where to download it for free.
-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2014-01-21 01:04 PM
You may also find these TCP and UDP Test Tools useful:
http://www.simplecomtools.com/productcart/pc/viewContent.asp?idpage=23
2014-12-02 12:39 AM
Hi Diz,
I've same issue. Have you resolved it? In which way? Maybe you can you help me... Thanks.2014-12-02 04:11 AM
The OP started the thread >2 years ago. Please consider fully stating YOUR problem, what you have tested, your setup etc.