lpc2114+18b20

所属分类:处理器开发
开发工具:Others
文件大小:587KB
下载次数:197
上传日期:2006-02-17 16:24:07
上 传 者fjdyabao
说明:  lpc2114与ds18b20通讯程序。并通过串口上传到上位机
(lpc2114 and communication procedures. Through Serial uploaded to the PC)

文件列表:
18b20\18b20.mcp (131857, 2006-02-17)
18b20\18b20_Data\CWSettingsWindows.stg (3445, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\18b20.axf (53756, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\TargetDataWindows.tdt (93466, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\18b20.bin (7360, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\ds18b20.o (42924, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\IRQ.o (2006, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\Os_cpu_a.o (2378, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\Os_cpu_c.o (39740, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\Startup.o (3123, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\target.o (44916, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\uCOS_II.o (34608, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\comu0.o (42828, 2005-12-10)
18b20\18b20_Data\DebugInFLASH\ObjectCode\I2C.o (40732, 2005-12-10)
18b20\18b20_Data\DebugInFLASH\ObjectCode\SendStr.o (37644, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode\main.o (40964, 2006-02-17)
18b20\18b20_Data\DebugInFLASH\ObjectCode (0, 2006-02-17)
18b20\18b20_Data\DebugInFLASH (0, 2006-02-17)
18b20\18b20_Data (0, 2006-02-17)
18b20\ARM_Executable_Image_for_UCOSII(for_lpc2100)_Data\CWSettingsWindows.stg (3515, 2004-11-23)
18b20\ARM_Executable_Image_for_UCOSII(for_lpc2100)_Data\DebugInFLASH\TargetDataWindows.tdt (56895, 2004-11-23)
18b20\ARM_Executable_Image_for_UCOSII(for_lpc2100)_Data\DebugInFLASH (0, 2006-02-17)
18b20\ARM_Executable_Image_for_UCOSII(for_lpc2100)_Data\RelInFLASH\TargetDataWindows.tdt (55600, 2004-11-23)
18b20\ARM_Executable_Image_for_UCOSII(for_lpc2100)_Data\RelInFLASH (0, 2006-02-17)
18b20\ARM_Executable_Image_for_UCOSII(for_lpc2100)_Data (0, 2006-02-17)
18b20\code\debug.txt (179, 2005-02-22)
18b20\code\port.txt (157, 2005-02-17)
18b20\code\tmpI2C.TXT (4966, 2005-02-27)
18b20\code\app\ds18b20.h (649, 2005-12-10)
18b20\code\app\main.c (2135, 2005-12-10)
18b20\code\app\main.h (1004, 2005-12-10)
18b20\code\app\comu0.c (4782, 2005-12-10)
18b20\code\app\comu0.h (460, 2005-03-01)
18b20\code\app\comu0msg.h (511, 2005-03-02)
18b20\code\app\I2C.c (10671, 2005-02-27)
18b20\code\app\I2C.h (3461, 2005-02-27)
18b20\code\app\SendStr.c (1996, 2005-12-10)
18b20\code\app\SendStr.h (182, 2005-12-10)
18b20\code\app (0, 2006-02-17)
18b20\code\OS\OS_CORE.C (49797, 2004-11-23)
... ...

μCOS-II应用于lpc210x上的移植代码。这些代码均需要使用ARM方式编译(使用ARM指令集) 其实Os_cpu_a.s、Os_cpu.h和Os_cpu_c.c与ARM7的通用移植代码,真正与lpc210x相关的代码在本目录下 的others下面,它们是与目标板相关的代码的例子。它们均在真正的文件名的主文件名后增加了_ex字符串。 例如,Includes_ex.h就是Includes.h的例子。其中: config.h :项目总头文件,根据需要改变。 Includes.h :μCOS-II部分的总头文件,一般无需改变。 Vectors.s :为lpc210x的中断与c语言ISR函数接口的汇编代码(包括中断向量表)及初始化堆栈的 代码,如果使用lpc210x,一般只需要按照规则增加或改变IRQ中断与c语言ISR函数接口 代码。如果使用其它arm7芯片则按照其芯片要求实现相同功能的代码。 Init.s :芯片复位到执行c语言入口前执行的一些代码。如果使用lpc210x,这部分无需改动。如 果使用其它arm7芯片则按照其芯片要求初始化更多的外设。 target.c :与目标板相关的代码的c语言部分,主要包括在执行main()函数之前初始化目标板的函数 TargetResetInit()、用户程序调用的初始化函数TargetInit()、库函数的堆初始化函数 __user_initial_stackheap()(参考ads1.2的编译手册)和中断处理函数。用户根据需要 改变其代码。 target.h :target.h的头文件。

近期下载者

相关文件


收藏者