Skip to main content
Bilge
Associate III
Question

ethernet communnication with STM32h7 NUCLEO cubemx and keil

I use stm32h7 microcontroller and I want to make ethernet communication cubemx and keil .However I didn't find resources or examples.

    This topic has been closed for replies.

    6 replies

    Khouloud GARSI
    ST Employee

    Hi @Bilge​ ,

    I recommend to refer to the example "LwIP_HTTP_Server_Netconn_RTOS" provided under the STM32H7 cube package. It's found under the path below:

    STM32Cube\Repository\STM32Cube_FW_H7_V1.3.0\Projects\STM32H743ZI-Nucleo\Applications\LwIP

    Also, refer to to the FAQ "Ethernet not working on STM32H7x3":

    Link: https://community.st.com/s/article/FAQ-Ethernet-not-working-on-STM32H7x3

    Khouloud.

    ranran
    Senior

    Hello,

    Is there a way to regenerate ico from the ethernet example ?

    I find it really difficult to create functional ethernet if I just use stm32cubemx as a starting point.

    So, I need to make the example our starting point for the project.

    Thanks,

    ran

    Bilge
    BilgeAuthor
    Associate III

    Hi ,

    You can make basic configuration on stm32cubemx because some settings come missing and failing to keil from cubemx .I have an application without rtos on my page ,You can look,but there was a packet loses and I din't find any solution .

    hkavi.695
    Associate II

    hi @Bilge​ 

    I have the same problem, how did you solve your problem?

    thanks.

    Bilge
    BilgeAuthor
    Associate III

    Hi,@hkavi.695​ 

    I've struggled stm32h7's ethernet for a long time.There're lots of problem.I got a working ethernet project.The file compiled by cubemx doesn't work so, I shared a running example .This will guide you.

    Piranha
    Principal III

    Look at his profile - does it look like he has solved anything? No! Because CubeMX is made by ST's dumb code monkeys and is a swamp, in which you'll stuck and never make network and most of other parts working.

    https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32