Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI've tried to load unhosted preloader manually to both CPUs via debugger:
set semihosting enabled false
loadfile "C:\workspace\arm\Altera-SoCFPGA-HardwareLib-16550-CV-GNU\u-boot-spl"
run
stop It executes for both boards and SDRAM is accessible. Further I've loaded hosted application this way:
set semihosting enabled true
loadfile "C:\workspace\arm\Altera-SoCFPGA-HardwareLib-16550-CV-GNU\hwlib.axf"
start For Arrow board it's ok, but for custom one CPU hangs in 0xFFFF0004 region (or about, e.g. 0xFFFF0020) and nothing happens. Preloader settings are the same. QSys projects differ by SDRAM controller only. I've also tried to fully recreate and rebuild preloader for troublesome system, it doesn't help. In what could be the problem?