Altera_Forum
Honored Contributor
10 years agoLoading preloader image to QSPI Flash for Booting
Hi,
I would like to request support for another issue on loading the QSPI flash memory of the Cyclone V SoC. As provided in the an709 document guide, the command for loading the QSPI flash is: quartus_hps -c 1 -o PV -a 0x0 preloader-mkpimage.bin Execution of this command results in: info:******************************************************************* info: running quartus ii 64-bit programmer info: version 14.1.0 build 186 12/03/2014 sj full version info: copyright (c) 1991-2014 altera corporation. all rights reserved. info: your use of altera corporation's design tools, logic functions info: and other software and tools, and its ampp partner logic info: functions, and any output files from any of the foregoing info: (including device programming or simulation files), and any info: associated documentation or information are expressly subject info: to the terms and conditions of the altera program license info: subscription agreement, the altera quartus ii license agreement, info: the altera megacore function license agreement, or other info: applicable license agreement, including, without limitation, info: that your use is for the sole purpose of programming logic info: devices manufactured by altera and sold by altera or its info: authorized distributors. please refer to the applicable info: agreement for further details. info: processing started: tue may 12 12:06:19 2015 info: command: quartus_hps -c 1 -o pv -a 0x0 preloader-mkpimage.bin current hardware is: cv sockit [usb-1] found hps at device 2 hps device idcode: 0x4ba00477 ahb port is located at port 0 apb port is located at port 1 boot info: 3.0v qspi flash clock select: 0 double aji delay - 1024 tcks start hps quad spi flash programming ... initialize qspi peripheral and flash controller ... read silicon id of quad spi flash ... error: fail to poll the qspi command execution status error: fail to read silicon id error: quartus ii 64-bit programmer was unsuccessful. 0 errors, 0 warnings error: peak virtual memory: 115 megabytes error: processing ended: tue may 12 12:06:20 2015 error: elapsed time: 00:00:01 error: total cpu time (on all processors): 00:00:00 I have enabled the QSPI flash controller in the HPS peripheral list. I built the preloader by selecting BOOT_FROM_QSPI option in the bsp-editor and further issuing "make" command in the spl_bsp directory. Please advise on this issue. Thanks in advance. Regards, Nitin.