I have a problem with booting NIOS from QSPI. If I set booting NIOS from on-chip flash everythink is OK. But If I set booting from QSPI according AN730 – boot option 4a NIOS doesn‘t boot. I was generated .hex file and programed QSPI by external programer. Next I was werificate QSPI memory content by system console as you can se on diagram 6. Content in .hex file and QSPI memory is the same. Reading from QSPI by system console work fine as you can see on diagram 1 and 2 and 6. Diagrams 3 and 4 and 5 shows physcical signals (CS, CLK, DQ0, DQ1, DQ2, DQ3) measured on leads QSPI memory. In this diagrams you can see periodic repeated signals and unsucesfull atempt to booting NIOS. Do you can advise what I am doing wrong? Is possible that somethink is missing in AN730? If you need more information I will add them. Project and measuring diagrams are in attachment.
QSPI memory: N25Q128A13ESF40F
Quartus Prime Version 18.0.0 Build 614 04/24/2018 SJ Lite Edition
If both flash content and hex are the same, it should mean the hardware is working well. It's probably NIOS configuration setting. There is another similar thread that may provide some debug steps https://forums.intel.com/s/question/0D50P000047eTCB/quartus-181-niosii-f-on-cyclomv-boot-fails?langu...
Thank you for your answer. But procedure in link is for CYCLONE V but I am using MAX10. Do you recomended me procedure for corect NIOS configuration seting using MAX10 and boot from QSPI memory? I strictly folowed AN730 but NIOS still doesn't boot. Or do you have some functional project where is used MAX10 and booting from QSPI and could you provide them?