FreeRTOS +TCP on Microblaze

andrewfrazer wrote on Saturday, October 27, 2018:

Has there been a port for FreeRTOS + TCP on microblaze. ( Xlinix Artic-7 ). Everything i’ve seen appears to be using LwIP? I’m curious is there some reason for this. I would have thought using the TCP would have been a logical extension.

heinbali01 wrote on Saturday, October 27, 2018:

There is a +TCP port for Xilinx Zynq. But I don’t know if that can be applied for microblaze

andrewfrazer wrote on Sunday, October 28, 2018:

Would there be any advantage to using FreeRTOS+TCP vs FreeRTOS + LwIP ?

andrewfrazer wrote on Monday, October 29, 2018:

Having looked at LWIP, ( rugh ), i’m hoping that porting to Microblaze wont’ be too hard. I’m concerned i guess about how well the drivers will work.

heinbali01 wrote on Monday, October 29, 2018:

Would there be any advantage to using FreeRTOS+TCP vs FreeRTOS + LwIP ?

Most importantly: +TCP is built on top of FreeRTOS. It is built on the notion of tasks that communicate with each other. The most important task is the IP-task that performs all actions for TCP/IP and other protocols.

API’s to the IP-task are implemented with the use of a queue. Blocking API’s often use Event Groups. That makes it possible to share a socket between two tasks: one for writing, and the other task for reading ( in case you find that useful ).
Since about a year, FreeRTOS+TCP also has secure sockets.

lwIP is ahead with IPv6: it is available in v1.4.x and higher. For FreeRTOS+TCP there is only an experimental implementation of IPv6, but plans are to finish that in the first half of next year.

If you want to write a driver for FreeRTOS+TCP, I can help you. I normally give that help directly, by email, because it involves so many details and questions.

andrewfrazer wrote on Monday, October 29, 2018:

Theres a LOT of good reasons to use FreeRTOS+TCP over LwIP. It just seems that the Xilinx world used LwIP because its what it had back in 2001 when it needed it. For what ever reason its never made it to the mainstream.

It would be wonderful to get a FreeRTOS+TCP port for Microblaze and i’m sure it would be useful to many people.

I’m very new to this, and as yet, i am not sure whaty this entitles… I’d love to discuss it further with you though.

heinbali01 wrote on Tuesday, October 30, 2018:

I’d love to discuss it further with you though.

Sure, my email address is: “hein at htibosch dot net”

andrewfrazer wrote on Tuesday, October 30, 2018:

HI, i emailed you, hopefully you got it.