2025-03-25 7:21 AM
Hello STM community,
we have been developing our graduation projects on a custom pcb with an stm32h723vet6 for the past few weeks and have come upon a problem/bug? with the x-cube-ai. Our Project takes data via an adc, runs it trough a neural network and is then supposed to send the results via ethernet, all this in freertos. All the parts seperatly work just fine. However in the ethernet project, if we jsut enable x-cube-ai 8.1 or 9.0, or any other version, lwip stops working.
For our lwip proof of concept we followed this tutorial https://community.st.com/t5/stm32-mcus/how-to-create-a-project-for-stm32h7-with-ethernet-and-lwip-stack/ta-p/49308, which worked just fine after some modification. We had to place the lwip heap at 0x24000000 because the ioc file says so.
This replys to arp request, is pingable an all around just works, however as said once we just activate x-cube-ai, not even input a model, none of this works. anymore. After some debugging we believe it to be a memory problem, because pbuf_alloc always returns NULL, but we are just stuck. Has anyone encountered something similar?
Thanks for any hints and help!