Skip to main content
Explorer II
November 28, 2024
Question

LwIP Ethernet in STM32H7 working in STM32CubeIDE but not in IAR

  • November 28, 2024
  • 4 replies
  • 2662 views

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

    This topic has been closed for replies.

    4 replies

    Super User
    November 28, 2024

    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 ?

    Lucifer37Author
    Explorer II
    November 28, 2024

    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

    Super User
    November 28, 2024

    Enable LwIP diagnostic traces in both.

    Compare & contrast ...

    Technical Moderator
    November 28, 2024

    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

    Lucifer37Author
    Explorer II
    December 7, 2024

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