ARMGPRS
所属分类:处理器开发
开发工具:C/C++
文件大小:9KB
下载次数:130
上传日期:2006-07-19 16:39:53
上 传 者:
yvdu
说明: 无线通信的,应用于gprs的短信发送。希望对大家有用。
(wireless communications, the application EDGE SMS. We hope that the right useful.)
文件列表:
8.2_gprs_test\8led.c (4553, 2005-11-10)
8.2_gprs_test\gprs_test.c (9479, 2005-11-10)
8.2_gprs_test\gprs_test.ews (291, 2005-11-10)
8.2_gprs_test\gprs_test.h (737, 2005-11-10)
8.2_gprs_test\gprs_test.opt (87, 2005-11-10)
8.2_gprs_test\gprs_test.pjf (2811, 2005-11-10)
8.2_gprs_test\iic.c (4737, 2005-11-10)
8.2_gprs_test\iic.h (330, 2005-11-10)
8.2_gprs_test\keyboard.c (3250, 2005-11-10)
8.2_gprs_test\mian.c (1503, 2005-11-10)
8.2_gprs_test (0, 2006-04-11)
UART实验用例
目录文件结构:
UART_test
├─ gps_test.c GPS 测试
└─ main.c 演示主程序文件
=======================================================================
* 本工程出厂时的默认存放目录是: EmbestIDE\Examples\Samsung\S3CEV40
如果要拷贝到其他目录下运行,请修改工程配置选项 Project ->Settings:
Linker >Add Library searching Path category >Library Searching Directories:
..\..\..\..\Build\xgcc-arm-elf\arm-elf\lib
..\..\..\..\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2
修改为 (假设Embest IDE 安装到C:\):
C:\EmbestIDE\Build\xgcc-arm-elf\arm-elf\lib
C:\EmbestIDE\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2
* 在RAM 中调试时,修改工程配置项
Project >Settings ->Linker >General category >Linker script file: set as
..\common\ram_ice.ld
* 烧写程序到FLASH
1、修改工程配置项
i)在Flash 中运行程序:
Project >Settings ->Assembler >General category >Predefines: set as
(不用定义任何标号)
Project >Settings ->Linker >General category >Linker script file: set as
..\common\flash.ld
ii)拷贝Flash 程序到RAM 中运行:
Project >Settings ->Assembler >General category >Predefines: set as
EXEC_FROM_RAM=1
Project >Settings ->Linker >General category >Linker script file: set as
..\common\ram_ice.ld
* 如果要把程序存放到Flash 中的非0x0 地址上运行,
请修改编译烧写输出文件时使用的链接脚本文件(*.ld)对ROM_BASE 的定义。
2、重新编译工程,使用elf2bin工具产生BIN文件;
3、运行Flash Programmer,按照实际情况配置调试设备:
Setting -> configure...
4、点击Open 菜单,打开配置文件(*.cfg),给出烧写目标文件;
=======================================================================
-----------------------------------------------------------------------
| Descriptions |
-----------------------------------------------------------------------
> Project directory default: EmbestIDE\Examples\Samsung\S3CEB2410
If copy to another directory to run, please modify Project ->Settings:
Linker >Add Library searching Path category >Library Searching Directories:
..\..\..\..\Build\xgcc-arm-elf\arm-elf\lib
..\..\..\..\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2
Change setting as (assume that Embest IDE installtion is C:\):
C:\EmbestIDE\Build\xgcc-arm-elf\arm-elf\lib
C:\EmbestIDE\Build\xgcc-arm-elf\lib\gcc-lib\arm-elf\3.0.2
> Download the project into RAM to debug, modify Project ->Settings:
Linker >General category >Linker script file: set as
..\common\ram_ice.ld
> Program the iamge into Flash to run:
I. modify Project ->Settings:
i) run program in Flash space:
Assembler >General category >Predefines: set as
(without any symbol defined)
Linker >General category >Linker script file: set as
..\common\flash.ld
ii) copy the program from Flash space to RAM to run:
Assembler >General category >Predefines: set as
EXEC_FROM_RAM=1
Linker >General category >Linker script file: set as
..\common\ram_ice.ld
Note: If want to change the image store address instead of 0x0,
please modify RAM_BASE defined consist in the linker script file (*.ld)
before step II.
II. Rebuild the project and click Tools ->Elf2Bin,
generate the Bin format file in directory DEBUG\
III. Run Embest Falsh Programmer for ARM, then click on "File -> Open",
select the configuration file (*.cfg), and add in the Bin file to program.
近期下载者:
相关文件:
收藏者: