Embedded Ethernet Programming with HAL

Embedded Systems Bare-Metal Ethernet Programming

  • Embedded
  • Systems
  • Bare-Metal
  • Ethernet

3 comments

Pradeep Wagre
6 months ago

Hello All, I came to know in the course Embedded Systems Bare-Metal Ethernet Programming last video related to STM32 as TCP Client is not uploaded yet, I am asking this because after completing the last session i.e STM32 as TCP client I am facing an hard fault issue.
tcp_client->p = pbuf_alloc(PBUF_TRANSPORT,buff_len,PBUF_POOL.

Wattanai
11 months ago

Thank you TeachingAssistant, I try follow same code in the course and I found that if I put this code in while loop(main.c)

ethernetif_set_link(&gnetif);

it will loop checking connect/disconnect the cable.
So, it is what I desire now.

Thank you

TeachingAssistant
11 months ago

Hi,
just follow the same code in the course.
It will work just fine since the core is the same and the ethernet controller is the same also.
Try the code in the source code section.