2022-07-25 01:28 AM
Please any one done this project please give me.I am trying too many times.
Solved! Go to Solution.
2022-07-25 09:31 PM
2022-07-25 02:57 AM
So what, exactly, have you tried? Where are you stuck?
Did you try a Google search?
When searching for code, GitHub is a good place to search ...
2022-07-25 03:46 AM
I have a stm32f429 nucleo board.and in that board already attached lan8742a chip and ethernet port also.I cant hardware configure.I searched google and github also no clue i have found. whenever I write in cmd prompt "ipconfig" that time default ip shows every time. I want to show my static ip like 192.168.001.111.
2022-07-25 08:43 AM
OK, so you have the NUCLEO-F429ZI. Hardware should be OK then.
> "whenever I write in cmd prompt 'ipconfog'"
A command prompt on your PC? Or do you have a command prompt running on your NUCLEO board?
> "default IP shows every time"
What "default IP"? How are you expecting your NUCLEO board to get the 192.168.... IP address? Did you edit the STM32 source code? If so, show the code. Or are you trying to get your PC to use that address (as implied by mentioning IPCONFIG)? That is unclear to me from your posts.
2022-07-25 09:31 PM
2022-07-25 10:06 PM
What are the IP settings on your PC (IP add, netmask and gateway). Is there a router/gateway between your PC and the NUCLEO board? Or just an Ethernet switch?
Check the CubeMX Ethernet "Advanced Parameters" tab. In my experience (using CubeMX 6.3, can't recall if I've tested with later versions), CubeMX defaults to some incorrect register addresses and bit field values. You will need to double-check those values with the LAN8742 data sheet. Specially the "Extended External PHY Config" registers, but double-check all those settings.
Which version of CubeMX and the CubeF4 library are you using to generate this code?
Is the Ethernet cable plugged into the Nucleo board when it is powered on (or the firmware started from the debugger)?
2022-07-25 10:11 PM
sir this is my PC(IP,net mask,gateway) configured.
2022-07-25 10:13 PM
this is advance parameter options that i have set.
2022-07-25 10:32 PM
STM32Cube FW_F4 v1.25.1
version 1.9.0
2022-07-26 01:36 AM
Thanks sir..all of you guys.
Its perfectly working now. Thanks once again