Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20644 Discussions

"Description Resource Path Location Type fatal error: altera_msgdma.h: No such file or directory". This is the error I'm getting if I run Nios II Simple Socket Server (16.0) in the Intel Quartus version 17.1

APaga1
Novice
1,505 Views

I have downloaded the .par file from the link (https://fpgacloud.intel.com/devstore/platform/16.0.0/Standard/nios-ii-simple-socket-server-ethernet-example-for-cvgt/) and followed the steps to create software project as given in the pdf https://www.altera.com/en_US/pdfs/literature/tt/tt_nios2_tcpip.pdf .

The quartus version that I've used is 17.1.

If I use Quartus version 16.0, I am getting the different errors related to "DESCRIPTOR_MEMORY_BASE" undeclared here (not in a function).

I am attaching the screenshots of the errors related to both versions i.e. 16.0 and 17.1.

 

I have even tried the fixes that are mentioned in https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/solutions/rd08112014_745.html

wherein I have used eth_std_main_system.qsys as the QSYS_TOP mentioned in that link. But it couldn't reslove.

 

Kindly help me out

17.1_problems.png16.0_problems.png

0 Kudos
4 Replies
MEIYAN_L_Intel
Employee
1,420 Views

Hi,

 

This issue seems like due to SGDMA to MSGDMA migration. Intel is recommending the MSGDMA. Please check this document:

https://www.altera.com/en_US/pdfs/literature/ug/ug_embedded_ip.pdf (page 297) First line. This change applied also to the TSE, the drivers expect to work with msgdma not sgdma.

 

Could you try to change from the sgdma to msgdma in your .qsys file?

 

For your information, there is an example for Nios II Simple Socket Server Ethernet in Quartus Prime Standard v17.1.1: https://fpgacloud.intel.com/devstore/platform/17.1std.1/Standard/nios-ii-simple-socket-server-ethernet-example/,

 

Also, there is an forum community discuss about this problem, you can see the detail in link below:

https://forums.intel.com/s/question/0D50P00003yyTe9SAE/nios-simple-socket-sever-template-cant-compile

 

Thanks

 

0 Kudos
APaga1
Novice
1,420 Views

I will try changing  from the sgdma to msgdma in the .qsys file. The example for Nios II Simple Socket Server Ethernet in Quartus Prime Standard v17.1.1 is for the MAX 10 board. My exploration is limited to Cyclone GT V. Thank you for your reply.

0 Kudos
APaga1
Novice
1,420 Views

Hello MeiYanL!! By looking at the MAX 10 solution, I've found that the sgdma is being used there in its version 17.1. Can you please elaborate what changes are you suggesting to make by going from the sgdma to msgdma in the .qsys file?

0 Kudos
MEIYAN_L_Intel
Employee
1,420 Views

Hi,

Could you try to replace the SGDMA controllers with Modular Scatter-Gather DMA ip in .qsys file?

Thanks

0 Kudos
Reply