给大家传两个Keil的插件,平凡工作室做的,很棒,可以在Keil中模拟出实验板,能作不少实验(ledkey,simboard) 使用说明: 1. 请将下载的2个插件内容拷贝到uVision 的安装目录下的 \Keil\C51\BIN 中 2. 修改 Tool.ini, 此文件位于 uVision 的安装目录 \keil 下. 请将下面的内容 添加到 [C51] 部分的后面. AGSI1=ledkey.dll ("ledkey") AGSI2=simboard.dll ("simboard") 3. 重启uVsion. 进入Debug 模式, 打开菜单Peripheral, 发现增加了2项 分别是键盘LED仿真板,51实验仿真板。 这样使用时就不用每次设置了,任何时候打开都可以用。-for everyone - 2 Keil plug-in, the average studios do and outstanding, Keil which can simulate experimental plates, which can be made many experiments (ledkey. simboard) use : 1. Please download the plug-in two kernels to copy the contents of the installation directory \ Keil \ C51 \ BIN 2. Tool.ini changes, this document kernels at the installation directory \ under Keil. Please add the following line to the Department of [C51] the points behind. AGSI1 = ledkey.dll ( "ledkey") = sim AGSI2 board.dll ( "simboard") 3. uVsion resume. enter Debug mode - open menu Peripheral and found an increase of 2 respectively LED keyboard simulation board, 51 simulation board. Such use would not have to set up every time, any time you can use open. 下载
|
这是Small RTOS 51 在DP-51下载仿真实验仪上使用CAT24WC02驱动程序的例子。本例程序按照相应的的通讯协议接收一个数据,并将接收到的数据显示到LED数码显示器上。然后将接收到的数据写入Cat24Wc02中,再在同一位置将数据读出,并将读出的数据通过串口发送回来。通讯协议参考rtos随想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\temp中,您可以在Project->Options for Target "Target 1"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变. (2)编译时会有4个警告,可以忽略. (3)DP-51下载仿真实验仪的所有跳线选取默认值。-This is the Small RTOS 51 DP-51 download simulation NG use CAT24WC 02 Driver for example. The cases in accordance with the relevant procedures of receiving a communication protocol data and receiving the data shows that the LED digital display. Then sending the data into Cat24Wc02, again in the same position will be read out data, will be read out through the serial data sent back. Communication protocol reference rtos test.ini and Capriccio. Note : (1) in KEIL C51 project, I have incorporated the output directory in e : \ temp. You can Project - 下载
|
这是Small RTOS 51 DP-51下载仿真实验仪上实现一个闹钟的源代码。它可以使用k1~k4调整时间,使用串口设置一个报警时间。由于仅仅是一个例子而非产品,有一些细节没有完善。如调整完时间后第一次显示的时间是错误的(由于共享TimeData引起);没有使用串行eeprom存储多个报警时间等;删除报警代码没有编写。不过,程序已经可以使用,读者可以自行完善它。通讯协议参考rtos随想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\temp中,您可以在Project->Options for Target "Target 1"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变. (2)编译时会有6个警告,可以忽略. (3)除与pcf8563相关的跳线和蜂鸣器的跳线外,DP-51下载仿真实验仪的所有跳线选取默认值。-This is the Small RTOS 51 DP-51 download simulation device to achieve a clock source. It can be used k1 k4-time adjustments, the use of a serial set alarm time. As just one example, not products, some of the details not perfect. End adjustment time as the first time the show is wrong (due to shared TimeData lead); not using serial eeprom storage alarm over time; Alarm delete code compiled. However, the procedure can be used, the reader is free to perfect it. Communication protocol reference rtos test.ini and Capriccio. Note : (1) in KEIL C51 project, I have incorporated the output directory in e : \ temp. You can Project - 下载
|
This project is created using the Keil ARM CA Compiler. The Logic Analyzer built into the simulator may be used to monitor and display any variable or peripheral I/O register. It is already configured to show the PWM output signal on PORT3.0 and PORT3.1 This ARM Example may be debugged using only the uVision Simulator and your PC--no additional hardware or evaluation boards are required. The Simulator provides cycle-accurate simulation of all on-chip peripherals of the ADuC7000 device series. You may create various input signals like digital pulses, sine waves, sawtooth waves, and square waves using signal functions which you write in C. Signal functions run in the background in the simulator within timing constraints you configure. In this example, several signal functions are defined in the included Startup_SIM.INI file. -This project is created using the Keil ARM C A Compiler. The Logic Analyzer built into the si mulator may be used to monitor and display any va riable or peripheral I / O register. It is alread y configured to show the PWM output signal on POR T3.0 and ARM Example PORT3.1 This may be debugge d using only the kernels Simulator and your PC -- no additional hardware or evaluation boards ar e required. The Simulator provides cycle-accu rate simulation of all on-chip peripherals of t he ADuC7000 device series. You may create VARIO input signals us like digital pulses, sine waves, and sawtooth waves. square waves and using signal functions which y ou write in C. Signal functions run in the backgr in the simulator is within timing constraint s you configure. In this example, several signal functi 下载
|