I am using ADSP BF537 in one of our custom Design
I have a ethernet IssueCan you please let us knowHow to Ping out to the external server from target Board using LWIP thru VDK
as the LwIP stack provided in the VisualDSP++ toolset is a port of the open source LwIP stack maintained by Savannah, we recommend that all general LwIP queries are directed to their forums, as we primarily support issues specific to the Blackfin port of LwIP.
Someone in the community may be able to assist you with a solution, but unfortunately it is not something that we have an example for. As this is a general lwIP query we would recommend that you redirect this request to the forums on the LwIP homepage on Savannah's webpage:https://savannah.nongnu.org/projects/lwip
LwIP Stack supports BSD style Socket APIs. So if you have a BSD Socket based code on Windows or Linux or any OS, it should be possible to adapt it to a Blackfin LwIP+VDK project (though you have to be aware of any particular differences with the Stack), without much effort. This is because these APIs are quite popular in network communication and I believe most operating systems have implemented support for it .
For example, Ping works by sending ICMP echo request to the target host and listening for the ICMP echo replies, and are often based on RAW sockets. So the socket creation API call is: socket(AF_INET, SOCK_RAW, IPPROTO_ICMP). You can call this directly from a VDK thread meant for host-ping operation. This thread is apart from the lwipsysboot_thread that initializes the system - IP stack and EMAC hardware.
You can find examples on socket communication from here:-
$(vdsp_install)\Blackfin\Examples\ADSP-BF537 EZ-Kit Lite\LAN
For any further info on LwIP Stack or its Socket function calls, you need to approach the related open-source community, as Craig mentioned.
Retrieving data ...