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

Using SD-Card reader on DE1 board (with Nios)

Altera_Forum
Honored Contributor II
2,077 Views

Does someone know how could I include an sd-card controller to a nios II project in qsys? 

 

thanks
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
598 Views

I have used "The Altera University Program (UP) SD Card IP Core" but during analysis and elaboration in quartus it found the following error :( 

 

 

Error: Node instance "packet_memory" instantiates undefined entity "Altera_UP_SD_Card_Memory_Block" 

 

please help me :(
0 Kudos
Altera_Forum
Honored Contributor II
598 Views

I ran into the same problem using the latest 12.0 IP for QSys: 

 

Error (12006): Node instance "packet_memory" instantiates undefined entity "Altera_UP_SD_Card_Memory_Block" 

Warning (12019): Can't analyze file -- file HostSystem/synthesis/submodules/Altera_UP_SD_Card_Memory_Block.vhd is missing 

 

 

I had to manually copy the following files from the IP directory to my Qsys synthesis directory: 

 

Altera_UP_SD_Card_Memory_Block.bsf 

Altera_UP_SD_Card_Memory_Block.cmp 

Altera_UP_SD_Card_Memory_Block.vhd 

 

From: 

C:\altera\12.0sp2\ip\University_Program\memory\altera_up_sd_card_avalon_interface\hdl 

To: 

<QsysProjectFolder>\synthesis\submodules
0 Kudos
Altera_Forum
Honored Contributor II
598 Views

Have you solved the problem in that way? Does it work now?

0 Kudos
Altera_Forum
Honored Contributor II
598 Views

Yes, it now compiles and seems to work properly. 

 

I am able to read the contents of a small text file off of the SD card. I have not tested it beyond this.
0 Kudos
Altera_Forum
Honored Contributor II
598 Views

I will try to fix the problem in the same way. Thank you for the info :)

0 Kudos
Altera_Forum
Honored Contributor II
598 Views

 

--- Quote Start ---  

I ran into the same problem using the latest 12.0 IP for QSys: 

 

Error (12006): Node instance "packet_memory" instantiates undefined entity "Altera_UP_SD_Card_Memory_Block" 

Warning (12019): Can't analyze file -- file HostSystem/synthesis/submodules/Altera_UP_SD_Card_Memory_Block.vhd is missing 

 

 

I had to manually copy the following files from the IP directory to my Qsys synthesis directory: 

 

Altera_UP_SD_Card_Memory_Block.bsf 

Altera_UP_SD_Card_Memory_Block.cmp 

Altera_UP_SD_Card_Memory_Block.vhd 

 

From: 

C:\altera\12.0sp2\ip\University_Program\memory\altera_up_sd_card_avalon_interface\hdl 

To: 

<QsysProjectFolder>\synthesis\submodules\ 

--- Quote End ---  

 

 

 

Hello, 

I am using Quartus version 12.1, the new SD-IP , 

but I can't find the file Altera_UP_SD_Card_Memory_Block.vhd 

The file is included for Quartus Version 11.1 , but there is no 

QSYS support as far as I know? 

Any infos available ? 

Thanks and happy new year , Reinhard
0 Kudos
Altera_Forum
Honored Contributor II
598 Views

 

--- Quote Start ---  

Hello, 

I am using Quartus version 12.1, the new SD-IP , 

but I can't find the file Altera_UP_SD_Card_Memory_Block.vhd 

The file is included for Quartus Version 11.1 , but there is no 

QSYS support as far as I know? 

Any infos available ? 

Thanks and happy new year , Reinhard 

--- Quote End ---  

 

 

Hello PDP11GY et all, 

I also encounter a problem like yours. Did you solve it? if you solved it, can you tell me how to fix this problem. 

 

please tell me if any one has any idea to fix it.
0 Kudos
Altera_Forum
Honored Contributor II
598 Views

You can't find this folder, or a similar folder anywhere in your install? 

C:\altera\12.0sp2\ip\University_Program\memory\alt era_up_sd_card_avalon_interface 

 

Have you installed the University Monitor Program?
0 Kudos
Altera_Forum
Honored Contributor II
598 Views

Thank you for your reply. I fixed it. I found the Altera_UP_SD_Card_Memory_Block files and added them to project. Finally, everything is ok :)

0 Kudos
Altera_Forum
Honored Contributor II
598 Views

Hello all, 

 

I have the same problem with quartus 11. 

 

When I compile the project I get the error: Error: Node instance "packet_memory" instantiates undefined entity "Altera_UP_SD_Card_Memory_Block" 

 

But when i add the files Altera_UP_SD_Card_Memory_Block to the project, I can compile the project, but when I run it, sd doesn't work. Just at if(alt_up_sd_card_is_Present()) and doens't work 

 

In quartus 13 works fine. But I need run it on quartus 11. 

 

Any solution? 

 

Thank you
0 Kudos
Reply