- 论坛徽章:
- 0
|
1.搭建GCC+JLINK开发调试环境。
其任务包括:
a) 安装VMWare虚拟机以及linux系统。
b) 安装arm-elf-gcc toolset --- google "gunarm" and install it on vm-linux.
c) 安装JLINK软件 --- on host windows.
d) 实现2440 gdb 启动脚本 --- the commands can be refered on JLINK-gdb specs.
e) 实现2440 C语言启动基本配置 --- setup the sp, fp register, call func main().
f) 实现基于RAM的debug.
2.实现烧写Nor Flash的基本工具。
其任务包括:
a) NorFlash基本驱动 --- bare application runs on S3C2440 cpu.
b) Flash数据的获取 --- let the bare application be able to obtian the data.
--- via gdb FILE I/O or just convert the content into C
array and link it into the application.
3.实现基于NorFlash的debug。
a) 实现NorFlash启动程序 --- includes the starup code, and sample C code.
b) 实现Bin文件产生脚本 --- create the binary image of the application.
c) Flash it into NorFlash.
d) 实现基于ROM的debug.
4.实现基本的外设驱动。
a) 实现中断向量动态安装机制。
b) 实现UART驱动。
c) 实现LED驱动。
d) 实现KEY驱动。
5.基于1.2.3.4.实现最基本的 BootLoader
a) NorFlash 分区管理。
b) 实现串口通信。
c) 实现基本的串口命令。
d) 通过串口下载更新数据。
e) 实现烧写NorFlash的BootLoader。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/94507/showart_1898505.html |
|