Forum Discussion
Altera_Forum
Honored Contributor
12 years agoQSPI boot
hello, I am trying to boot the example baremetal project: Altera-SoCFPGA-HardwareLib-FPGA-CV-GNU from QSPI (can run it successfully with debugger) with the cyclone 5 dev kit. did the followin...
Altera_Forum
Honored Contributor
12 years agohey fred
working with the 13.1 one. thanks for the reply but still doesnt work I did the folowing steps to investigate the problem : I modified the debugger script to load only the preloader and then stop at spl_boot_device but instead of loading the hwlib through the debugger I manually got through the preloader hwlib copying from the flash till the jump to hwlib itself. I see that it does the copy and jumpes to the right spot (0x0200000) as expected and than jumpes to the __cs3_start_asm_sim as expected the third instruction of __cs3_start_asm_sim is SVC 0x123456 which gives me the next error in the debugger console : "unable to determine if the SVC was a semihosting call" whats strange is that if I load hwlib into RAM with the debugger this instruction doesnt throw anything and everything works fine *Of course I linked hwlib with the unhosted option and deleted all the printfs