cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP Ethernet in STM32H7 working in STM32CubeIDE but not in IAR

Lucifer37
Associate III

Hi, 

I'm using STM32H745ZI implemented ethernet with Lwip it's working fine STM32CubeIDE(ver-1.90.0) but not in IAR(ver-9.30.1) like any changes that I need to do in .icf  file of IAR because it's working fine Cube IDE

7 REPLIES 7

Have you tried debugging in IAR to what's failing, and where?

Do you have any other project(s) that work(s) on both STM32CubeIDE and IAR ?

Lucifer37
Associate III

ping(IP address) is not working in IAR (request message come back in command cmd), Actually the same project is working in both IAR and CubeIDE but when I added Ethernet Lwip it stopped working in IAR

Enable LwIP diagnostic traces in both.

Compare & contrast ...

Lucifer37
Associate III

How to do that? 

STOne-32
ST Employee

Dear @Lucifer37 ,

 

in same cases, it is a matter to increase inside the .icf file the heap and stack size for RAM areas , check both linkers file and try to increase to a larger allocation .

Hope it helps ,

STOne-32

Hi @STOne-32 , @Andrew Neil

When FDCAN is enable it receiving data through CAN bus at that time Ethernet is not working, In middle some times response ping is working, After resetting stm32 board ping is working but after some times it stopped working,

Does FDCAN cause problem, because FDCAN receiving more data like more traffic is there so ethernet timeout happening. FDCAN using at 500kbps

After removing FDCAN it's working perfectly fine..............WHY I want both should work FINE...