HiI want to enable semihosting on ARM DS 2024 so I can create an output file. Can you tell me how to do that?I am using Arm Compiler for Embeded 6 toolchain and Gnu Make Builder.Warm regards
Hi againApologies for the delay in responding. Are you still having problems with this?I've re-tested the code above and it works for me. Here's what I did (on my Windows laptop):1) Launch Arm DS2) Import the startup_Cortex-M7_AC6 example3) Replace its main() with the main() I gave above4) Compile the project5) Create a folder C:\Temp\semihosting6) Modify startup_Cortex-M7_AC6-MPS2.launch to use a known-good Cortex-M7 board via DSTREAM7) Connect/Debug8) Enter "set semihosting policy allow"9) Run"fopen success" is printed in the App Console, and "Hello World!" is written to out.txt.Can you try repeating the above with your own board?Stephen
Hi and thank you for your support! highly appreciated!After we discussed I tried the procedure until I found that I have to Enter "set semihosting policy allow" just before run.Then I put this command in run debug initialization, so the problem is solved.Warm regards