Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
597 Views

NIOS II software can't load from MT25Q

Jump to solution

I have a board with a Cyclone V that is using Active Serial Configuration from a Micron MT25Q(512Mbit) flash.

I have enabled MT25Q device selection for Quartus with pgm_allow_mt25q=on

Using NIOS II Flash Programmer download both SOF and ELF file, neither of them load after power-up. After running  quartus_pgm --nios2 from the command line with the --debug parameter, it returns the flash ID correct and recognize the flash as EPCS-20BA20

The only way work for me is using Convert Programming File tool, convert the SOF file to JIC file and downloaded it to the flash through Quartus Programmer. FPGA works fine after power-up.

But Convert Programming File tool can't convert ELF file.

 

0 Kudos

Accepted Solutions
Highlighted
Employee
54 Views
Hi, Yes, you need to convert the sof file to Jic file and in the same convert programming tool include the Hex data which includes the the soft code that the NIOS will excute. to generate the Hex file do the following: right click your project file in Eclipse>> Make targets>>Build Then select MEM_int_generate and click build this will generate the Hex file that you can include into the convert programming tool. Please check the attachment

View solution in original post

1 Reply
Highlighted
Employee
55 Views
Hi, Yes, you need to convert the sof file to Jic file and in the same convert programming tool include the Hex data which includes the the soft code that the NIOS will excute. to generate the Hex file do the following: right click your project file in Eclipse>> Make targets>>Build Then select MEM_int_generate and click build this will generate the Hex file that you can include into the convert programming tool. Please check the attachment

View solution in original post