Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThis way is very complex!
FPGA programming and BSP compiling not need for run independent HPS simple program in first case! In http://www.altera.com/literature/ug/ug_soc_eds.pdf shown detail work with examples of HW! programs. Need to be import prepared programs from archive (<Quartus/SoC EDS root>/embedded/examples/software/ contain 9 files for different platforms of developing and severity, 3 is HW!) to DS-5, compile and debug. Preloader (spl_bsp) is preceding 2nd phase of run application (after BootROM), its target is init SDRAM and load your program to it and run. After running this programs you may try link it to FPGA part and interact (Altera-SoCFPGA-HardwareLib-* examples), then may be need add "hps_isw_handoff" in spl_bsp to give in Preloader init your hardware configuration before launch main Baremetal application or u-boot/Linux.