Hey guys, I've been playing with the MAX 10 FPGA and have a pretty good prototype design. I'd like to write my design to the internal flash but the Nios flash programmer just isn't having it.
The problem arises with sof2flash. When I run it, I get error code 3 - Unrecognized device family in SOF. This happens with the both the Nios flash programmer tool and sof2flash from the command line. Everything else seems to be working fine. I can convert just the SOF to a POF and program the flash using Quartus programmer.
A friend of a friend is a local representative for Altera and I've talked with him a bit, but he didn't seem to have a solution for me. Some questions I've already answered for him that you'll probably ask:
- Quartus Version: 14.0.2 Build 209 (freshly downloaded and installed yesterday)
- Nios II EDS Version: 14.0.0.200 Build id: 201406181529
- SBT4E Core Version: 14.0.0.209
- I am using the Nios II Gen2
- JTAG debug works
- I have an instance of the On-Chip Flash IP in my design in Qsys
- I can successfully download the design to RAM
- I can successfully convert the SOF to a POF and program the flash using Quartus programmer
It just seems like the Nios tools aren't ready, and there isn't a way to convert and join my programming files so I can just use the Quartus programmer. Has anybody else run into this issue? I'm sure I can't be the first.
Has anybody else even successfully programmed the flash with a complete Nios II system (hardware and software)?
Thanks!