I want to work for ethernet driver on Blackfin(BF609). Can we use lwip on Baremetal? or Suggest me how to implement the ethernet driver on BF609 .
Target : ADSP BF609
Tool : CCES
Yes. You can use LWIP with baremetal framework also.
Please install the required middleware available in our webpage www.analog.com/.../adswp-lwip.html
We request you to refer the Ethernet loopback code available in POST example project in the below BSP installation path.
Please go through "readme.html" available in the following path C:\Analog Devices\ADSP-BF609_Evaluation_Board-Rel1.0.3\BF609_EZ-Board\Blackfin\Examples\Power_On_Self_Test for hardware setup before running the loopback code
Thanks for your reply Santha.
As per your suggestion i installed adsp-lwip then i tried file server example program which is located in below path.
I gave static IP address. Im changed variable i.e use_dhcp as 1 to 0.In file
After running that program on both sides (server and client side). I got the below error attached with the post.
Could you please confirm whether you followed the "hardware setup" given in the "Readme" doc available in the lwip installation path C:\Analog Devices\lwIP_Stack-Rel2.6.0\lwip\Blackfin\examples\fileserver
And also please confirm whether you have provided your PC's host IP address in the file app_main.c at line :35 #define FILE_SERVER_HOST_ADDRESS
Could you please share us your connection setup like how you are connecting pc and ezkit. If you are using LAN environment, is it connected via Router with DHCP capability.?
In order to evaluate the examples, we recommend connecting the Blackfin EZ-KIT to the same LAN as your PC. If LAN environment is not present then we recommend connecting both EZ-KIT and the PC to a router with DHCP capability. By default all examples use DHCP server to obtain the IP address.
Please provide the details to us.
Could you please try to run the test code in DHCP environment. As we mentioned already, all lwip examples use DHCP server to obtain the IP address. Please refer "Read me" 3.3 Network connectivity for more details.
Please try and let us know how you are getting on.
Thanks & Regards,