文件名称:ucos51在KeilC51上仿真运行
介绍说明--下载内容均来自于网络,请自行研究使用
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 689928ucos51在keilc51上仿真运行.rar 列表 Code Code\INCLUDES.H Code\OS_CFG.H Code\OS_CORE.C Code\OS_CPU.H Code\OS_CPU_A.ASM Code\OS_CPU_C.C Code\OS_MBOX.C Code\OS_MEM.C Code\OS_Q.C Code\OS_SEM.C Code\OS_TASK.C Code\OS_TIME.C Code\serial.c Code\serial.h Code\UCOS_II.C Code\UCOS_II.H Code\yy.c Code\yy.plg Code\mystring.c Code\mystring.h Code\word.c Code\word.h Code\yyshell.c Code\yyshell.h Code\yyshellsub.c Code\yyshellsub.h Code\yy.lnp Code\yy.M51 Code\yy_Uv2.Bak Code\yy_Opt.Bak Code\Os_cpu_c.LST Code\Os_cpu_c.OBJ Code\Ucos_ii.LST Code\Ucos_ii.OBJ Code\Os_cpu_a.OBJ Code\Os_cpu_a.LST Code\mystring.LST Code\mystring.OBJ Code\word.LST Code\word.OBJ Code\yyshell.LST Code\yyshell.OBJ Code\yyshellsub.LST Code\yyshellsub.OBJ Code\yy Code\yy.Uv2 Code\yy.Opt Schpcb Schpcb\TXFX.ddb Schpcb\Chipsel.abl uIP uIP\lwIP - A Lightweight TCP-IP Stack.htm uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).htm uIP\tapdev_c.htm uIP\uIP - Download.htm uIP\uip-0.6 uIP\uip-0.6\COPYRIGHT uIP\uip-0.6\README uIP\uip-0.6\unix uIP\uip-0.6\unix\Makefile uIP\uip-0.6\unix\main.c uIP\uip-0.6\unix\tapdev.c uIP\uip-0.6\unix\tapdev.h uIP\uip-0.6\unix\uip_arch.c uIP\uip-0.6\unix\uip_arch.h uIP\uip-0.6\unix\uipopt.h uIP\uip-0.6\uip uIP\uip-0.6\uip\uip_arp.c uIP\uip-0.6\uip\uip.c uIP\uip-0.6\uip\uip.h uIP\uip-0.6\uip\uip_arp.h uIP\uip-0.6\cc65 uIP\uip-0.6\cc65\Makefile uIP\uip-0.6\cc65\README uIP\uip-0.6\cc65\main.c uIP\uip-0.6\cc65\rs232dev.c uIP\uip-0.6\cc65\rs232dev.h uIP\uip-0.6\cc65\slipdev.c uIP\uip-0.6\cc65\tunslip.c uIP\uip-0.6\cc65\uip_arch.c uIP\uip-0.6\cc65\uip_arch.h uIP\uip-0.6\cc65\uipopt.h uIP\uip-0.6\apps uIP\uip-0.6\apps\httpd uIP\uip-0.6\apps\httpd\fsdata.c uIP\uip-0.6\apps\httpd\cgi.c uIP\uip-0.6\apps\httpd\cgi.h uIP\uip-0.6\apps\httpd\fs.c uIP\uip-0.6\apps\httpd\fs.h uIP\uip-0.6\apps\httpd\fsdata.h uIP\uip-0.6\apps\httpd\httpd.c uIP\uip-0.6\apps\httpd\httpd.h uIP\uip-0.6\apps\httpd\makefsdata uIP\uip-0.6\apps\httpd\fs uIP\uip-0.6\apps\httpd\fs\files_footer.plain uIP\uip-0.6\apps\httpd\fs\files_header.html uIP\uip-0.6\apps\httpd\fs\index.html uIP\uip-0.6\apps\httpd\fs\stats_footer.plain uIP\uip-0.6\apps\httpd\fs\stats_header.html uIP\uip-0.6\apps\httpd\fs\tcp_footer.plain uIP\uip-0.6\apps\httpd\fs\tcp_header.html uIP\uip-0.6\apps\httpd\fs\cgi uIP\uip-0.6\apps\httpd\fs\cgi\files uIP\uip-0.6\apps\httpd\fs\cgi\stats uIP\uip-0.6\apps\httpd\fs\cgi\tcp uIP\uip-0.5 uIP\uip-0.5\README uIP\uip-0.5\COPYRIGHT uIP\uip-0.5\bsd uIP\uip-0.5\bsd\uipopt.h uIP\uip-0.5\bsd\README uIP\uip-0.5\bsd\main.c uIP\uip-0.5\bsd\tundev.c uIP\uip-0.5\bsd\tundev.h uIP\uip-0.5\bsd\uip_arch.c uIP\uip-0.5\bsd\uip_arch.h uIP\uip-0.5\bsd\Makefile uIP\uip-0.5\apps uIP\uip-0.5\apps\httpd uIP\uip-0.5\apps\httpd\cgi.c uIP\uip-0.5\apps\httpd\cgi.h uIP\uip-0.5\apps\httpd\fs.c uIP\uip-0.5\apps\httpd\fs.h uIP\uip-0.5\apps\httpd\fsdata.h uIP\uip-0.5\apps\httpd\httpd.c uIP\uip-0.5\apps\httpd\httpd.h uIP\uip-0.5\apps\httpd\fsdata.c uIP\uip-0.5\apps\httpd\makefsdata uIP\uip-0.5\apps\httpd\fs uIP\uip-0.5\apps\httpd\fs\files_footer.plain uIP\uip-0.5\apps\httpd\fs\files_header.html uIP\uip-0.5\apps\httpd\fs\index.html uIP\uip-0.5\apps\httpd\fs\stats_footer.plain uIP\uip-0.5\apps\httpd\fs\stats_header.html uIP\uip-0.5\apps\httpd\fs\tcp_footer.plain uIP\uip-0.5\apps\httpd\fs\tcp_header.html uIP\uip-0.5\apps\httpd\fs\cgi uIP\uip-0.5\apps\httpd\fs\cgi\files uIP\uip-0.5\apps\httpd\fs\cgi\stats uIP\uip-0.5\apps\httpd\fs\cgi\tcp uIP\uip-0.5\h8 uIP\uip-0.5\h8\vectors.c uIP\uip-0.5\h8\README uIP\uip-0.5\h8\crt0.s uIP\uip-0.5\h8\hd2144.h uIP\uip-0.5\h8\main.c uIP\uip-0.5\h8\rs232dev.c uIP\uip-0.5\h8\rs232dev.h uIP\uip-0.5\h8\uip.xcl uIP\uip-0.5\h8\uip_arch.c uIP\uip-0.5\h8\uip_arch.h uIP\uip-0.5\h8\uipopt.h uIP\uip-0.5\h8\Makefile uIP\uip-0.5\uip uIP\uip-0.5\uip\uip.c uIP\uip-0.5\uip\uip.h uIP\uip-0.5\cc65 uIP\uip-0.5\cc65\uipopt.h uIP\uip-0.5\cc65\README uIP\uip-0.5\cc65\main.c uIP\uip-0.5\cc65\rs232dev.c uIP\uip-0.5\cc65\rs232dev.h uIP\uip-0.5\cc65\slipdev.c uIP\uip-0.5\cc65\tunslip.c uIP\uip-0.5\cc65\uip_arch.c uIP\uip-0.5\cc65\uip_arch.h uIP\uip-0.5\cc65\Makefile uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\CompendiumRock.png uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\RabbitTCPIP.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\SplashGradient.png uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\LimeRockSliver.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\lwIPSoftools.png uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\RCM2100.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\AboutUsButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\ServicesButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\ProductsButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\NewsButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\EmploymentButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\StaffRoomButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\SiteGuideButton.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\LimeRock.jpg uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\BlueGradient.png uIP\Rabbit 2000-3000 TCP-IP Port (lwIP).files\join.gif 使用说明.txt