Hi.,
I recently installed CCS Version: 5.4.0.00040 on my system.
I followed the following link: http://processors.wiki.ti.com/index.php/Semihosting
to create a sample project to check SemiHosting on a AM335x EVM-SK platform.
I could see the "Hello World" print on the CCS console on building and loading the code on the target.
Later, i modified the sample code by adding an extra printf statement to print some string of my choice.
With the above one line change, it does not seem to work for me. It builds without any warnings/errors.
When i load the executable, it hangs at SVC_handler and does not halt at main.
I observe this when i pause the execution and i find the code hanging at SVC_handler.
Here are some more details which might be of help to you,
Emulator: XDS100v2USB
Stack : 64k
Heap: 1k
Checked the Enable Semihosting Option under Program/Memory Load Options.
I have also attached the debug log file for your reference.
(Please visit the site to view this file)
Am i missing out on something basic here??
Do i need to do some more settings before i can test SemiHosting effectively??
Thanks
Anant Pai