This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem of debugging TrustZone Helloworld example with DS-5 V5.22.0

I am using DS-5 V5.22.0 to debug the TrustZone example given (i.e. TrustZone-versatile-A9x4-example and TrustZone-Cortex-A9x4-FVP-example) by the ARM. My experiment platform is the Exynos4412, which is a ARM A9x4 platform.

I can build the project and get the Binaries (TrustZone-versatile.axf). And when I debugging the project, I get the error message from the DS-5 “Commands”, which is shown as follows:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Connected to stopped target ARM FVP - VE_Cortex_A9x4
Execution stopped in SVC mode at S:0x00000000
On core ARM_Cortex-A9MP_0 (ID 0)
cd "E:\ARMWorkSpace"
S:0x00000000·· DCI····· 0xe7ff0010 ; ? Undefined
Working directory "E:\ARMWorkSpace"
loadfile "E:\ARMWorkSpace\TrustZone\TrustZone-versatile.axf"
Loaded section SECURE_EXE: S:0x80000000 ~ S:0x80001303 (size 0x1304)
Loaded section SECURE_EXE: S:0x80001304 ~ S:0x80001307 (size 0x4)
Loaded section NORMAL_IMAGE: S:0x80100000 ~ S:0x80101047 (size 0x1048)
Entry point S:0x80000000
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

It seems that the yield() function doesn’t work, which means the “SMC #0” doesn’t work. Can anyone help me with the problem and get the expected output (i.e. printf hello from secure world and non-secure world) in the readme.html?

0