请问DS-5下如何创建一个简单的HelloWorld工程,并进行Debug? 工程中需要添加哪些文件,Debug Configuration中需要设置哪些东西?
Thank you for your help!
I could Debug the standard example project in DS5 some days ago,but now I want to build my own project like "HelloWorld".Because I can use arm compiler5 to build my own project in DS-5 IDE and Debugging it is OK. But when i Debug my own project using arm compiler6 ,it has an error,(ERROR(TAB180): The semihosting breakpoint address has not been specified). There is only a main.c in the project. Does I need to add scatter.scat file and startup.s flie to the project? Or, should I amend some configuration for the Debugger?
Best wishes!
yes, you should, because the app is running with FVP, which need be configured before runing, you can use your main.c replace the example one
Although DS-5 shows that error: ERROR(TAB180), the FVP model will still be able to handle semihosting instead as far as I can tell:
You can ignore this error message by telling DS-5 Debugger not to enable semihosting using a .ds script and: set semihosting enabled off
set semihosting enabled off
Yes, you are right. I has found the mistake that I select the error target (VE-AEMv8×4).So,if we want to Debug our own project successfully,we need to do:1)select the true target:VE-AEMv8×1; 2) modify the "RO base address" in ARM Linker->Image LayOut;
I hope I can get help from you later!
Best wishes! Thank you again!
你好 我想用scanf语句,建一个简单的输入的加法程序 ,但是好像不起作用,我该怎么办?