Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NiosV FreeRtos TCP/IP stack

ser1
Novice
1,451 Views

Nios-V Processor Software Developer Handbook mentions support for FreeRTOS.

 

Is there also some TCP/IP stack ported to FreeRTOS and Tripple Speed Ethernet IP?

0 Kudos
1 Solution
ser1
Novice
1,341 Views

Ok,

 

So, I guess, there is no TCP/IP stack ported for Nios-V + TSE + FreeRTOS combination.

 

I think links below might be useful to anyone seeking answer to the same question:

 

- There is uC TCP/IP stack for uC-OS (Nios-II and Nios-V + TSE): https://github.com/weston-embedded/uC-TCP-IP/tree/develop , unfortunately, looks like development has stopped for uC-OS and uC-TCP-IP, great example for adding TSE support to other stacks.

- There are example designs with niche stack (Nios-II + TSE). At least now, these can be found https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-examples/horizontal/exm-tse-sgdma.html . Niche-stack itself is not recommended by Intel.

- There are some relatively old lwip ports to FreeRTOS (Nios II + TSE), lwip is not recommended by intel: 

https://github.com/EngineeringSpirit/FreeLwIP-Nios-II 

https://github.com/NetTimeLogic/FreeLwIP-Nios-II

 

FreeRTOS Plus TCP/IP Stack porting guide:

https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/Embedded_Ethernet_Porting.html

 

 

View solution in original post

0 Kudos
5 Replies
KellyJialin_Goh
Employee
1,408 Views

Hi,

Greetings and welcome to Intel's forum.


Yes, The Nios V processor tools contains the µC/OS-II RTOS and the µC/TCP-IP software component with the information here for your reference: https://www.intel.com/programmable/technical-pdfs/726952.pdf (Section 5. Nios V Processor - Using the MicroC/TCP-IP Stack)


The design example is also available for the MicroC/TCP-IP porting to Triple Speed Ethernet for the Arria10 device with the steps here: https://www.intel.com/programmable/technical-pdfs/726952.pdf (Section 5.4. MicroC/TCP-IP Example Designs). You may also use your own devkit by following the steps above to obtain the hardware Triple Speed Ethernet design example.


Hope this clear your doubts.


Thank you.

Regards,

Kelly Jialin, GOH


0 Kudos
ser1
Novice
1,403 Views

Hi Kelly!

 

Thanks for the links on the µC/OS-II RTOS and the µC/TCP-IP.

 

My question is about FreeRTOS. What stack should be used with FreeRTOS?

https://www.intel.com/content/www/us/en/docs/programmable/743810/23-1/the-processor-implementation-of-freertos.html

 

0 Kudos
KellyJialin_Goh
Employee
1,361 Views

HI,

The stack to use with RTOS will be the MicroC/TCP-IP stack.


Here are some information and steps on the MicroC/TCP-IP stack: https://www.intel.com/content/www/us/en/docs/programmable/726952/23-1/introduction-03876.html


Hope this clarifies your doubts.


Thank you.


Regards,

Kelly


0 Kudos
ser1
Novice
1,342 Views

Ok,

 

So, I guess, there is no TCP/IP stack ported for Nios-V + TSE + FreeRTOS combination.

 

I think links below might be useful to anyone seeking answer to the same question:

 

- There is uC TCP/IP stack for uC-OS (Nios-II and Nios-V + TSE): https://github.com/weston-embedded/uC-TCP-IP/tree/develop , unfortunately, looks like development has stopped for uC-OS and uC-TCP-IP, great example for adding TSE support to other stacks.

- There are example designs with niche stack (Nios-II + TSE). At least now, these can be found https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-examples/horizontal/exm-tse-sgdma.html . Niche-stack itself is not recommended by Intel.

- There are some relatively old lwip ports to FreeRTOS (Nios II + TSE), lwip is not recommended by intel: 

https://github.com/EngineeringSpirit/FreeLwIP-Nios-II 

https://github.com/NetTimeLogic/FreeLwIP-Nios-II

 

FreeRTOS Plus TCP/IP Stack porting guide:

https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/Embedded_Ethernet_Porting.html

 

 

0 Kudos
KellyJialin_Goh
Employee
1,310 Views

Hi,

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.

 

Thank you.

Regards,

Kelly Jialin, GOH

 


0 Kudos
Reply