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++

Nios-V with FreeRTOS

XleraSolutions
Beginner
831 Views

Hi All,

 

I have an existing design using Nios-V with FreeRTOS, built on Q23.4. I updated to Q24.1 and all of the drivers for altera/intel components (TSE, mSGDMA, SPI, etc) do not get included in the BSP. Only the altera uart and jtag uart make it in there (as do my custom modules with drivers). 

 

If I select HAL for the BSP they are there. If I choose FreeRTOS they are not. They all were there with FreeRTOS on Q23.1, just not on Q24.1.

 

I notice that the *_sw.tcl files for these modules do not have a line for "add_sw_property supported_bsp_type FREERTOS" under <install>\24.1\ip\altera. They did not in Q23.4 either but still made it.

 

Assuming Q24.1 now respects that, I tried to add to see what happens, but no luck.

 

0 Kudos
9 Replies
JingyangTeh
Employee
769 Views

Hi


Could you try try sharing me your project file and I could try take a look at the design on my end?


Regards

Jingyang, Teh


0 Kudos
XleraSolutions
Beginner
748 Views

Hi,

 

Sure, I put together a simple project that demonstrates the issue (qar attached).

 

It only has the qsys module and bsp (test.qsys and test.bsp). The QSYS has the nios-v plus JTAG UART, I2C Master, SPI, and PIO. When you generate the BSP for FreeRTOS, only the driver for the JTAG uart is there, not for the others (see screenshot).

 

I ran the project on Q23.4 to ensure the drivers are all present when you generate the bsp (they are).

 

Thanks!

0 Kudos
XleraSolutions
Beginner
585 Views

Any update on this? Thanks!

0 Kudos
JingyangTeh
Employee
535 Views

Hi


Sorry for the late response as there is a sudden surge of cases to be handled.

I managed to reproduce this issue on my end and have filed a case to the engineering team .

Will update you once engineering replied on this case.


Regards

Jingyang, Teh


0 Kudos
XleraSolutions
Beginner
519 Views

Perfect, thank you!

0 Kudos
JingyangTeh
Employee
449 Views

Hi


This have been acknowledge by the engineering team that the FreeRTOS BSP Generation for NiosV is not available in 24.1 and still working on this and did not provide a timeline on fixing this.

Short term if you are required to use FreeRTOS, please stick with 23.4 at the moment.


I tested out the quick hack on the editing the tcl script but it is not working on generating the BSP for FreeRTOS.


Regards

Jingyang, Teh


0 Kudos
XleraSolutions
Beginner
302 Views

Ok, thank you. Please keep me posted.

0 Kudos
JingyangTeh
Employee
145 Views

Hi


Sorry for the bearer of bad news.

Engineering is currently aware of this breakage and due to their deliverables that is planned for this year they are unable to release a fix within this year.

The earliest possible plan for this would be next year.


If it is ok with you can we proceed to close this case?

I will post the internal HSD Case number so that you could follow up with us on this issue in the future. 15016036458


Regards

Jingyang, Teh



0 Kudos
XleraSolutions
Beginner
116 Views

Hi Jingyang,

 

So, FreeRTOS on Nios-V is no longer supported?

0 Kudos
Reply