Altera_Forum
Honored Contributor
8 years agoQSPI Flash Programming
Hello All,
I am trying to follow the GSRD for booting from flash here: https://rocketboards.org/foswiki/documentation/a10gsrd161qspiboot I am using the precompiled binaries as there were many issues trying to build them myself. I have the full qspi image I want to put on the flash. I am trying to use the quartus_hps programmer to load the image but it craps out since it can't read the flash silicon ID. Below is the event log. Info: Command: quartus_hps -c 1 -o s Current hardware is: USB-BlasterII [3-3] Successfully change hardware frequency to 16Mhz Found HPS at device 2 Double check JTAG chain Warning: Overwrite HIR => 11, HDR => 2 HPS Device IDCODE: 0x4BA00477 AHB Port is located at port 0 APB Port is located at port 1 Double check device identification ... Warning: Device is Arria 10 SoC Setup non-secure transaction ... Boot Info: 1.8V QSPI Flash Clock Select: 0 Start HPS Quad SPI flash programming ... Initialize QSPI peripheral and flash controller ... Assuming QSPI controller system clock is 50Mhz QSPI controller baudrate setting: 32 (15) Read Silicon ID of Quad SPI flash ... Quad SPI Flash silicon ID is 0xFFFFFFFF Error: Not able to map flash ID from flash database Error: Quartus Prime Programmer was unsuccessful. 0 errors, 0 warnings Here's an instance where someone programs the flash successfully: https://www.alteraforum.com/forum/showthread.php?t=54519 . I'm not sure what I'm doing wrong/differently. I've set the BSEL pins to 1.8V QSPI, and all the jumpers and switches are in the default position. I have the Micron QSPI Daughtercard that comes with the A10 SoCDevKit loaded in the file flash memory slot. Does anyone have any ideas on how I can fix this issue? Thanks, Bogg