Forum Discussion
Problem solved.
All examples are working good for Altera SoC. Unfortunately, they are not compatible with Arrow SoC. Furthermore, script preloader.ds from bsp-editor also don't work on Arrow SoC. Now we are using self-made .ds and it's working great.- MscMechatronics5 years ago
New Contributor
Dear fellow programmer,
I'm experiencing similar problem. I'm receiving following error:
"Connected to running target Altera - Cyclone V SoC (Dual Core)
cd "C:\Users\fd\Downloads\Altera-SoCFPGA-HardwareLib-I2C-CV-GNU"
Working directory "C:\Users\fd\Downloads\Altera-SoCFPGA-HardwareLib-I2C-CV-GNU"
source /v "C:\intelFPGA\18.1\embedded\ds-5\sw\debugger\configdb\Scripts\altera_target_check.py"No SYSID registers could be found. Has a peripheral description file been supplied?
source /v "C:\Users\fd\Downloads\Altera-SoCFPGA-HardwareLib-I2C-CV-GNU\debug-hosted.ds"
+reset system
+stop
Target has been reset
Execution stopped in SVC mode at S:0xC00001D4
ERROR(CMD256-TAD10-NAL52):
! Unable to display contents at location "S:0xC00001D4"
! Failed to read 4 bytes from address S:0xC00001D4
! Cannot attain state requested.
+wait 30s
+set semihosting enabled true
WARNING(TAB31): Semihosting disabled
+loadfile "$sdir/u-boot-spl.axf" 0x0
ERROR(CMD16-TAD274-NAL52):
# in C:\Users\fd\Downloads\Altera-SoCFPGA-HardwareLib-I2C-CV-GNU\debug-hosted.ds:16 while executing: loadfile "$sdir/u-boot-spl.axf" 0x0
! Failed to load "u-boot-spl.axf"
! Failed to write 40,196 bytes to address S:0xFFFF0000 while writing block of 4,096 bytes to address S:0xFFFF0000
! Cannot attain state requested.
ERROR(CMD656): The script C:\Users\fd\Downloads\Altera-SoCFPGA-HardwareLib-I2C-CV-GNU\debug-hosted.ds failed to complete due to an error during execution of the script"
Would be helpful if anyone can point me in the right direction to resolve this.
Best regards,Filip