- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, ZahiLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I am programming into an EPCS4. And yes I have. I have tried using both the NIOS II Flash Programmer and the NIOS II Console, and they are both giving me the same error. I have attached a screenshot. The error seems to be saying that there is no "EPCS Layout Data". Thanks for your response.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page