[SUB]Hi!
First things first: Which version of SoCEDS are you using? Looks to either be 13.0 or 13.1.
I'm pretty sure you should be using mkimage with the 0x0200'0000 option, though it won't make a difference unless you are using interrupts in your example.
About your HWLibs program, have you converted your program to not use semihosting? Semihosting is the fancy infrastructure that allows printf() output to be directed to DS-5. To get rid of semihosting try the following:
- Copy the script to altera-socfpga-unhosted.ld (this will help switch between semihosted and unhosted easily); Modify the Makefile appropriately.
- Modify your linker file script: Change -lcs3hosted to -lcs3unhosted
- Modify your source to remove any references to hosted related functions, most noteably printf().
- Make; address any issues that might arise.
- Examine the hwlibs.axf.objdump. There should be no SVC 0x123456 or similar calls.
Then try reflashing your QSPI.
Good luck!
fdh[/SUB]