Forum Discussion
Altera_Forum
Honored Contributor
11 years agoDS-5 Baremetal:Failed to load image
Hi, I'm running a baremetal application to write and read a byte of data into the DDR memory. The attached image shows the configuration of the DS-5 debugger being used. The error log is a...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- The semihosting should be turned on for the debugger to recognize the code for execution. Adding this line into the application code would resolve the error. More information about semihosting can be found here: http://infocenter.arm.com/help/index...054209469.html --- Quote End --- Hi. Could you tell me what is "this line" you refer to? I get pretty much exactly the same error messages you got, and am trying to debug a bare metal FPGA + NIOS2 + ARM system on a rev.D VEEK-MT-SoCKit. The FPGA and NIOS2 portion seems to be working just fine, but the ARM/DS-5 stuff not so much. I have tried with different preloaders (boot from QSPI/SDMMC/none) and debugger scripts (semihosting on/off etc.), to no avail. This is really starting to p**s me off, I think this entire procedure could and should have been made much simpler. Help would be much appreciated. TIA! BTW, the link you provided does not work.