Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I've just tried this method with no success :( Something really strange is happening with my board.. or I'm taking some little mistake.. Using the GUI, it's similar to the command sequences that I tried to used before, with the advantage that it's no necessary to concern with the command syntax. Command lines that are used by the GUI:
sof2flash
--input=".../quartus/hardware/hardware.sof"
--output=".../quartus/hardware/FNIOS/SOFTWARE/SBSP/flash/hardware.flash"
--epcs --verbose
elf2flash
--input=".../software/nios/software.elf"
--output=".../quartus/hardware/FNIOS/SOFTWARE/SBSP/flash/software.flash"
--epcs
--after=".../quartus/hardware/FNIOS/SOFTWARE/SBSP/flash/hardware.flash"
--verbose
nios2-flash-programmer
".../quartus/hardware/FNIOS/SOFTWARE/SBSP/flash/hardware.flash"
--base=0x0 --epcs --sidp=0x2000100 --id=0x0 --accept-bad-sysid --device=1
--instance=0 '--cable=USB-Blaster on localhost ' --program --verbose --erase-all
nios2-flash-programmer
".../quartus/hardware/FNIOS/SOFTWARE/SBSP/flash/software.flash"
--base=0x0 --epcs --sidp=0x2000100 --id=0x0 --accept-bad-sysid --device=1 --instance=0
'--cable=USB-Blaster on localhost ' --program --verbose --go I've attached the window with the jic creation configuration. It's really weird, that the fpga works when I program it using the jic file while the use of nios2-flash-programmer has no effect. Thank you again ! --- Quote End --- Hi I am using Web version 12.SP2. I think you have same problem I have right now. To figure it out what is wrong, I recommend you try NIOS memory test. In my case I can't open EPCS memory with Nios Flash Programmer. When I run memory test, I got Error message as below. When I used Ver.7.2, I didn't see this kind of error. If you can open EPCS memory, can access(Wr/Rd) EPCS, that is different issue. ---------------------------------- ---------------------------------- Memory Test Main Menu ---------------------------------- a: Test RAM b: Test Flash c: Test EPCS Serial Flash q: Exit ---------------------------------- Select Choice (a-c): [Followed by <enter>] c Enter the name of the EPCS flash device to be opened, or just press <enter> to open "/dev/epcs_controller" > -ERROR: Could not open /dev/epcs_controller