Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Cannot create an Internal Memory Initialization (.hex) File

Hello,

I'm a beginner in Nios II software development.

I used the Quartus 13.0, the Qsys and the Nios II EDS for Eclipse to create the count_binary example for the CycloneIII_3c25 Starter Kit.

Everything is OK if "Run As -> Nios II Hardware" is used.

But I cannot create an Internal Boot Memory Initialization (.hex) File.

I follow the steps to create memory initialization files in the Nios II Software Developer's Handbook.

1. Right-click the application project.

2. Point to Make targets and click Build to open the Make Targets dialog box.

3. Select mem_init_generate.

4. Click Build.

5. Add the .qip (meminit.qip) file to the Quartus II project.

But I cannot find the .hex files

6. Recompile the Quartus II project.

After it I see the warning "Can't find design file <Project name>_mem.hex"

There is another way to create memory initialization file - to use the mem_init.mk

But how one can include this file in the application makefile and how a target can be set properly is unknown.

Any idea?

Regards,

tduty

30 Replies