STM32H743 + Ethernet LwIP (no OS) | Modbus TCP/IP -> communication quits
Hi everyone,
I own a nucleoH743ZI2 board trying to implement a Modbus TCP/IP protocol over a LwIP package. It's crucial for my application not to add FreeRTOS or any other OSs. The software used for the FW development and configuration is CubeIDE 1.13.1 and CubeMX 6.9.1.
There is a number of examples around the internet describing how to set correctly the project, some of them are not even coherent one to another. I'm aware I am missing some notions, some very low level ones about memory management and most likely those notions prevent me from solving my issue.
I successfully implemented the LwIP stack on the nucleo board, ping is performing correctly. Now I'm trying to operate the modbus protocol as well, the nucleo operates as server and I use my laptop with a dedicated SW tool as client. The connection and data exchange starts for a few seconds, then it goes directly in "Write error" and "Read error". The nucleo board can't be pinged from that moment on.
I believe it is a memory management wrongly configured. I guess the DMA might be pointng to the wrong address or something since it works for a few requests.
Have you encountered the same issue while implementing this peripheral? Maybe you have found some workaround that could be helpful. I've seen some old threads about it, but i expect the drivers to be well fixed as of today.
I'll attach what I believe are the three main files for this kind of debug.
Zack
