FreeRTOS+TCP with PIC32MX795F512L (Cerebot Mx7ck board)

ferretina wrote on Sunday, September 08, 2019:

Hello!

I’m trying to add FreeRTOS’s TCP/IP source files into a project that uses the Cerebot Mx7ck board with the PIC32MX795F512L chip. I looked through the demos and wasn’t able to find anything related to the PIC32 family of microcontrollers, so I’ve been trying to port FreeRTOS+TCP by following the process described on the FreeRTOS website: https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/Embedded_Ethernet_Porting.html#NetworkBufferDescriptor_t

I was wondering if anyone has successfully done this before? So far the project builds with all the TCP/IP files included, but I’m struggling to figure out all the pieces needed to get the Ethernet MAC driver setup and I’d appreciate any pointers.

Thanks!

heinbali01 wrote on Sunday, September 08, 2019:

Yes sure there is a driver for FreeRTOS+TCP for the PIC32, in the official repo of AWS/FreeRTOS.

Here is a demo

It uses this +TCP driver, which runs on a PIC32MZEF board. I don’t now how compatible that is with your Cerebot Mx7ck board. Also look at the type of PHY used.

If you want to use the LAN, please define PIC32_USE_ETHERNET globally. If not defined, the WiFi driver will be included.

If you have more questions, feel free to ask in this post.

zizou96 wrote on Monday, December 03, 2019:

Hi,
'm using freeRTOS+tcp/ip on pic32mzef
im trying to implement the ethernet module with LAN8720A
my actual problem is when i send a data on the client, i can’t find it on the server.
im using simple client and server tasks.

See here FreeRTOS+TCPIP