We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Greetings Experts
I am trying to compile the TEE sample with DS-5. I downloaded the latest version of DS-5, and created a C project. I was able to put in the main_secure.c file and build ok. I then tried to add monitor.s file to the project by adding another source file. I get the following errors:
Would someone please compile the project, and advise in high level what sort of project I need to create and how to import the source files into my project please?
Sean
David
I like to thank you so much for your continued support. I did place the secure.bin file on my phone, and tried to run the two files in it. I had to change permissions of the files. Here is what I get:
127|root@hltespr:/storage/emulated/legacy/secure.bin # ./SECURE_EXE
./SECURE_EXE
./SECURE_EXE[1]: ▬☻±É╨ƒσ╙≡!πî╨ƒσ►☼◄ε♦└π☺: not found
./SECURE_EXE[5]: syntax error: '┐x┴√╪R' unexpected
127|root@hltespr:/storage/emulated/legacy/secure.bin # ./NORMAL_IMAGE
./NORMAL_IMAGE
./NORMAL_IMAGE[1]: ⌡♥δPπ÷♥←▀≡!πê╨ƒσ►☼◄ε♦└π☺: not found
./NORMAL_IMAGE[14]: syntax error: '(' unexpected
1|root@hltespr:/storage/emulated/legacy/secure.bin #
Re: The content on Debug Hardware, I did go to DS-5 help documents (DS-5 IDE-> help -> help contents): ARM DS-5 Documentation > ARM DS-5 Debug Hardware > Using the Debug Hardware Configuration Utilities > Creating debug hardware target configurations. But the content does not seem to be very relevant to what I am trying to do. All I have at my disposal is an Android phone model SM-N900P Samsung Note 3 with a USB cable which connects to the laptop. It sounds like ARM DS-5 Debug hardware instructions are for RVI and DSTREAM, which I do not have. I did try to run debug hardware configuration utility, but it does not find any hardware. Did I perhaps miss something?
I think DS-5 can only debug the board when connected with debug interface like: JTAG, SWD.
Please refer to: ARM DS-5 Documentation > ARM DS-5 Debug Hardware > ARM DSTREAM System and Interface Design Reference Guide
I agree. I did review the content, and that is the impression I have. Thank you so much for your help.
Regards-