cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H735 with Ethernet & LAN8710A PHY

dacha.1
Associate II

Hello 

I am triyng to use STM32H735 with ethernet (ln8710A is the PHY) 
We have hardware fault when we connect the cable (se the itm print below)
We use CubeMx version Version: 1.18.0
ETH is in RMII conection is OK

dacha1_1-1750063232727.png

 

 

dacha1_2-1750063273389.png

 

 

dacha1_0-1750062122111.png

 

 

7 REPLIES 7
Andrew Neil
Super User

Welcome to the forum.

Presumably, this is custom hardware?

Therefore, please post your schematic. Also what tools, middleware, versions, etc

See: How to write your question to maximize your chances to find a solution

 


@dacha.1 wrote:

We have hardware fault when we connect the cable (se the itm print below)


How to debug Hard Faults:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51

 

PS:


@dacha.1 wrote:

ln8710A is the PHY


Did you mean LAN8710A ?

https://www.microchip.com/en-us/product/lan8710a 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
dacha.1
Associate II

the hardware is good 
we have test many configurations for memory position for Rx Tx and LwiRamHeap

In certain conditions hi dont remember its , I succeeded to ping my board , but 
after several try of ping we have hardware fault

We think that it was bad configuration for Rx Tx and the heap description .

Can you help me to fit the good comfiguration 

 

Note that it's a "Hard Fault" - which is not necessarily a hardware issue.

https://developer.arm.com/documentation/dui0552/a/the-cortex-m3-processor/fault-handling

 

Again, see how to debug Hard Faults:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51

 

And did you mean LAN8710A ?

https://www.microchip.com/en-us/product/lan8710a 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
dacha.1
Associate II

Now the stack is running

When we try to ping the board the response is OK

C:\Users>ping 192.0.1.218 -t

Envoi d’une requête 'Ping' 192.0.1.218 avec 32 octets de données :
Réponse de 192.0.1.218 : octets=32 temps<1ms TTL=255
Réponse de 192.0.1.218 : octets=32 temps<1ms TTL=255
......................................

but we have DMAErrorCode=0x4080 ? why ?

dacha.1
Associate II

Duplicate - merged.


Hello

I’m using an STM32H735VGT6 with the PHY LAN8710, the hardware of the board is working.

I managed to generate a ping to the IP address: 182.00.01.228.

the configuration was :

dacha1_0-1750175070104.png

Ethernet :

dacha1_1-1750175126247.png

Lwip

dacha1_2-1750175244349.png

dacha1_3-1750175347736.png

When we connect the cable hard fault :

dacha1_5-1750176074627.png

dacha1_4-1750176042035.png

Nota : this project have been worked one night whithout probleme ,We dont understand .

We have not modified anythink and then he dont work ???

Is some one have develop an ethernet project with the stm32h735...

Please help

So have you tried to debug your Hard Fault?

 

Again, see:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51

 

See also:

Ethernet not working on STM32H7x3

Debugging tips when working with an Ethernet peripheral

 

And more:

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=includeTkbs&inactive=false&include_tkbs=true&q=ethernet

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Billy OWEN
ST Employee

Hi @dacha.1 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy