PIC32MX Ethernet Starter Kit

jdboyd wrote on Sunday, May 22, 2011:

Does anyone have FreeRTOS working with ethernet on the PIC32MX Ethernet Starter Kit board?  If so, are you using lwIP, or one of the tcp/ip  (and maybe http) stacks from Microchip?

I have FreeRTOS running on the board, and I moved the timer interrupt from 1 to 5, as suggested by Microchips AN1264 application note, but I’m having trouble getting beyond that.  Their provided examples don’t want to build for this chip.  The FreeRTOS.org example seems to not include ethernet support.

rtel wrote on Sunday, May 22, 2011:

I will have a uIP example for that board soon, but don’t know exactly when yet.

Why do the Microchip provided examples not want to build for that chip?  Can you elaborate?  Or do you mean the FreeRTOS provided examples don’t build for that chip?


jdboyd wrote on Wednesday, May 25, 2011:

I apologize for the lack of clarity.

The FreeRTOS.org provided examples have always worked for me (within reason) without trouble, across 3 platforms.  For the PIC32MX, I just had to remove tasks that depended on hardware that wasn’t present and add the #pragma you mentioned elsewhere, I believe.  A little work, but then the example was clearly for a regular PIC32.

I am excited to hear that uIP is coming soon, although I suspect it won’t be soon enough for my needs.  If it had support uIP or lwIP, I would have ourchased your pic32 freertos guide.

The non-working examples I was grumbing about were some of the examples from Microchip, including the source code supplied with AN1264, which includes FreeRTOS combined with their application libraries.