文件名称:ucos51在KeilC51上仿真运行
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 714kb
- 下载次数:
- 0次
- 提 供 者:
- 套*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Demo程序经Keil701编译后,代码量为7-8K,可直接在KeilC51上仿真运行。 使用方法:解压后双击yy项目,点调试即可在串口仿真看到结果。 Demo程序创建了3个任务A、B、C优先级分别为2、3、4,A每秒显示一次,B每3秒显示一次,C每6秒显示一次。从显示结果看,显示3个A后显示1个B,显示6个A和2个B后显示1个C,结果显然正确。用户可以仿照范例运用更多系统API函数写出自己的程序。只要程序中有显示语句就可以用软件仿真器看结果。注意:系统提供的显示函数是并发的,他不是直接显示到串口,而是先输出到显存,用户不必担心IO慢速操作影响程序运行。串口输入也采用了同样的技术,他使得用户在CPU忙于处理其他任务时照样可以盲打输入命令。 将EXL2-shell目录下的文件覆盖yy目录下的同名文件,将word.c、yyshell.c、yyshellsub.c、mystring.c加入项目,删除yy1.c,编译后调试即可。输入help可得到在线帮助,具体命令用法见文章说明。 yangye网友推荐http://www.sics.se/~adam/lwip/网站学习TCPIP,该网站开放源代码的lwip是专为8bit和16bitMCU设计的TCPIP协议栈,已在多种CPU上移植成功,推荐大家下载。-Demo processes Keil701 compiler, code capacity of 7-8K to be directly in KeilC51 on simulation run. Use : unpacked click yy, debugging points in the serial simulation can see the result. Demo procedures for the creation of three task A, B, C priority for 2,3,4, A second shows a B every three seconds a show, C every six seconds a show. Looking at the results from the show, a show three shows a B, showed six A and two B shows a C, the result is obviously correct. Users can use more modeled on the example of system API function to write their own procedures. As long as the procedures are shown on the statement can be used simulation software for the outcome. Note : the system provides display function is complicated, and he is not a direct indication of the serial port, but before the output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Code
....\INCLUDES.H
....\mystring.c
....\mystring.h
....\mystring.LST
....\mystring.OBJ
....\OS_CFG.H
....\OS_CORE.C
....\OS_CPU.H
....\OS_CPU_A.ASM
....\Os_cpu_a.LST
....\Os_cpu_a.OBJ
....\OS_CPU_C.C
....\Os_cpu_c.LST
....\Os_cpu_c.OBJ
....\OS_MBOX.C
....\OS_MEM.C
....\OS_Q.C
....\OS_SEM.C
....\OS_TASK.C
....\OS_TIME.C
....\serial.c
....\serial.h
....\UCOS_II.C
....\UCOS_II.H
....\Ucos_ii.LST
....\Ucos_ii.OBJ
....\word.c
....\word.h
....\word.LST
....\word.OBJ
....\yy
....\yy.c
....\yy.lnp
....\yy.M51
....\yy.Opt
....\yy.plg
....\yy.Uv2
....\yyshell.c
....\yyshell.h
....\yyshell.LST
....\yyshell.OBJ
....\yyshellsub.c
....\yyshellsub.h
....\yyshellsub.LST
....\yyshellsub.OBJ
....\yy_Opt.Bak
....\yy_Uv2.Bak
Schpcb
......\Chipsel.abl
......\TXFX.ddb
uIP
...\lwIP - A Lightweight TCP-IP Stack.htm
...\Rabbit 2000-3000 TCP-IP Port (lwIP).files
...\.........................................\LimeRock.jpg
...\.........................................\LimeRockSliver.jpg
...\.........................................\lwIPSoftools.png
...\.........................................\NewsButton.jpg
...\.........................................\ProductsButton.jpg
...\.........................................\RabbitTCPIP.jpg
...\.........................................\RCM2100.jpg
...\.........................................\ServicesButton.jpg
...\.........................................\SiteGuideButton.jpg
...\.........................................\SplashGradient.png
...\.........................................\StaffRoomButton.jpg
...\Rabbit 2000-3000 TCP-IP Port (lwIP).htm
...\tapdev_c.htm
...\uIP - Download.htm
...\uip-0.5
...\.......\apps
...\.......\....\httpd
...\.......\....\.....\cgi.c
...\.......\....\.....\cgi.h
...\.......\....\.....\fs
...\.......\....\.....\..\cgi
...\.......\....\.....\..\...\files
...\.......\....\.....\..\...\stats
...\.......\....\.....\..\...\tcp
...\.......\....\.....\..\files_footer.plain
...\.......\....\.....\..\files_header.html
...\.......\....\.....\..\index.html
...\.......\....\.....\..\stats_footer.plain
...\.......\....\.....\..\stats_header.html
...\.......\....\.....\..\tcp_footer.plain
...\.......\....\.....\..\tcp_header.html
...\.......\....\.....\fs.c
...\.......\....\.....\fs.h
...\.......\....\.....\fsdata.c
...\.......\....\.....\fsdata.h
...\.......\....\.....\httpd.c
...\.......\....\.....\httpd.h
...\.......\....\.....\makefsdata
...\.......\bsd
...\.......\...\main.c
...\.......\...\Makefile
....\INCLUDES.H
....\mystring.c
....\mystring.h
....\mystring.LST
....\mystring.OBJ
....\OS_CFG.H
....\OS_CORE.C
....\OS_CPU.H
....\OS_CPU_A.ASM
....\Os_cpu_a.LST
....\Os_cpu_a.OBJ
....\OS_CPU_C.C
....\Os_cpu_c.LST
....\Os_cpu_c.OBJ
....\OS_MBOX.C
....\OS_MEM.C
....\OS_Q.C
....\OS_SEM.C
....\OS_TASK.C
....\OS_TIME.C
....\serial.c
....\serial.h
....\UCOS_II.C
....\UCOS_II.H
....\Ucos_ii.LST
....\Ucos_ii.OBJ
....\word.c
....\word.h
....\word.LST
....\word.OBJ
....\yy
....\yy.c
....\yy.lnp
....\yy.M51
....\yy.Opt
....\yy.plg
....\yy.Uv2
....\yyshell.c
....\yyshell.h
....\yyshell.LST
....\yyshell.OBJ
....\yyshellsub.c
....\yyshellsub.h
....\yyshellsub.LST
....\yyshellsub.OBJ
....\yy_Opt.Bak
....\yy_Uv2.Bak
Schpcb
......\Chipsel.abl
......\TXFX.ddb
uIP
...\lwIP - A Lightweight TCP-IP Stack.htm
...\Rabbit 2000-3000 TCP-IP Port (lwIP).files
...\.........................................\LimeRock.jpg
...\.........................................\LimeRockSliver.jpg
...\.........................................\lwIPSoftools.png
...\.........................................\NewsButton.jpg
...\.........................................\ProductsButton.jpg
...\.........................................\RabbitTCPIP.jpg
...\.........................................\RCM2100.jpg
...\.........................................\ServicesButton.jpg
...\.........................................\SiteGuideButton.jpg
...\.........................................\SplashGradient.png
...\.........................................\StaffRoomButton.jpg
...\Rabbit 2000-3000 TCP-IP Port (lwIP).htm
...\tapdev_c.htm
...\uIP - Download.htm
...\uip-0.5
...\.......\apps
...\.......\....\httpd
...\.......\....\.....\cgi.c
...\.......\....\.....\cgi.h
...\.......\....\.....\fs
...\.......\....\.....\..\cgi
...\.......\....\.....\..\...\files
...\.......\....\.....\..\...\stats
...\.......\....\.....\..\...\tcp
...\.......\....\.....\..\files_footer.plain
...\.......\....\.....\..\files_header.html
...\.......\....\.....\..\index.html
...\.......\....\.....\..\stats_footer.plain
...\.......\....\.....\..\stats_header.html
...\.......\....\.....\..\tcp_footer.plain
...\.......\....\.....\..\tcp_header.html
...\.......\....\.....\fs.c
...\.......\....\.....\fs.h
...\.......\....\.....\fsdata.c
...\.......\....\.....\fsdata.h
...\.......\....\.....\httpd.c
...\.......\....\.....\httpd.h
...\.......\....\.....\makefsdata
...\.......\bsd
...\.......\...\main.c
...\.......\...\Makefile