Altera_Forum
Honored Contributor
14 years agoError building a Nios2 project HEX file/On chip RAM
Dear all,
I started a couple of day ago working on the tutorial SOPC builder with VHDL. The mini code as many of you know it already is: # define Switches (volatile char *) 0x0003000# define LEDs (char *) 0x0003010 void main() { while (1) *LEDs = *Switches; } My system specification contains ON chip RAM with an initialized .hex file that I created it using SOPC builder. I did everything exactly as it shows in the walk-through but had this strange error when trying to build the nios2 project on SBT eclipse: make: *** [/home/mehdi/Documents/il2207/Lab1/onchip_memory2_0.hex] Error 2 Does anyone have any idea about this? I would appreciate your help. Thanks!