cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet failed over RTOS on Board NucleoF767ZI

dadanugm07
Associate II

Hi All,

I have a problem on Ethernet connection while using RTOS, I tried to figure it out but no positive result. Everything is fine (Ethernet is working) until I use RTOS. I tried to find the solution in CubeMX example package, and this article https://community.st.com/s/article/FAQ-Ethernet-not-working-on-STM32H7x3 <- on how to configure MPU for ethernet, but still got no result.

My program used to publish periodically a simple payload to mqtt-server via ethernet, unfortunately when i scanned my device using IP scanner, none of my device was found in the network.

has anyone faced the same problem?

what is probably the cause of this problem?

Board : NucleoF767ZI

Compiler : True Studio

Compiler setting : No Optimization

MQTT lib : http://www.nongnu.org/lwip/2_0_x/group__mqtt.html

Here I attach main.c file and cubemx setting.

Regards

1 REPLY 1
dadanugm07
Associate II

Update, Ethernet is actually working when testing_mqtt task is disable.

// osThreadDef(testing_mqtt,test_mqtt,osPriorityNormal,0,128);

// osThreadCreate(osThread(testing_mqtt),NULL);

anyone knows why?