cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet : LwIP stm32h735 Memory

HispaEmo
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
HispaEmo
Associate III

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.

View solution in original post

8 REPLIES 8
JJhin.1
Senior II

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.

HispaEmo
Associate III

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.
 
HispaEmo_1-1705406861376.png
 
 
 

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?

HispaEmo_2-1705406930462.png

 

 

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.

 

HispaEmo
Associate III

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.

Does it mean STM32IDE also could assign them incorrectly?

yes ETH pins pb10 pb11 pb12...

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.

1.14

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 ...