Description: 含代码UCOS_II测试程序说明有详细过程说明
测试步骤
1> 开发板上电
2> 运行串口监视软件,波特率115200,8N1
3> 运行测试程序
4> 在串口监视软件中显示OSRunning后,最右侧的LED灯开始闪烁,
间隔为1秒。同时每隔2秒可以在监视窗口中看到当前CPU利用率。
按下某个键后,会在监视窗口中看到诸如“msg = x”的信息。-containing code UCOS_II test a detailed description of the procedures for testing process shows the steps 1gt; Development board -- inversion; Serial run monitoring software, N1 3gt 115200,8 baud rate; 4gt testing procedures; The serial surveillance software OSRunning show, the most right side of the LED lights begin blinking , the spacing of a seconds. While every two seconds for the monitor window to see the current CPU utilization. After clicking a button, the monitor window to see such as "msg = x" message. Platform: |
Size: 148456 |
Author:李大嘴 |
Hits:
Description: // 1、显示器资料(例如显示器序列号)
// 2、主板信息(例如主板序列号)
// 3、硬盘信息(例如硬盘序列号,品牌)
// 4、芯片信息(例如芯片序列号)
// 5、处理器信息(例如处理器序列号,品牌)
// 6、光驱信息
// 7、键盘信息
// 8、Modem信息
// 9、内存信息-/ / a, display information (for example, monitor serial number) / / 2. motherboard information (such as serial numbers motherboard) / / 3, hard disk information (eg hard drive serial number, brand) / / 4, chip information (such as chip sequence) / / 5, processor information (such as processor serial number, brand) / / 6, Optical information / / 7, keyboard information / / 8, Modem Information / / 9, the memory of information Platform: |
Size: 10749 |
Author:kk |
Hits:
Description: Altera recommends the following system configuration: * Pentium II 400 with 512-MB system memory (faster systems give better software performance) * SVGA monitor * CD-ROM drive * One or more of the following I/O ports: - USB port (if using Windows XP or Windows 2000) for USB-Blaster(TM) or MasterBlaster(TM) communications cables, or APU programming unit - Parallel port for ByteBlasterMV(TM) or ByteBlaster(TM) II download cables - Serial port for MasterBlaster communications cable * TCP/IP networking protocol installed * Windows 2000, Windows NT 4.0 with Service Pack 3 or later, or Windows XP * Internet Explorer 5.0 or later Memory & Disk Space Requirements USB开发--Altera recommends the following system configuration:* Pentium II 400 with 512-MB system memory (faster systems give better software performance) * SVGA monitor * CD-ROM drive * One or more of the following I/O ports: - USB port (if using Windows XP or Windows 2000) for USB-Blaster(TM) or MasterBlaster(TM) communications cables, or APU programming unit - Parallel port for ByteBlasterMV(TM) or ByteBlaster(TM) II download cables - Serial port for MasterBlaster communications cable * TCP/IP networking protocol installed * Windows 2000, Windows NT 4.0 with Service Pack 3 or later, or Windows XP * Internet Explorer 5.0 or later Memory & Disk Space Requirements USB development Platform: |
Size: 7299705 |
Author:周元平 |
Hits:
Description: Altera recommends the following system configuration: * Pentium II 400 with 512-MB system memory (faster systems give better software performance) * SVGA monitor * CD-ROM drive * One or more of the following I/O ports: - USB port (if using Windows XP or Windows 2000) for USB-Blaster(TM) or MasterBlaster(TM) communications cables, or APU programming unit - Parallel port for ByteBlasterMV(TM) or ByteBlaster(TM) II download cables - Serial port for MasterBlaster communications cable * TCP/IP networking protocol installed * Windows 2000, Windows NT 4.0 with Service Pack 3 or later, or Windows XP * Internet Explorer 5.0 or later Memory & Disk Space Requirements USB开发--Altera recommends the following system configuration:* Pentium II 400 with 512-MB system memory (faster systems give better software performance)* SVGA monitor* CD-ROM drive* One or more of the following I/O ports:- USB port (if using Windows XP or Windows 2000) for USB-Blaster(TM) or MasterBlaster(TM) communications cables, or APU programming unit- Parallel port for ByteBlasterMV(TM) or ByteBlaster(TM) II download cables- Serial port for MasterBlaster communications cable* TCP/IP networking protocol installed* Windows 2000, Windows NT 4.0 with Service Pack 3 or later, or Windows XP* Internet Explorer 5.0 or later Memory & Disk Space Requirements USB development Platform: |
Size: 7300096 |
Author:周元平 |
Hits:
Description: 含代码UCOS_II测试程序说明有详细过程说明
测试步骤
1> 开发板上电
2> 运行串口监视软件,波特率115200,8N1
3> 运行测试程序
4> 在串口监视软件中显示OSRunning后,最右侧的LED灯开始闪烁,
间隔为1秒。同时每隔2秒可以在监视窗口中看到当前CPU利用率。
按下某个键后,会在监视窗口中看到诸如“msg = x”的信息。-containing code UCOS_II test a detailed description of the procedures for testing process shows the steps 1gt; Development board-- inversion; Serial run monitoring software, N1 3gt 115200,8 baud rate; 4gt testing procedures; The serial surveillance software OSRunning show, the most right side of the LED lights begin blinking , the spacing of a seconds. While every two seconds for the monitor window to see the current CPU utilization. After clicking a button, the monitor window to see such as "msg = x" message. Platform: |
Size: 477184 |
Author:李大嘴 |
Hits:
Description: // 1、显示器资料(例如显示器序列号)
// 2、主板信息(例如主板序列号)
// 3、硬盘信息(例如硬盘序列号,品牌)
// 4、芯片信息(例如芯片序列号)
// 5、处理器信息(例如处理器序列号,品牌)
// 6、光驱信息
// 7、键盘信息
// 8、Modem信息
// 9、内存信息-//a, display information (for example, monitor serial number)// 2. motherboard information (such as serial numbers motherboard)// 3, hard disk information (eg hard drive serial number, brand)// 4, chip information (such as chip sequence)// 5, processor information (such as processor serial number, brand)// 6, Optical information// 7, keyboard information// 8, Modem Information// 9, the memory of information Platform: |
Size: 10240 |
Author:kk |
Hits:
Description: ADuC812是美国AD公司推出的高性能单片机,具有集成度高、资源丰富等特点。
(1) 基于8051的内核,指令系统与8051兼容,额定工作频率12MHz。
(2) 8KB片内闪速/电擦除程序存储器 640B片内闪速/电擦除数据存储器 256B片内数据RAM。
(3) 3个16位的定时器/计数器 32根可编程I/O线 9个中断源,2个优先级。
(4) 1个8通道,高精度12位ADC 2个12位电压输出DAC。
(5) 1个片内温度传感器。
(6) 采用3V、5V电压工作 具有正常、待机和掉电三种工作模式。
(7) 1个通用UART串行I/O 1个与I2C兼容的两线串口和SPI串口 1个看门狗定时器(WDT) 1个电源监视器(PSM)。-ADuC812 is AD Launches the United States, high-performance single-chip, high integration and rich in resources and so on. (1) Based on the 8051 core 8051 compatible instruction set with a rated operating frequency of 12MHz. (2) 8KB-chip Flash/EE program memory 640B-chip Flash/EE data memory 256B-chip data RAM. (3) three 16-bit timer/counter 32 programmable I/O lines 9 interrupt sources, two priority. (4) an 8-channel, high-precision 12-bit ADC 2 12-bit voltage output DAC. (5) a-chip temperature sensor. (6) the use of 3V, 5V voltage with normal, standby and power-down mode of the three. (7) a generic UART serial I/O 1 with I2C-compatible two-wire SPI serial port and serial port a watchdog timer (WDT) 1 power supply monitor (PSM). Platform: |
Size: 695296 |
Author:白涛 |
Hits:
Description: c8051f系列单片机的SPI
并行/串行通信源程序
Cygnal出的一种混合信号系统级单片机。片内含CIP-51的CPU内核,它的指令系统与MCS-51完全兼容。其中的C8051F020单片机含有64kB片内Flash程序存储器,4352B的RAM、8个I/O端口共64根I/O口线、一个12位A/D转换器和一个8位A/D转换器以及一个双12位D/A转换器、2个比较器、5个16位通用定时器、5个捕捉/比较模块的可编程计数/定时器阵列、看门狗定时器、VDD监视器和温度传感器等部分。C8051F020单片机支持双时钟,其工作电压范围为2.7~3.6V(端口I/O,RST和JTAG引脚的耐压为5V)。与以前的51系列单片机相比,C8051F020增添了许多功能,同时其可靠性和速度也有了很大提高。 -c8051f Series MCU SPI
Parallel/Serial Communication source
Cygnal out a single-chip mixed-signal system-level. Tablets containing the CIP-51 core CPU, and its command system and the MCS-51 is fully compatible. Containing one of the C8051F020 single-chip 64kB chip Flash program memory, 4352B of RAM, 8个I/O ports a total of 64 I/O port line, a 12-bit A/D converter and an 8-bit A/D converter as well as a dual 12-bit D/A converter, 2 comparators, five 16-bit general purpose timers, 5 capture/compare module programmable counter/timer arrays, Watchdog Timer, VDD Monitor and temperature sensors and other parts. C8051F020 single-chip dual clock, its operating voltage range of 2.7 ~ 3.6V (Port I/O, RST, and JTAG pins of the voltage to 5V). With the previous 51 series single-chip comparison, C8051F020 added a lot of functionality, reliability and speed at the same time also has been greatly improved. Platform: |
Size: 6144 |
Author:天下第三 |
Hits:
Description: 用VC^++实现多线程方式下的串行通信
摘要:结合实际工程,在VC 环境下通过采用创建事件对象来保持线程同步、利用两个监听函
数提高数据接收效率和可靠性等措施实现了多线程串行通信,完成了工程前端数据采集器与后台
计算机之间的数据传输。
关键词:串行通信;多线程;VC
中图分类号:TN919.3 文献标识码:A-Serial communication realization by multiple threads in VC++
ZH AN G W ei—gang。cH EN W en—bin
(School of Information Engineering,Chang an University,Xi an 710064,China)
Abstract:Combined with an actual project,the data transference between a data collector and a
computer was realized by means of multiple threads serial communication under the VC
environment by adopting measures of creating event object to keep synchronous among threads
and making use of two monitor functions to increase data receiving efficiency.
Key words:serial com munication;m ultiple threads;VC Platform: |
Size: 134144 |
Author:wLiao |
Hits:
Description: 智能温度感测器
(1)8051 的Port 1连接到LCD显示PORT 3的P3.3,P3.4和P3.5分别连接到LCD显示器的控制线,程序执行时可以让LCD显示器显示出时间和日期。
(2)温度感测组件AD590经由ADC0804将感测到的温度,转换成数字数据,然后经由PORT 0输入8051。
(3)8051的第10和第11只脚RXD和TXD分别连线到MAX232,然后连接到PC的COM埠。
(4)8051实验板每 小时就读入ADC0804转换的数字温度数据,然后记录在串行式EEPROM 93C66中。
(5)8051实验板可以经由RS232将记录在串行EEPROM 93C66中的数字温度数据传送PC端。*/-Intelligent Temperature Sensor (1) 8051 Port 1 to connect to the LCD display PORT 3 of the P3.3, P3.4 and P3.5 are connected to the LCD display control line, the program execution allows LCD monitor shows time and日期. (2) AD590 temperature sensing components measured by the ADC0804 to sense the temperature, converted into digital data, and then enter the 8051 via PORT 0. (3) 8051 10 and 11 feet respectively, RXD, and TXD connected to the MAX232, and then connect to the PC' s COM port. (4) 8051 Experimental plates per hour enrollment ADC0804 to convert digital temperature data, and then recorded in the serial EEPROM 93C66. (5) The 8051 experiment panels can be recorded through the RS232 serial EEPROM 93C66 in the digital temperature data transmission PC side.* / Platform: |
Size: 52224 |
Author:tianxue |
Hits:
Description: This program was designed as a utility tool to allow the user to send and recieve data from a serial com port while monitory the byte data. If a loopback ciruit is made on the com port(jumper send to recieve DB9 pins 2 & 3) a developer can also monitor the way VB interprets the data that is being sent or recieved. The port settings can be configured as desired and the last setting are stored in the registry under the Key HKEY_LOCAL_MACHINE\Software\ Damage Inc\Com Settings . The Input Mode Property Defaults to binary. It was not designed to poll the com port or use handshaking with a device, it was intended to send data to a device and then read the devices response as a simple tool. The code maybe modified as desired and may be freely redistributed. I hold no responsiblity for the way it is used. It has been tested on Windows NT 4.0 SrvPk 6a and on Windows 2000 SrvPk 2. It was developed under VB6 SrvPk 5.-This program was designed as a utility tool to allow the user to send and recieve data from a serial com port while monitory the byte data. If a loopback ciruit is made on the com port(jumper send to recieve DB9 pins 2 & 3) a developer can also monitor the way VB interprets the data that is being sent or recieved. The port settings can be configured as desired and the last setting are stored in the registry under the Key HKEY_LOCAL_MACHINE\Software\ Damage Inc\Com Settings . The Input Mode Property Defaults to binary. It was not designed to poll the com port or use handshaking with a device, it was intended to send data to a device and then read the devices response as a simple tool. The code maybe modified as desired and may be freely redistributed. I hold no responsiblity for the way it is used. It has been tested on Windows NT 4.0 SrvPk 6a and on Windows 2000 SrvPk 2. It was developed under VB6 SrvPk 5. Platform: |
Size: 8192 |
Author:andradrr |
Hits:
Description: 1.以WPF+C#開發
2.可同時監控多個Serial Port資料傳輸
3.多執行緒
4.LED動畫-1. To WPF+ C# Developer 2. Can simultaneously monitor multiple Serial Port Data Transfer 3. Multithreaded 4.LED Animation Platform: |
Size: 612352 |
Author:Dylan Lai |
Hits:
Description: 1.使用多线程的串口类。有读线程和写线程,发送、接收缓冲区(默认2048字节),满足高性能的收发要求。
2.提供事件通知回调函数接口,可以实现接收的消息接口
3.可以监控Modem事件,提供流控接口。
4.调用接口简单。使用例程参考CommTest.dsw-1. Using multi-thread serial port class. Have read the thread and write threads, send, receive buffer (default 2048 bytes), to meet the requirements of high performance transceivers. 2. To provide event notification callback interface to receive the message interface can be achieved 3. Modem can monitor events, to provide flow control interface. 4. Call interface simple. Use of routine reference CommTest.dsw Platform: |
Size: 83968 |
Author:梁东 |
Hits:
Description: 多功能数显表
本毕业设计的设计任务为一个多功能数显表。该数显表可以测量和显示气压、冲击频率和耗气量。并且具有RS232接口和时间显示。本毕业设计作品选用AK-4气压传感器和LWGY涡轮流量传感器,通过MCS-51单片机来控制操作,实现信号数据的采集、处理和发送。本毕业设计作品不仅可以将气压、冲击频率、耗气量及时间等数据显示在8个LED数码管上,还会通过RS232串口,将数据发送到PC上。并由PC上的配套程序,将信息数据显示在显示器上,这两部分所显示的数据是完全相同的。其中数字显示时间单位为秒,冲击频率的单位为BMP,耗气量的单位为立方米/小时。同时,系统会自动计时,开始运行3分钟之后,自动结束测量、显示,并保存信息数据。-Multi-function digital meter
The design of this graduation project is a multi-task digital form. The digital meter can measure and display pressure, impact frequency and air consumption. And has a RS232 interface and time display. The selection of graduate design works of AK-4 LWGY turbine flow sensors and pressure sensors, through the MCS-51 microcontroller to control the operation, and signal data collection, processing and transmission. This can not only graduated from design work to pressure, impact frequency, air consumption and time data is displayed in 8 LED digital tube, but also through the RS232 serial port, send data to the PC. By supporting programs on the PC, the information data displayed on the monitor, the data shown in these two parts are identical. One time, in seconds digital display, the impact frequency of the units BMP, air consumption of the units of cubic meters/hour. Meanwhile, the system will automatically time to start running after 3 minutes, automatically Platform: |
Size: 794624 |
Author:严二伟 |
Hits:
Description: 串口仿真,串口调试,虚拟串口,串口监控器,485通讯仿真,虚拟485设备,虚拟485主机。打包了,省得朋友们网上找。-Serial port emulation, serial debugging, virtual serial port, serial port monitor, 485 simulation, 485 virtual devices, virtual host 485. Package, and save the Internet to find friends. Platform: |
Size: 12232704 |
Author:jianglide |
Hits:
Description: (1)初始化定时器与中断控制寄存器,初始化液晶显示器,设置串口通信波特率。
(2)启动双积分AD转换过程,循环读取反向积分的计数值N,根据式3-7算出反向积分的计时值T2,换算出荷载重量值,送LCD显示。
(3)每次换算出荷载重量值后,判断荷载是否超量程,如果超过系统量程2kg,则启动蜂鸣器报警。当荷载卸载至2kg以下后,解除报警。
(4)如果有校准按键被按下,则响应外部中断0并查询按键编号,执行相应校准程序。
(5)如果上位机软件STP_ISP发送了在线控制命令,则响应串口中断,接收并判断命令码,依据命令码执行校准程序并向上位机发送数据。
-(1) initial timer and interrupt control register, the initial LCD monitor, set the serial interface communication baud rate.
(2) start double integral AD transform process, read backward integration project cycle numerical N, according to type 3-7 calculate backward integration project duration T2, conversion, send out load weight value LCD display.
(3) every time a load weight after conversion value judgment, whether the measure range, load if more than 2 kg range, the system buzzer alarm. Start When load unloading to 2 kg, remove the alarm.
(4) if there is calibration button is press, the response to external interruption and inquires the key Numbers, 0 executes calibration procedures.
(5) if PC software STP_ISP send the online control command, the response, receiving and serial port interrupt judge ordered code, according to perform calibration procedures and command yards up a machine to send data.
Platform: |
Size: 5120 |
Author:ahuan |
Hits:
Description: (1)初始化定时器与中断控制寄存器,初始化液晶显示器,设置串口通信波特率。
(2)启动双积分AD转换过程,循环读取反向积分的计数值N,根据式3-7算出反向积分的计时值T2,换算出荷载重量值,送LCD显示。
(3)每次换算出荷载重量值后,判断荷载是否超量程,如果超过系统量程2kg,则启动蜂鸣器报警。当荷载卸载至2kg以下后,解除报警。
(4)如果有校准按键被按下,则响应外部中断0并查询按键编号,执行相应校准程序。
(5)如果上位机软件STP_ISP发送了在线控制命令,则响应串口中断,接收并判断命令码,依据命令码执行校准程序并向上位机发送数据。
-(1) initial timer and interrupt control register, the initial LCD monitor, set the serial interface communication baud rate.
(2) start double integral AD transform process, read backward integration project cycle numerical N, according to type 3-7 calculate backward integration project duration T2, conversion, send out load weight value LCD display.
(3) every time a load weight after conversion value judgment, whether the measure range, load if more than 2 kg range, the system buzzer alarm. Start When load unloading to 2 kg, remove the alarm.
(4) if there is calibration button is press, the response to external interruption and inquires the key Numbers, 0 executes calibration procedures.
(5) if PC software STP_ISP send the online control command, the response, receiving and serial port interrupt judge ordered code, according to perform calibration procedures and command yards up a machine to send data.
Platform: |
Size: 5120 |
Author:ahuan |
Hits:
Description: 本程序应用于甲烷传感器GJC4, 具有超限声光报警、向多功能监控器发送当前监测值及
//状态等控制信息功能,同时还能自动监测设备供电电压. 设备提供有多种输出方式,包括
//SCI串行通讯方式,CAN总线通讯方式以及200~1000Hz频率量输出接口.-This procedure applies to methane sensor GJC4, overrun with sound and light alarm, multi-function monitor to send the current monitoring values and// status information such as control functions, while the supply voltage automatic monitoring equipment. There are a variety of output devices including// SCI serial communication, CAN bus communication, and 200 ~ 1000Hz frequency output interface. Platform: |
Size: 23552 |
Author:刘洋 |
Hits: