Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Issue executing sample applications(HPS) provided in the Cyclone V SOC kit related

Hi,

I have been trying to download the examples provided in the Embedded design suite into the HPS compoment of the Cyclone V Soc. Currently i have ARM DS-5 eclipse through which i am trying to execute the hello world example but there is an error i am encountering in the 'debugging perspective'. The error is as following

"Stopping running target Altera - Cyclone V SoC on TCP:localhost on connectionConnected to running target Altera - Cyclone V SoC on TCP:localhost

Execution stopped at: S:0x8001BF08

S:0x8001BF08 MOV pc,lr

source /v "C:\Program Files (x86)\DS-5\sw\debugger\configdb\Boards\Altera\Cyclone V SoC\..\..\..\Scripts\altera_target_check.py"

No SYSID registers could be found. Has a peripheral description file been supplied?

source /v "D:\FPGAsofts\hello_7_2\Altera-SoCFPGA-HelloWorld-Baremetal-GNU\semihost_setup.ds"

+stop

WARNING(CMD315): Target is not running

+file $sdir/hello.axf

+set semihosting enabled false

+set semihosting stack-base __cs3_stack

+set semihosting stack-limit __cs3_heap_start

+set semihosting heap-base __cs3_heap_start

+set semihosting heap-limit __cs3_heap_end

+set semihosting enabled true

Semihosting server socket created at port 8000

loadfile "D:\FPGAsofts\hello_7_2\Altera-SoCFPGA-HelloWorld-Baremetal-GNU\hello.axf"

Target Message: Memory access caused precise abort.

Debug Precise Abort Registers : DFSR = 0x00000817, DFAR = 0xFFFF1000

ERROR(CMD16-TAD216-NAL18):

! Failed to load "hello.axf"

! Failed to write 16,048 bytes to address S:0xFFFF0000 while writing block of 4,096 bytes to address S:0xFFFF1000

! Bus error on memory operation.

cd "C:\Users\Gowtham\Documents\DS-5 Workspace\Hello_2_7"

Working directory "C:\Users\Gowtham\Documents\DS-5 Workspace\Hello_2_7"

Please suggest on debugging this issue

Thanks in advance,

CG6991
No RepliesBe the first to reply