Forum Discussion
Hi Mohammed_Lami
Please find the screenshot in the pdf attached.
Could you try cleaning and rebuilding the project from scratch again?
I also noticed that the reset command keeps on hanging whenever I try to reset the project.
The workaround I did was to reconnect the debug connection to reset the project.
Regards
Jingyang, Teh
Hi @JingyangTeh_Altera , thanks for your support
Unfortunately, the problem still happening.
I have noticed the error messages in the commands view while debugging the project, I think there is a mismatch between the memory addresses in the scatter.scat files and the memory addresses of the board that I use (Altera cyclone V dev kit), and therefore the DS software couldn't find where is the memory on the board. Don't think this is the problem, if so, is it possible to modify the scatter files with the correct addresses? And what is the base RAM addresses for this kit?
Another point please, do you think that the dip switches of the kit may cause such problem, my board is initialized and the LCD displays a "No IP obtained" and "Hello Tim!" messages before I start debugging the project.
Thanks a lot for your support
------------------------------ Error messages in the commands view ------------------------
Stopping running target Intel SoC FPGA - Cyclone V SoC (Single Core) on connection
Connected to running target Intel SoC FPGA - Cyclone V SoC (Single Core)
Execution stopped in ABT mode at S:0x3FF78010
S:0x3FF78010 MOV r8,r0
cd "C:\Users\Mohammed Lami\Development Studio Workspace"
Working directory "C:\Users\Mohammed Lami\Development Studio Workspace"
Execution stopped in ABT mode at S:0x3FF78010
S:0x3FF78010 MOV r8,r0
source /v "C:\Program Files\Arm\Development Studio 2021.1\sw\debugger\configdb\Scripts\altera_target_check.py"
No SYSID registers could be found. Has a peripheral description file been supplied?
loadfile "C:\Users\Mohammed Lami\Development Studio Workspace\TrustZone_Cortex-A9_AC6\TrustZone_Cortex-A9_AC6.axf"
Target Message: Memory access caused precise abort.
Debug Precise Abort Registers : DFSR = 0x00001808, DFAR = 0x80000000
ERROR(CMD16-TAD274-NAL18):
! Failed to load "TrustZone_Cortex-A9_AC6.axf"
! Failed to write 4,872 bytes to address S:0x80000000 while writing block of 4,096 bytes to address S:0x80000000
! Bus error on memory operation.
set debug-from *$ENTRYPOINT
start
WARNING(CMD399-CMD38-CMD722):
! Failed to start the target
! The string "$ENTRYPOINT" cannot be interpreted as a positive int
! Entry point not set
WARNING(CMD407): Trying the entry point instead
ERROR(CMD426): Cannot find symbol to start or entrypoint, the file or load commands may be used to set the entrypoint
wait
add-symbol-file "${workspace_loc:/TrustZone_Cortex-A9_AC6/normal.axf}" N:0
Semihosting server socket created at port 8000
Semihosting enabled automatically due to semihosting symbol detected in image 'normal.axf'
wait
continue
-----------------------------------------------------------------------------------------------------------------------------------------------