2020-02-17 11:01 PM
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
2020-02-18 12:41 AM
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?