Forum Discussion
Altera_Forum
Honored Contributor
11 years agoFast may work application based on "Unhosted" from soc design examples (http://www.altera.com/support/examples/soc/soc.html) page. And may will be installed 14.0 version of SoC EDS.
Usual code with Baremetal-HWLIB use semihosting/debugger before call main() and requires "finishing" of Preloader codes to simulate host in boot without host from QSPI. Your program listing must not contain asm-commands "SVC 123456", used in "hard" opening "stdin/stdout" etc. These theme is periodical discussed on this forum, Altera works for simplification, I demand menu point "Check my .axf to compatibility and write to QSPI with our f***ed Preloader!" :) Because way is very long and not described in details. P.S. Your situation may get in DS-5 debugger, only connect to powered on (now) board and see cycling in interrupt 2 address -- this is empty service routine for "SVC 123456", which usually hold and process DS-5. Or run Preloader as part of any working program, load your application direct in Command window ("loadfile NAME"), "set semihosting enabled false" here, and steps in Disassembler -- on first 10 commands program falls to interrupt area forever. This be and after only "set semihosting enabled false" for any "-GNU" program !