embest_s3cev40_COLOR_LCD_test

所属分类:单片机开发
开发工具:C/C++
文件大小:103KB
下载次数:3
上传日期:2008-09-11 13:10:30
上 传 者艾玲
说明:  no intro
(British蓓特company s3cev40 color lcd driver under test procedure)

文件列表:
COLOR_LCD_test\BmpArray.c (1968601, 2005-03-03)
COLOR_LCD_test\COLOR_LCD_Test.ews (296, 2005-03-03)
COLOR_LCD_test\COLOR_LCD_Test.pjf (3029, 2005-03-23)
COLOR_LCD_test\bmp.c (680, 2005-03-03)
COLOR_LCD_test\bmp.h (392, 2005-03-03)
COLOR_LCD_test\lcd.c (15605, 2005-03-17)
COLOR_LCD_test\lcd.h (2329, 2005-03-13)
COLOR_LCD_test\main.c (1035, 2005-03-17)
COLOR_LCD_test (0, 2007-05-01)

LCD显示实验用例 目录文件结构: lcd_test ├─ main.c C语言主源文件 ├─ bmp.c 光标图案源文件 ├─ bmp.h 光标图案头文件 ├─ lcd.c LCD显示函数源文件 └─ lcd.h LCD定义头文件 * 在RAM 中调试时,修改工程配置项 Project >Settings ->Assembler >General category >Predefines: set as 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: Assembler >General category >Predefines: set as 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: Project >Settings ->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 select the configuration file(*.cfg), and add the Bin file to program.

近期下载者

相关文件


收藏者