Are there any avalible examples with FreeRTOS+TCP using the STM32Fxx HAL generated with STM32CubeMX?
I included FreeRTOS in the STM32CubeMX project and then added in the FreeRTOS+TCP files after generating the code but I’m not sure where to go from here.
As a quick answer, have a look at the download in freertos.org/tcp for a demo project using STM32F4
For the FreeRTOS+TCP library, you better take the latest from AWS github
I’m currently working on a combined driver for STM32F4 and F7. Here is an earlier version of that driver:.
Right now I have little time, but I will publish the latest driver once it is well tested. With a few days time.
I found this demo while looking at the FreeRTOS+TCP site.
I’m using a STM3240G-EVAL board. I was using IAR but I’ve downloaded TrueSTUDIO to try and run the demo. I followed the set up instructions and updated the IP, Gateway and Mask however I have been unable to connect to the board and see the UDP logging or find the board on the network.
I will take a look at the drivers you provided and see if I can get anything going - thank you very much.
The link to UDPTerm on the STM3240G demo page is also broken. I have been trying to find another program to do the same thing but I haven’t found a replacement yet.
The link to UDPTerm on the STM3240G demo page is also broken. I have been trying to find another program to do the same thing but I haven’t found a replacement yet.
Hi Kathryn, unfortunately the Ethernet port of my STM3240G-EVAL has broken. I still have a STM32F4 Disco board that works well.
For the EVAL board, you will have to define ipconfigUSE_RMII=0.
A Discovery board has a Reduced Media Independent Interface, and ipconfigUSE_RMII is defined as 1.
The demo was written for a STM3240G-EVAL, so the port settings and CPU clocks should be OK.
Can you check if in the module phyHandling.c the PHY can be accessed? Can de ID be established?
Does the auto negotiation work out OK? Do you see a Link Status?
Ones the Link Status is high, the IP-stack will start sending gratuitous ARP packets, can you see those packets in WireShark?
The LEDs on both the RJ45 port on the board and on the Netgear switch I’m using suggest that a link has been established but there is no data being sent. I can’t see any ARP packets in Wireshark.
We’re getting into many details now that are possibly not too interesting for this forum.
Would you mind to drop an email to h tibosch freertos org
and we’ll get it working