arm嵌入式系统C语言代码,ARM嵌入式系统C语言编程.pdf
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
arm嵌入式系统C语言代码,ARM嵌入式系统C语言编程.pdf
arm嵌⼊式系统C语⼊代码,ARM嵌⼊式系统C语⼊编程.pdf ARM 嵌⼊式系统 C 语⼊编程
( )
摘要⼊操作系统⼊持的嵌⼊式系统软件,包括系统引导BOOT 、驱动程序、动态内存管理、IO 、通信以及应⼊软件等⼊⼊。
本⼊详细介绍了嵌⼊式平台上⼊ C 语⼊编写系统软件和应⼊软件的⼊法。
虽然是针对 ARM 平台介绍的 ,但基本经验和算法也适合于其他嵌⼊式平台的软件设计。
关键词嵌⼊式系统软件 C 语⼊ARM
PROGRAMMING C ON ARM EMBEDDED PLATFORM
Jiang Huanxin
( )
China Software Solutions Center , Hewlett - Packard Company , Shanghai 201206
Abstract Programming C on ARM embedded platform is a complicated project. Modules including system boot ,drivers ,dynamic memory manage
ment ,IO interface ,communications and applications should be considered carefully. With an excellent experience on ARM embedded system ,the au
thor gives a detailed description in this paper on the methods and algorithms about programming ARM. Though ARM is the only discussed item ,this
paper is useful for programming on any other embedded platforms.
Keywords Embedded system Software C programming language ARM
( )
是没有意义的如果返回 ,表明系统出现严重错误。
另外 ,为
1 引⼊了避免产⼊混淆 ,我们还必须给 main 函数另外取⼊个名字 , ⼊
如Main 。
否则 ,编译器将会给 main 函数⼊成⼊⼊堆初始化代
码 ,导致 C 程序的主⼊⼊与系统引导模块的接⼊错误。
⼊操作系统⼊持的嵌⼊式软件包括系统引导 (BOOT) 、外
围驱动程序、存储管理、系统 IO 、通信、应⼊程序等⼊⼊ , 需要系统引导模块完成各种初始化⼊作后 ,⼊⼊条跳转指令进。