初次接触ARM裸机调试,记录于此,供遇到相同问题的人参考。
首先要使下载对应三星的keil库,在keil官网的legend下载页面中可以找到,是一个.exe文件,直接安装即可。
第二创建工程,编译报错:
.\test.axf: Error: L6630E: Invalid tokenstart expected number or ( but found n at position 5 on line 5
.\test.axf: Error: L6629E: Unmatchedparentheses expecting ) but found n at position 5 on line 5
.\test.axf: Error: L6226E: Missing baseaddress for region LR_.
.\test.sct(5): error: L6292E: Ignoringunknown attribute 'null' specified for region LR_.
.\test.sct(5): error: L6228E: Expected '{',found ')...'.
.\test.sct: Error: L6372E: Image needs atleast one load region.
Not enough information to list imagesymbols.
Not enough information to list the imagemap.
Finished: 2 information, 0 warning and 6error messages.
".\test.axf" - 6 Error(s), 1Warning(s).
Target not created
这个