Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNios not running
Hi,
I am using a custom board and trying to run a nios processor on a Cyclone IV E fpga. My fpga code is fine, and so is my c code. When I use the "Run As NIOS II Hardware", the code executes fine on my fpga. How can I upload my code to the fpga so I can run it without having it connected to the computer? I have tried the following with no success. 1. Compile quartus project and get .sof file. 2. Build nios project and get .elf file. 3. Convert .sof -> flash and .elf -> flash 4. Concatenate them into one flash file, and use nios2-elf-objcopy to get hex file. 5. Use this hex file to create .jic file using quartus "Convert Programming Files". 6. Use Quartus II Programmer to upload JIC file After this, my nios code is not being executed. What can I do to change this? Thank you, Zahi2 Replies
- Altera_Forum
Honored Contributor
A few bits of key information are missing:
- You're programming into an EPCS right?
- Have you pointed the Reset Address of the processor at the epcs_controller?
- Altera_Forum
Honored Contributor