jackhab
Occasional Contributor
3 years agoDE10-nano HPS boot from flash
Hello
I was trying program bootloader to DE10-nano evaluation board and got the following error:
$ quartus_hps.exe -c 1 -o PV 'c:\My\1609\preloader-mkpimage.bin'
Current hardware is: DE-SoC [USB-1]
Successfully change hardware frequency to 16Mhz
Found HPS at device 1
Double check JTAG chain
HPS Device IDCODE: 0x4BA00477
AHB Port is located at port 0
APB Port is located at port 1
Double check device identification ...
Error: BSEL (5) is neither from NAND nor QSPI, set the correct BSEL and powercycle your board
Error: Quartus Prime Programmer was unsuccessful. 0 errors, 0 warnings
Error: Peak virtual memory: 4254 megabytes
Error: Processing ended: Thu Aug 18 11:58:45 2022
Error: Elapsed time: 00:00:02
Error: Total CPU time (on all processors): 00:00:00
Later I found that Terasic DE10-nano Wiki says the board does not have neither NAND nor QSPI flash but the board schematic do shows S25FL128 flash connected to Cyclone V.
When I set MSEL switch on board to EPCS configuration and I can see FPGA demo LEDs work so why can't I program this flash with HPS boot image?
Thanks.