cancel
Showing results for 
Search instead for 
Did you mean: 

Eth failed to work after few minutes with CubeMx Configuration

lavanya
Associate III

I am working with STM32H747I -DISCO board 

I am using CubeMx version 6.15, firmware: H7_V1.12.2, Freertos CMSIS2 - V10.3.1

configuration 1 : Generating from touchgfx and configuring Eth other all parameters commented in code (Touchgfx parameters).

Here ETH is working fine 

configuration 2 : only configuring ETH with same configurating as above but generating from cubemx 

Here Eth Communication worked for abt 10 to 20 min and then MCU stucked.

I compared both projects : it's all same (MPU configuration Linker script DMA Descriptor and RAM Heap pointer) ...middleware package, CMSIS files, Freertos config files, Lwip folder(lwip.c .h and ethernetif.c and lwipopt.h),LAN files all are same but still I am facing this issue.

 

I have attached wireshark snip when MCU got stucked 

and IOC files 1. Touchgfx generated 2. CubeMx Generated 

 

@STea @STackPointer64 

1 REPLY 1
TDK
Super User

A program failing after 10-20 minutes could mean an issue with memory handling. Perhaps you are leaking memory, or a buffer write it out of bounds. Pause the program when it's "not working" and figure out the symptoms and cause.

If you feel a post has answered your question, please click "Accept as Solution".