2024-01-16 03:20 AM
Hi,
I'm trying to implement an STM32H735 device with LwIP and FreeRTOS. I've been following this documentation: https://community.st.com/t5/stm32-mcus/how-to-create-project-for-stm32h7-with-ethernet-and-lwip-stack/ta-p/49308
Although I've managed to resolve debugging errors, I'm still unable to successfully ping the device. Any assistance from fellow developers would be greatly appreciated.
Solved! Go to Solution.
2024-01-16 05:35 AM
Okay, I've managed to successfully ping. My goal is to build layer by layer until implementing Azure IoT.
By the way, I followed this video: https://www.youtube.com/watch?v=8r8w6mgSn1A&list=PLfIJKC1ud8ggZKVtytWAlOS63vifF5iJC
I ignored PoolSection.
I'll post again if I encounter more issues.
Best wishes.
2024-01-16 03:43 AM
Hii @HispaEmo Compare Ethernet GPIOs pins configured in CubeMx with GPIOs Pins mentioned in your Device Data sheet. if pin is configured wrongly then correct it. otherwise mentioned your what exact issue your facing.
2024-01-16 04:09 AM
Hello @JJhin.1
Thank you very much for responding. I've been trying this for a few days, and your guidance is really helpful. I'll be more specific so that we can resolve it as soon as possible.
Starting with the pins:
As you mentioned, the first thing I checked was the pins, as the CubeMX tends to assign them incorrectly.
Here comes my first question: with STM32H735, is Ethernet configuration possible with MII? Because in the board's schematic, I only see pins associated with RMII.Regarding Rx_PoolSection, I've read that it's not necessary to define it, although I've tried modifying the ethernetif.c file.
I usually set:
Tx 0x30000100
Rx 0x30000000
Rx_PoolSection 0x30000400
The configuration of the Cortex M7 and its memory regions is one of the things that generates the most doubt for me. What size should I use, and what are the MPU options?
I would like to know the most relevant options that may have changed in https://community.st.com/t5/stm32-mcus/how-to-create-project-for-stm32h7-with-ethernet-and-lwip-stack/ta-p/49308.
I'm reading your response carefully, and thank you very much.
2024-01-16 05:35 AM
Okay, I've managed to successfully ping. My goal is to build layer by layer until implementing Azure IoT.
By the way, I followed this video: https://www.youtube.com/watch?v=8r8w6mgSn1A&list=PLfIJKC1ud8ggZKVtytWAlOS63vifF5iJC
I ignored PoolSection.
I'll post again if I encounter more issues.
Best wishes.
2024-01-29 07:31 AM
Does it mean STM32IDE also could assign them incorrectly?
2024-01-31 05:01 AM
yes ETH pins pb10 pb11 pb12...
2024-01-31 06:41 AM
Thank you for mentioning the specific pins that might be wrong.
What versions of STM32IDE would that happen? I am using STM32IDE 1.13.1, and it seems to always configure it correctly.
2024-01-31 06:49 AM
1.14
2024-01-31 07:15 PM
If your using NUCLEO board then there you'll face a problem i.e. in F207 board its having 144 pin mcu ic and CubeMx is initializing pin for Ethernet according to 100 pin mcu ic ...