‎2021-09-28 02:49 AM
I have experience with Arduino, but I have no experience with other boards, so I am having difficulties for a few days.
​
I am using the "NUCLEO-F207ZG" board.
What I want is to send a ping to the NUCLEO-F207ZG board.
After adding a project to STM32IDE, create CubeMX (ioc), select ARM Cortex-M3, and select STM32F207ZG series.
​
The code was generated by selecting "ETH - RMII", "LWIP - Enable", "High Speed ​​Clock(HSE) - BYPASS Clock source", "Low Speed ​​Clock(LSE) - Crystal/Ceramic Resonator".
After that, inside the while statement, MX_LWIP_Process(); was added.
The ethernet socket has both green and yellow lights on, but not blinking.
But it doesn't look like the IP has been set. I tried both STATIC and DHCP, but no IP was assigned.
​
I saw a blog and tried it by referring to it, and the debug goes without errors, but it doesn't work.
​
Below is the project github address
https://github.com/parksy1775/nucleo207fzg
​
Am I missing something or am I doing something wrong?
​
Please.... Thank you
‎2021-09-28 09:06 PM
Have you tried to build and run existing examples from the 'Cube' package such as this?
Make sure to run at least one ready and tested example, before generating your own with CubeMX.
Note that these examples are NOT created using CubeMX and there's no .ioc files in them... It's a different story.
‎2021-09-29 05:35 AM
The frequency for the HSE is incorrect.
‎2021-09-30 06:23 PM
I tried to run the example, but it is not possible because cubeIDE does not run it.
I'm still not used to it, so I'm upset
‎2021-09-30 06:26 PM
I tried various clock values. In fact, the error of setting the ip address to 0 has been resolved, but in the STATIC setting, the ping is still not transmitted, and in the case of DHCP, an incorrect ip value is provided.
‎2021-10-01 04:07 PM
You don't have to enter various HSE values, but the correct one, which is written ir the board's user manual.
As for the networking itself...
‎2021-10-03 06:31 AM
> cubeIDE does not run it.
CubeIDE should be able to import this via Import-> ac6 System Workbench project.
Looks like "Import STM32Cube example" widget does not support any STM32F2 boards :(
‎2021-10-04 06:02 PM
That's too bad...:sad_but_relieved_face:
Thank you for your help:grinning_face:
‎2021-10-04 06:04 PM
I will try it.
Thank you :)