Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
883 Views

SOC QSPI Flash loading issue

I have a custom Cyclone 5 SOC board. 

I use the QSPI S25FL512. 

When I program the QSPI with the preloader from soceds command line, I see the following lines on the command line. 

http://www.alteraforum.com/forum/attachment.php?attachmentid=13098&stc=1  

 

So I think I programmed the QSPI flash memory successfully. The problem is I don't see any output on the terminal. 

BSEL[2:0]='111' 

VCCIO for that HPS bank is 3V. QSPI flash supply is 3V 

HPS_FLASH_DCLK does not have pull down resistor as in some evaluation boards. 

 

Note that when I put the same preloader on the SDCARD, it loads successfully. 

Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
74 Views

Sorry it is my mistake. It is working successfully.

AKb
Beginner
74 Views

Hello,

I have a custom board with cyclone V SOC . I have a 1Gbit QSPI flash attached to the HPS portion of SOC. I want to boot the HPS with qspi flash. I able to do it debug mode. But not able to do it in program mode. what i mean is that i am able to load the rbf files into the qspi flash and read back this files and program the fpga successfully in debug mode. But when i try to do it program mode it is not working. I have generated preloader_-mkpimage.bin file with all the necesssary settings as mentioned in HPS qspi boot guide documentation. i load this preloader-mkpimage in 0x00000000 address of QSPI flash using the commands in SOC Command shell. then i load my application bin file generated after compilation of my design at 0x60000 address of flash by using commands in SOC EDS Command shell. Both this operation is successfull. MSEL pins are correctly selected for QSPI Boot. When i reboot the equipment the system is not booting. Am i missing certain settings at bsp generation or in make file or the linker file. Please specify.

 

 

Regards

Avi

 

Reply