TouchScreen_Test

所属分类:单片机开发
开发工具:Others
文件大小:12KB
下载次数:2
上传日期:2014-06-24 13:54:13
上 传 者刘liu
说明:  s3c44b0实现触摸屏实验,embest开发环境
(s3c44b0 achieve the function of touchscreen)

文件列表:
TouchScreen_Test\AscII6x8.c (6836, 2004-09-01)
TouchScreen_Test\Call_int.s (688, 2004-09-01)
TouchScreen_Test\lcd.c (15324, 2004-09-01)
TouchScreen_Test\lcd.h (4458, 2004-09-01)
TouchScreen_Test\main.c (1066, 2005-03-17)
TouchScreen_Test\TouchScreen_Test.ews (263, 2004-09-01)
TouchScreen_Test\TouchScreen_Test.pjf (3007, 2005-03-17)
TouchScreen_Test\tp.c (7727, 2005-03-03)
TouchScreen_Test\tp.h (728, 2005-03-03)
TouchScreen_Test (0, 2014-06-24)

LCD触摸屏实验用例 目录文件结构: touchsceen_test ├─ main.c C语言主源文件 ├─ AscII6x8.c Ascii字符6x8点阵显示格式数据 ├─ lcd.c LCD显示函数源文件 ├─ lcd.h LCD定义头文件 ├─ Call_int.s 中断处理文件 ├─ tp.c 触摸屏控制函数源文件 └─ tp.h 触摸屏控制定义头文件 ======================================================================= * 本工程出厂时的默认存放目录是: 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 ->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 click on "File -> Open", select the configuration file (*.cfg), and add in the Bin file to program.

近期下载者

相关文件


收藏者