品诺电子C8051F仿真器产品说明书

合集下载

操作指南

操作指南

U-EC5操作指南简介C8051F单片机的低价位开发套件是为您提供快速开发应用系统的工具。

该套件包含了开发所需的软件和硬件,性能优于传统的仿真器。

U-EC5具有:完全的USB2.0接口、免安装驱动程序、硬件加强型保护功能(减少使用不当造成的硬件损坏率)。

该工具可实现单步、连续单步、断点、停止/运行,支持寄存器/存储器的观察和修改,下载程序到Flash存储器等功能。

另一特点为可使用专用软件(U-EC5中文编程软件)快速将程序代码烧录到C8051F MCU中。

一、U-EC5调试适配器操作说明1. 说明: 1.1 U-EC5调试适配器适用于C8051FXXX系列的所有芯片。

1.2 软件运行环境:Microsoft Winodows 98/2000/NT/XP。

2. 硬件安装操作2.1 按图1进行硬件连接(PC机会自动识别,用户继续下一步操作)。

图13. 使用操作*若用户在IDE中使用U-EC5,则按以下步骤操作:3.1 打开集成开发环境“Silicon Laboratories IDE.exe”3.2 在菜单栏中点击“Options”选项,在其下拉子菜单中点击“Connection Options …”选项,出现如图2的对话框,进行如下设置:3.2.1 在“Serial Adapter”栏选择“USB Debug Adatper”。

3.2.2 在“Debug Interface”栏中选择调试接口类型。

●当MCU为:C8051F00X/01X/02X/04X/06X/12X/2XX系列时,选择JTAG;●当MCU为C8051F3XX系列时,选择C2。

图24、在菜单栏中点击“Debug”选项,在其下拉子菜单中点击“Connect”选项,进行连接。

成功则会激活“Debug”菜单下的其它操作,如图3。

图35、点击工程栏中的“New Project”选项,再点击鼠标右键,在出现的对话框中点击“Save ProjectNew_Project”选项,在出现的“Save Workspace”对话框中为要建的工程起个新名并保存起来,工程栏中会出现新的工程名,例新的工程名为Project1,如图4。

电子重合滑稽器产品说明书

电子重合滑稽器产品说明书

Safety Information . . . . . . . . . . . . . . . . . . . . . . . . .2Hazard Statement Definitions . . . . . . . . . . . . . . .2Safety Instructions . . . . . . . . . . . . . . . . . . . . . . . .2Product Information . . . . . . . . . . . . . . . . . . . . . . .3Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Specifications and Ratings . . . . . . . . . . . . . . . . . .4General Maintenance . . . . . . . . . . . . . . . . . . . . . .5Frequency of Recloser Maintenance . . . . . . . . . .5Periodic Recloser Inspection and Maintenance . .5Periodic Control Inspection . . . . . . . . . . . . . . . . .6Control Maintenance . . . . . . . . . . . . . . . . . . . . . .6Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6Recloser Testing . . . . . . . . . . . . . . . . . . . . . . . . . .7Test Equipment Required . . . . . . . . . . . . . . . . . .7Minimum Trip Current Level Test . . . . . . . . . . . . .7Sequence of Operation Test . . . . . . . . . . . . . . . .8High-Potential Insulation Level Withstand Tests . .8Electrical Operation of Closing Coil Test . . . . . . .9Testing with the VXE Control Tester . . . . . . . . . . .10Shop Maintenance Procedures . . . . . . . . . . . . . .11Bushings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11Vacuum Interrupter . . . . . . . . . . . . . . . . . . . . . . .12Closing Coil . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13Recloser Head . . . . . . . . . . . . . . . . . . . . . . . . . . .14Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16Undervoltage Lockout . . . . . . . . . . . . . . . . . . . . .16Yellow Operating Handle . . . . . . . . . . . . . . . . . . .17Closing Coil Contactor . . . . . . . . . . . . . . . . . . . . .18Wiring and Connection Diagram . . . . . . . . . . . . .19Maintenance Information . . . . . . . . . . . . . . . . . . .20Factory Authorized Service Centers . . . . . . . . . .20Factory Maintenance Classes . . . . . . . . . . . . . . .20Instructional Video Cassette Program . . . . . . . . .20Service Parts Lists . . . . . . . . . . . . . . . . . . . . . . . .21Head and Tank . . . . . . . . . . . . . . . . . . . . . . . . . .23Closing Coil Assembly . . . . . . . . . . . . . . . . . . . . .24VXE Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . .251ReclosersNovember 2001 • Supersedes 3/01Printed in USAApplicable to VXE15 serial numbers 10695 and above or beginning with CP57.Applicable to VXE27 serial numbers 787 and above or beginning with CP57.ContentsKyle®Type VXE15 and VXE27 Electronically Controlled, Single-Phase Recloser Maintenance InstructionsOil Dipstick(not shown)Data Plateslocated onSleethood921128KM, 921122KMUntanked view of Type VXE recloser.3Kyle®Type VXE15 and VXE27 Electronically Controlled, Single-Phase Recloser Maintenance InstructionsWith contactsopen, if gapfrom new scribeline and top ofrode guideplate is 3,17mm(.12 inch) orless,replacevacuuminterrupterassembly. Figure 3.Measuring vacuum interrupter contact wear.5Kyle®Type VXE15 and VXE27 Electronically Controlled, Single-Phase Recloser Maintenance InstructionsFigure 4.Type VXE oil dipstick.Applicable to VXE15 Serial No. 10695 through 11008 and VXE27 Serial No. 787 through 1947.Applicable to VXE15951202KM/010064KM67Kyle®Type VXE15 and VXE27 Electronically Controlled, Single-Phase Recloser Maintenance Instructions9Kyle®Type VXE15 and VXE27 Electronically Controlled, Single-Phase Recloser Maintenance Instructions1113Closing coil bridge plate.Remove two diagonally opposing bolts and replace with eye-boltsLower Closing Coil Bridge PlateHead ConnectorCapscrew and spacer (4)Figure 16.15171921232527KDL 6/05。

C8051F开发板用户手册

C8051F开发板用户手册

2
亿和电子工作室出品
C8051F-DK
目录 1. 背景简述......................................................................................................................................5 1.1. 亿和 C8051F 实验仪简介................................................................................................5 1.2. C8051F 单片机的优势..................................................................................................... 5 1.3. 实验仪用途...................................................................................................................... 6 2. 准备工作..................................................................................................................................... 6 2.1. 相关软件介绍........................................................................................................

伟福仿真器使用说明书

伟福仿真器使用说明书
点一下源程序中的某一变量,即可显示该变量的数值。有丰富的窗口显示方式,多方
位,动态地显示仿真的各种过程,使用极为便利。本操作系统一经推出,立即被广大
用户所喜爱。
3.双工作模式
1软件模拟仿真(不要仿真器也能模拟仿真)。
2点,不受任何条件限制,支持地址、数据、外部信号、事件断点、支持
编译时,再将P4地址定义为0A5H进行编译.
E2000仿真器与POD520连接图

POD196MC/MD仿真头
用于仿真INTEL的80C196MC/MD单片机
E2000仿真器与POD196MC连接图
G6W / G6S仿真器与POD196MC连接图
◆POD8051仿真头
用于仿真P0,P2口做为总线工作方式的8031/32,8051/52系列及兼容单片机,可选配44脚
POD196MC/MD仿真头……………………………………………………………6
POD8051仿真头……………………………………………………………………7
POD16C5X仿真头…………………………………………………………….……8
POD16C6X/7X仿真头………………………………………………………………9
PLCC封装的转接座,用于仿真PLCC封装的芯片.
◆POD16C5X仿真头
用于仿真MICROCHIP公司的PIC16C5X系列单片机,可仿真芯片有PIC16C52/54/55/56/57/58
PIC16C508/509,同时配有8脚/18脚/28脚三种DIP封装转接座,适用于不同的芯片.
E2000 / G6W / G6S仿真器与POD16C5X连接图
E2000 / G6W /G6S 仿真器与POD16C6X/7X连接图

LAB8000单片机仿真实验系统说明书

LAB8000单片机仿真实验系统说明书
伟福®
伟福 Lab8000 系列 单片机仿真实验系统
使用说明书
南京伟福实业有限公司
伟福® Lab8000 单片机仿真实验系统
目录
目录
第一章 概述...................................................................................................................1 第二章 伟福实验系统组成和结构...............................................................................3
1. 实验系统的硬件组成.............................................. .................................3 2. 实验系统的仿真板简介......... ......... ......... ............................................15 3. 实验系统的调试方法......... ......... ......... ................... ....... ....................16 第三章 MCS51 系列单片机实验 .............................................................................17 MCS96 系列单片机实验 .............................................................................18 8088/86 系列 CPU 实验 ...............................................................................19 ARM LPC2103 MCU 实验 ..........................................................................20 PIC5X 系列 CPU 实验 .............. .... .............................................................20 软件实验 1. 存储器块清零(51/96/88/PIC).....................................................................21 2. 二进制到 BCD 码转换(51/96/88/PIC).......................................................22 3. 二进制到 ASCII 码转换(51/96/88/PIC).....................................................23 4. 内存块移动(51/96/88/PIC).........................................................................24 5. 程序跳转表(51/96/88/PIC).........................................................................25 6. 数据排序(51/96/88/PIC).............................................................................26 硬件实验 1. IO 口输入输出(51/96/PIC/ARM) ..............................................................27 2. 继电器控制(51/96/PIC/ARM) ...................................................................29 3. 用 74HC245 读入数据(51/96/88/ARM) ...............…….............................30 4. 用 74HC273 输出数据(51/96/88/ARM) ..............……..............................31 5. PWM 转换电压实验(51/96/PIC/ARM) .....................................................32 6. 音频控制(51/96/PIC/ARM) ........................................................................33 7. 用 8255 输入、输出(51/96/88/ARM) ........................................................34 8. 串行数转换并行数(51/96/PIC/ARM) .....................................................35 9. 并行数转换串行数(51/96/PIC/ARM) ........................................................37 10. 计数器实验(51/PIC/ARM) .........................................................................39 11. 外部中断实验(51/96/ARM) ........................................................................40 12. 定时器实验(51/96/PIC/ARM) .....................................................................42 13. D/A 数模转换实验(51/96/88/ARM) ...........................................................44 14. A/D 模数转换实验(51/96/88/ARM) ..................... .....................................46 15. 外部中断实验(急救车与交通灯) (51/96/ARM)...........................................48 16. 八段数码管显示(51/96/88/PIC/ARM)..........................................................50

ICE52F仿真器使用手册说明书

ICE52F仿真器使用手册说明书

TEL: +86-755-84867757 FAX: +86-755-84867941 WEB: Email: ****************技术支持网站:目录第一章简介1.1 创新功能-------------------------------------------------------------------------11.2 其他特点-------------------------------------------------------------------------21.3 仿真器功能对比表-----------------------------------------------------------------31.4 产品装箱清单---------------------------------------------------------------------3第二章硬件结构及安装2.1 仿真器硬件组成-------------------------------------------------------------------42.1.1 仿真器指示灯功能说明-------------------------------------------------------42.1.2 仿真头结构-----------------------------------------------------------------42.2 软件安装 ------------------------------------------------------------------------52.2.1 安装Keil C51软件----------------------------------------------------------52.2.2 安装ICE52仿真驱动程序-----------------------------------------------------62.2.3 安装SFISP软件-------------------------------------------------------------7第三章 ICE52F仿真器在keil环境中的使用3.1 第一个Keil C51程序-------------------------------------------------------------83.2 仿真调试------------------------------------------------------------------------133.2.1 仿真器的硬件连接----------------------------------------------------------133.2.2 仿真器与目标板的连接示意图------------------------------------------------143.2.3 仿真器的软件设置----------------------------------------------------------143.2.4 调试程序------------------------------------------------------------------161)断点设置与取消---------------------------------------------------------162)仿真运行---------------------------------------------------------------173)暂停功能---------------------------------------------------------------174)仿真扩展RAM------------------------------------------------------------185)脱机运行---------------------------------------------------------------186) 退出仿真---------------------------------------------------------------18第四章 ISP下载功能的使用4.1 ISP支持器件列表-----------------------------------------------------------------194.2 ISP下载线的连接-----------------------------------------------------------------194.3 在Keil中进行ISP下载------------------------------------------------------------204.4 在SFISP软件中进行ISP下载-------------------------------------------------------224.4.1 SFISP软件功能介绍---------------------------------------------------------224.4.2 ISP下载步骤---------------------------------------------------------------23附录附录一 AT89S51/52管脚定义图-------------------------------------------------------- 24 附录二常见问题解答---------------------------------------------------------------- 25第一章简介ICE52F仿真器是深圳硕飞科技有限公司在ICE52B的基础上最新研发的增强型USB2.0接口51单片机仿真器,仿真不占用用户任何资源,可极速单步,完全真实仿真标准8051/8052单片机的所有功能,可仿真部分单片机的增强型功能。

EXP-C8051F021使用说明书

EXP-C8051F021使用说明书

CE0
10
------
MSC
11
------
XF
12
------
/BHOLDA
13
------
IAQ
14
------
HOLD
15
------
NC
EXP-C8051F021 适配器板使用说明书
北京达盛科技有限公司
- 11 -
16
------
DGND
17
------
NC
18
55(J7 跳线)
SPICLK1
A14 +5V +5V
达 P2 接口管脚与 FPGA 管脚的对应关系:
P2 端口管脚号 1
C8051F021 管脚号 ------
功能定义 DGND
2
------
DGND
3
------
READY
4
------
PS
5
------
DS
6
------
IS
7
------
R/W
8
------
CE1
9
------
19
------
NC
20
52(J10 跳线)
SPISTE1
21
53(J5 跳线)
NC
22
53(J5 跳线)
SOMI1
23
------
NC
24
55(J7 跳线)
SPICLK1
25
------
NC
26
52(J10 跳线)
SPISTE1
27
------
NC
28

单片机仿真器使用说明

单片机仿真器使用说明

单片机仿真器使用说明8X51 CPU系列小型仿真器是一个支持keil c51设计软件的软件断点仿真机。

该仿真器使用一片SST89C58单片机和一片AT90S8515单片机来实现仿真功能(主CPU 和用户CPU),两片CPU之间通过一根I/O引脚通讯(通讯速率在33兆晶振时约100KBPS),主CPU负责跟keil c51通讯,用户CPU只跟主CPU通讯,仿真器结构框图如下:A、仿真器主要功能和特性1、支持串口的仿真功能2、串口中断用户可以使用3、不占用定时器24、完全仿真p0,p2口5、支持89C52等嵌入式CPU仿真6、占用用户堆栈2个字节7、占用1条 I/O : P3.58、ISP 在线编程,在线下载9、仿真频率最高33兆10、支持同时最多10个断点11、支持单步,断点,全速运行12、支持汇编,c语言,混合调试13、支持KEIL C51的IDE开发仿真环境UV1 UV2(V5.20 V6.02 V6.10 V6.12 V6.14)14、单步执行时间(60毫秒)15、程序代码载入(可以重复装载,无需预先擦除用户程序空间)16、SFR读取速度(128个)200毫秒17、跟踪记录(trace record)256条18、可以仿真标准的89c51,89c52,89c58等51内核的单片机仿真仿真机的正面图仿真机的底面图B、仿真器的使用1、仿真机的连接总共有2条线,4个接口。

两个USB的接头USB_B,USB_A。

两个串口接头COM_B,COM_A(提供的两条连接线是一样的)。

两个USB的接头是用来从电脑的USB口取得5伏的电源。

只要将其中的一个接到你的电脑任何一个USB接口。

如果你不是从电脑的USB接口取得电源,而是从你的电路板供应5伏的电压给仿真机的话,这两个USB的接头不用接到你的电脑上。

USB的接头的作用只是从电脑里取得电源而已,不作数据通讯。

两个串口的连接头:(1)COM_A要接到你的电脑的串口。

博嵌电子C8051F仿真器产品说明书

博嵌电子C8051F仿真器产品说明书

博嵌电子 C8051F 仿真器产品说明书目录目录 (2)一、产品概述 (3)1.1 C8051F 调试工具简介 (3)1.2 产品性能 (4)1.3 仿真器接口定义 (4)二、在 KEIL 下使用 USB Debug Adapter (5)三、使用批量下载工具 (7)Silicon Laboratories Flash Utility (7)Silicon Labs MCU Production Programmer (8)四、EC6 固件更新 (9)一、产品概述1.1 C8051F 调试工具简介C8051F 系列单片机是 Silabs 公司推出的一系列增强型 51 单片机,其指令集兼容传统 MCS-51。

内核采用增强型 CIP-51,其最大指令速率达到 100MIPS,丰富的外设以及灵活的 交叉开关,形成一个 SOC,为目前绝大多数 8 位单片机所不能比拟。

C8051F 单片机目前 正在高速增长,由于具有兼容传统 51 的先天优势,已经被越来越多的爱好者和设计者所青 睐,C8051F 单片机已经进入大学课堂,成为大学单片机教材。

C8051F 单片机开发工具经过多个版本发展,经历了并口、串口、USB-串、USB。

目前, 以及发展到真正的 USB 通信,不再使用串并口或者虚拟串口。

C8051F 开发工具还包括 U-PDC 等,但是使用最方便、最普遍的仍然是 U-EC6。

博嵌电子开发的这款 U-EC6 仿真器采用国外原装电路改进而 来,可实现支持单步、连续单步、断点、 观察点、 堆栈监视器, 可以观察/修改存储器和寄 存器, 下载程序到 Flash 存储器等功能,兼容国内任何一家的 C8051F 调试工具。

多次得到 高校的批量订单,使用效果反馈良好。

请定期去官方网站 /下载最新版本软 件,以达到更好的使用效果。

也可以在国内代理商 下载。

1.2 产品性能- 可与 Keil、silabs 官方推出的各种软件,如 Silicon Laboratories IDE,FLASH Utility Programmer,Product Programmer,新华龙 U-EC5 中文下载程序软件等软件实现无缝连接调 试。

C8051F30X开发板用户指南说明书

C8051F30X开发板用户指南说明书

Rev. 0.6 2/14Copyright © 2014 by Silicon LaboratoriesC8051F30xX EVELOPMENT IT SER S UIDE1. Kit ContentsThe C8051F300 Development Kit contains the following items:•C8051F30x Target Board•C8051Fxxx Development Kit Quick-Start Guide •AC to DC Power Adapter•USB Debug Adapter (USB to Debug Interface)•USB Cable •CD-ROM2. Hardware Setup Using a USB Debug AdapterThe target board is connected to a PC running the Silicon Laboratories IDE via the USB Debug Adapter as shown in Figure 1.1.Connect the USB Debug Adapter to the DEBUG connector on the target board with the 10-pin ribboncable.2.Connect one end of the USB cable to the USB connector on the USB Debug Adapter.3.Connect the other end of the USB cable to a USB Port on the PC.4.Connect the ac/dc power adapter to power jack P1 on the target board.Notes:•Use the Reset button in the IDE to reset the target when connected using a USB Debug Adapter.•Remove power from the target board and the USB Debug Adapter before connecting or disconnecting the ribbon cable from the target board. Connecting or disconnecting the cable when the devices have power can damage the device and/or the USB Debug Adapter.Figure 1.Hardware Setup Using a USB Debug AdapterPWRP1.6C8051F30x3. Software SetupSimplicity Studio greatly reduces development time and complexity with Silicon Labs EFM32 and 8051 MCU products by providing a high-powered IDE, tools for hardware configuration, and links to helpful resources, all in one place.Once Simplicity Studio is installed, the application itself can be used to install additional software and documentation components to aid in the development and evaluation process.Figure2.Simplicity StudioThe following Simplicity Studio components are required for the C8051F300 Development Kit:⏹ 8051 Products Part Support ⏹ Simplicity Developer PlatformDownload and install Simplicity Studio from /8bit-software or /simplicity-studio .Once installed, run Simplicity Studio by selecting Start →Silicon Labs →Simplicity Studio →Simplicity Studio from the start menu or clicking the Simplicity Studio shortcut on the desktop. Follow the instructions to install the software and click Simplicity IDE to launch the IDE.The first time the project creation wizard runs, the Setup Environment wizard will guide the user through the process of configuring the build tools and SDK selection.In the Part Selection step of the wizard, select from the list of installed parts only the parts to use during development. Choosing parts and families in this step affects the displayed or filtered parts in the later device selection menus. Choose the C8051F30x family by checking the C8051F30x check box. Modify the part selection at any time by accessing the Part Management dialog from the Window →Preferences →Simplicity Studio →Part Management menu item.Simplicity Studio can detect if certain toolchains are not activated. If the Licensing Helper is displayed after completing the Setup Environment wizard, follow the instructions to activate the toolchain.C8051F30x3.1. Running BlinkyEach project has its own source files, target configuration, SDK configuration, and build configurations such as the Debug and Release build configurations. The IDE can be used to manage multiple projects in a collection called a workspace. Workspace settings are applied globally to all projects within the workspace. This can include settings such as key bindings, window preferences, and code style and formatting options. Project actions, such as build and debug are context sensitive. For example, the user must select a project in the Project Explorer view in order to build that project.To create a project based on the Blinky example:1. Click the Simplicity IDE tile from the Simplicity Studio home screen.2. Click the Create new project link from the welcome screen or go to File →New →Silicon Labs MCU Project .3. In the Kit drop-down, select C8051F300 Development Kit , in the Part drop-down, select C8051F300, and in the SDK drop-down, select the desired SDK. Click Next .4. Select Example and click Next .5. Under C8051F300 Development Kit in the Blinky folder, select F30x Blinky and click Finish .6. Click on the project in the Project Explorer and click Build , the hammer icon in the top bar. Alternatively, go to Project →Build Project .7. Click Debug to download the project to the hardware and start a debug session.8. Press the Resumebutton to start the code running. The LED should blink.9. Press the Suspend button to stop the code.10. Press the Reset the devicebutton to reset the target MCU.11. Press the Disconnectbutton to return to the development perspective.3.2. Simplicity Studio HelpSimplicity Studio includes detailed help information and device documentation within the tool. The help containsdescriptions for each dialog window. To view the documentation for a dialog, click the question mark icon in the window:This will open a pane specific to the dialog with additional details.The documentation within the tool can also be viewed by going to Help →Help Contents or Help →Search .C8051F30x3.3. Legacy 8-bit IDENote:Using the Simplicity Studio tools with the C8051F300 Development Kit is recommended. See section 3. "SoftwareSetup‚" on page 2 for more information.Download the 8-bit software from the website (/8bit-software ) or use the provided installer on the CD-ROM to install the software tools for the C8051F30x devices. After installation, examples can be found in ...\Examples\C8051F30x in the installation directory. At a minimum, the C8051F300 DK requires:⏹ Silicon Labs IDE —Software enabling initial evaluation, development, and debugging.⏹ Configuration Wizard 2—Initialization code generation software for the C8051F30x devices.⏹ Keil C51 Tools —Keil 8051 Compiler/Assembler/Linker toolchain.Other software available includes:⏹ Keil µVision Driver —Driver for the Keil µVision IDE that enables development and debugging onC8051Fxxx MCUs.⏹ Flash Programming Utilities and MCU Production Programmer —Programming utilities for the production line. More information on the available programming options can be found on the website:/products/mcu/Pages/ProgrammingOptions.aspx .⏹ ToolStick Development Tools —Software and examples for the ToolStick development platform. More information on this platform can be found at /toolstick .The development kit includes the latest version of the C51 Keil 8051 toolset. This toolset is initially limited to a code size of 2kB and programs start at code address 0x0800. After registration, the code size limit is removed entirely and programs will start at code address 0x0000.To register the Keil toolset:1. Find the Product Serial Number printed on the CD-ROM. If you no longer have this serial number, register on the Silicon Labs website (/8bit-software ) to obtain the serial number.2. Open the Keil µVision4 IDE from the installation directory with administrative privileges.3. Select FileLicense Management to open the License Management window.Figure 3.Keil µVision4 IDE License Management Window4. Click on the Get LIC via Internet... button to open the Obtaining a License IDE Code (LIC) window.5. Press OK to open a browser window to the Keil website. If the window doesn’t open, navigate to /license/install.htm .6. Enter the Silicon Labs Product Serial Number printed on the CD-ROM, along with any additional requiredC8051F30xinformation.7. Once the form is complete, click the Submit button. An email will be sent to the provided email addresswith the license activation code.8. Copy the License ID Code (LIC) from the email.9. Paste the LIC into the New License ID Code (LIC) text box at the bottom of the License Managementwindow in µVision4.10. Press the Add LIC button. The window should now list the PK51 Prof. Developers Kit for Silabs as alicensed product.11. Click the Close button.C8051F30x4. Target BoardThe C8051F30x Development Kit includes a target board with a C8051F30x device pre-installed for evaluation and preliminary software development. Numerous input/output (I/O) connections are provided to facilitate prototyping using the target board. Refer to Figure4 for the locations of the various I/O connectors.P1Power connector (accepts input from 7 to 15 VDC unregulated power adapter)J134-pin Expansion I/O connectorJ3Port I/O Configuration HeaderJ4DEBUG connector for Debug Adapter interfaceJ5DB-9 connector for UART0 RS232 interfaceJ6Analog I/O terminal blockJ7Low pass filter connectorJ9, J10External crystal enable connectorsFigure4.C8051F300 Target BoardC8051F30x4.1. System Clock SourcesThe C8051F300 device installed on the target board features a calibrated programmable internal oscillator which is enabled as the system clock source on reset. After reset, the internal oscillator operates at a frequency of 3.0625MHz (+/-2%) by default but may be configured by software to operate at other frequencies. Therefore, in many applications an external oscillator is not required. However, if you wish to operate the C8051F300 device at a frequency not available with the internal oscillator, an external crystal may be used. Refer to the C8051F30x data sheet for more information on configuring the system clock source.The target board is designed to facilitate the installation of an external crystal. Remove resistors R7 and R8 and install the crystal at the pads marked Y1. Install a 10M resistor at R9 and install capacitors at C14 and C15 using values appropriate for the crystal you select. Refer to the C8051F30x data sheet for more information on the use of external oscillators.4.2. Switches and LEDsTwo switches are provided on the target board. Switch SW1 is connected to the RESET pin of the C8051F300. Pressing SW1 puts the device into its hardware-reset state. Switch SW2 is connected to the C8051F300’s general purpose I/O (GPIO) pin through headers. Pressing SW2 generates a logic low signal on the port pin. Remove the shorting block from the header to disconnect SW2 from the port pins. The port pin signal is also routed to a pin on the J1 I/O connector. See Table1 for the port pins and headers corresponding to each switch.Two LEDs are also provided on the target board. The red LED labeled PWR is used to indicate a power connection to the target board. The green LED labeled with a port pin name is connected to the C8051F300’s GPIO pin through headers. Remove the shorting block from the header to disconnect the LED from the port pin. The port pin signal is also routed to a pin on the J1 I/O connector. See Table1 for the port pins and headers corresponding to each LED.Table 1. Target Board I/O DescriptionsDescription I/O HeaderSW1Reset noneSW2P0.3J3[3-4]Green LED P0.2J3[1-2]Red LED PWR noneC8051F30x4.3. Expansion I/O Connector (J1)The 12-pin Expansion I/O connector J1 provides access to all signal pins of the C8051F300 device. Pins for +3V, dig-ital ground and the output of an on-board low-pass filter are also available. A small through-hole prototyping area is also provided. All I/O signals routed to connector J1 are also routed to through-hole connection points between J1 and the prototyping area (see Figure4 on page6). Each connection point is labeled indicating the signal available at the connection point. See Table2 for a list of pin descriptions for J1.Table 2. J1 Pin DescriptionsPin #Description1+3VD (+3.3VDC)2PWM Output3P0.04P0.15P0.26P0.37P0.48P0.59P0.610P0.711GND (Ground)12/RST (Reset)4.4. Target Board DEBUG Interface (J4)The DEBUG connector (J4) provides access to the DEBUG (C2) pins of the C8051F300. It is used to connect the Serial Adapter to the target board for in-circuit debugging and Flash programming. Table3 shows the DEBUG pin definitions.Table 3. DEBUG Connector Pin DescriptionsPin #Description1+3VD(+3.3VDC)2, 3, 9GND (Ground)4C2D5/RST(Reset)6P3.07C2CK8,10Not ConnectedC8051F30x4.5. Serial Interface (J5)A RS232 transceiver circuit and DB-9 (J5) connector are provided on the target board to facilitate serial connec-tions to UART0 of the C8051F300. The TX, RX, RTS and CTS signals of UART0 may be connected to the DB-9 connector and transceiver by installing shorting blocks on headers J3.J3[5–6]- Install shorting block to connect UART0 TX (P0.4) to transceiver.J3[7–8]- Install shorting block to connect UART0 RX (P0.5) to transceiver.J3[9–10]- Install shorting block to connect UART0 RTS (P0.2) to transceiver.J3[11–12]- Install shorting block to connect UART0 CTS (P0.3) to transceiver.4.6. Analog I/O (J6)Several of the C8051F300 target device’s port pins are connected to the J6 terminal block. Refer to Table4 for the J6 terminal block connections. Install a shorting block on J7[2-3] to connect the AIN6 input to the P0.6 pin of the target device.Table 4. J6 Terminal Block Pin DescriptionsPin #Description1P0.1 / AIN1 (ADC input 1)2AIN6 (ADC input 6)3GND (Ground)4P0.0 / Vref (Voltage Reference)4.7. Low-Pass Filter (J7)The C8051F300 target board features a low-pass filter that may be connected to port pin P0.6. Install a shorting block on J7[1-2] to connect the P0.6 pin of the target device to the low-pass filter input. The output of the low-pass filter is routed to the PWM signal at J1[2]. The C8051F300 may be programmed to generate a PWM (Pulse-Width Modulated) waveform which is then input to the low-pass filter to implement a user-controlled PWM digital-to-ana-log converter. Refer to Applications Note “AN107: Implementing 16-Bit PWM Using the PCA” in the “documenta-tion” directory on the CD-ROM for a discussion on generating a programmable dc voltage level with a PWM waveform and low-pass filter.C8051F30xF i g u r e 5.C 8051F 300T B S c h e m a t i cC8051F30x D OCUMENT C HANGE L ISTRevision 0.3 to Revision 0.4⏹ Section 1, added USB Debug Adapter and USB Cable.⏹ Section 2, changed name from "Hardware Setup" to "Hardware Setup using an EC2 Serial Adapter".⏹ Section 2, added 2 Notes bullets.⏹ Section 2, removed Note from bottom of page.⏹ Added Section 3, "Hardware Setup using a USB Debug Adapter".⏹ Section 5.4.2, changed step 2 to include new instructions.⏹ Section 7, J4, changed "Serial Adapter" to "Debug Adapter".⏹ Target Board DEBUG Interface Section, added USB Debug Adapter.⏹ DEBUG Connector Pin Descriptions Table, changed pin 4 to C2D.⏹ Changed "jumper" to "header".⏹ EC2 Serial Adapter section, added EC2 to the section title, table title and figure title.⏹ EC2 Serial Adapter section, changed "JTAG" to "DEBUG".⏹ Added "USB Debug Adapter" section.Revision 0.4 to Revision 0.5⏹ Removed EC2 Serial Adapter from Kit Contents.⏹ Removed Section 2. Hardware Setup using an EC2 Serial Adapter. See RS232 Serial Adapter (EC2)User's Guide.⏹ Removed Section 8. EC2 Serial Adapter. See RS232 Serial Adapter (EC2) User's Guide.⏹ Removed Section 9. USB Debug Adapter. See USB Debug Adapter User's Guide.Revision 0.5 to Revision 0.6⏹ Updated 3. "Software Setup‚" on page 2.DisclaimerSilicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products must not be used within any Life Support System without the specific written consent of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Laboratories products are generally not intended for military applications. Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons.Trademark InformationSilicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, CMEMS®, EFM, EFM32, EFR, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZMac®, EZRadio®, EZRadioPRO®, DSPLL®, ISOmodem ®, Precision32®, ProSLIC®, SiPHY®, USBXpress® and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc.400 West Cesar ChavezAustin, TX 78701USAIoT Portfolio/IoT SW/HW /simplicity Quality /quality Support and Community 。

仿真器说明书

仿真器说明书

高电/技师实操专用仿真器使用说明书目录前言 (3)第一章安装说明1.硬件连接 (4)2.驱动程序安装 (4)2.1 Windows XP环境下驱动的安装 (4)2.2 Windows 7 环境下驱动的安装 (8)3.Keil软件安装 (12)第二章 Keil 软件使用说明1.启动Keil uvision集成开发环境 (12)2.新建一个工程 (12)3.为工程设置选项 (14)4.为工程添加文件 (17)5.编译和运行 (22)第三章注意事项 (26)前言欢迎选用深圳旗峰电子专为高电、技师学员精心打造的仿真器!在国家职业资格培训体系中,高级电工和电工技师、制冷技师、电梯技师等专业均开设有单片机理论和实操课程。

由于单片机是一门理论性和实用性都很强的技术,多数学员从未接触过,而且学习时间短、练习时间不足,所以长期以来这门课程的通过率都比较低。

特别是实操,更是学员们获取职业资格证书的“拦路虎”。

更有甚者,高昂的考试费用,让部分学员在经历多次考试未通过后,不得不放弃,在自己的人生中留下遗憾。

所谓“实操”,主要就是考查学员们的实际操作能力。

实践已经证明,多操多练才是掌握所学内容、顺利通过考试的唯一捷径。

然而培训机构安排的实操练习时间不仅非常有限,而且不一定合理。

比如,实操课上完一段时间后才有考试机会,这时多数学员可能都已将所学内容忘记得差不多了。

所以很多学员自己购买仿真器和元件,在家中或单位反复练习,特别是考前进行突击复习。

但是目前市面上能买到的、能全部完成高电和技师考试各十个实验题目的仿真器,价格都在数百元以上,对学员们来说,这是一笔不小的经济负担。

而且市面上仿真器种类繁多,鱼龙混杂,很有可能买到伪劣或不适用的产品。

深圳旗峰电子应广大学员们要求,在经过广泛调查的基础上,结合本公司技术研发力量,在资深培训教师的指导下,开发出这款“高电/技师单片机课程专用仿真器”,填补了市场上的空白。

本仿真器具有如下特点:1.专为学员设计,经测试能完成高电实操要求的全部十个实验和技师实操要求的全部十个实验的仿真。

F005系统板简介

F005系统板简介

C8051F005 系统板硬件部分
• +5V, +3.3V, -5V 三组电源. 其中+5V,-5V电源,用 于运放双电源供电.可以放大双极性的信号. • C8051F005的8路模拟输入,4路比较器信号输入,2 路D/A输出,P0-P3口,都引出. • 模拟输入部分,0-3路,经由放大器,电平移动电路,适 用于双极性的信号输入.信号被移位至0-3.3V范围 内.送至片内的模拟多路选择器,实现程控放大和 AD • 模拟输入部分,4-7路,经由300欧姆电阻, 送至片内 的模拟多路选择器,实现程控放大和AD
• 板上包括如下资源:
为了便于学习和课题开发 提供信号数据采集,波形曲线显示,文 字图像,键盘操作等例程。 提供信号发生器,示波器,扫频仪,频 谱仪等实例源程序 是个比较完整的系统板
由于片内有可程控增益的放大器,特别 适用于电子仪器,测控等项目课题
C8051F005 系统板硬件部分
• • • • 图一: PCB布局图 图二: 电路图示意图 图三: 模拟和数字信号输入输出插座 图四: 电路图,用于显示信号输入输出路径, 用于编程时,显示对各个端口的操作控制功 能.
系统板上做的课题实例
信号数据采集 / 示波器 / 频谱分析
C8051F005
系统板上做的课题实例
信号发上器 / 示波器 / 频谱分析
信号经过放大,同 时位移成单极性, 以适应单片机内的 ADC输入要求。
AS0—AS3 跳线, 跳向右边,选择直接输入 跳向左边,选择放大器输入
8个模拟信号输入通道 预处理功能的说明
一, 0-3通道可以选择经过10倍增益的反相前置放大,送到AD的0-3 路模拟信号输入端。用户可以通过改变运放的反馈电阻,改变其增益 。 例如,输入的模拟信号最大值为20mV,C8051内部的程控放大器增 益最大为16倍,则放大后的信号最大为320mV,不能满足AD输入 3.2V的要求,这时,可将板上放大器的增益调高至100倍。 0-3通道的放大器后,还带有电平移位电路,(分别接地和+3.3V 的两个电阻),用来将双极性的模拟信号上移成为正的单极性信号, 以满足AD输入的要求。 如果需要放大,信号应为负极性,反相放大后成正极性,不需要进 行电平移位,这种情况,应该去掉电路中的移位电阻。 0-3通道,也可以通过跳线,不经过放大器,直接接入AD. 二,4-7通道模拟信号直接经300Ω (保护)电阻送到C8051F005AD的 相应输入端。适用于正极性的大信号(小于3.2V)。

Silicon Laboratories C8051F系列FLASH安全用户指南说明书

Silicon Laboratories C8051F系列FLASH安全用户指南说明书

Rev. 1.1 12/03Copyright © 2003 by Silicon LaboratoriesAN1201. Relevant DevicesThis application note applies to the following devices:C8051F000, C8051F001, C8051F002, C8051F005,C8051F006, C8051F010, C8051F011, C8051F012,C8051F015, C8051F016, C8051F017, C8051F206,C8051F220, C8051F221, C8051F226, C8051F230,C8051F231, and C8051F236.IntroductionSilicon Labs Integrated Devices feature in-system programmable FLASH memory for convenient,upgradable code storage. The FLASH may be pro-grammed via the JTAG interface or by application code for maximum flexibility. Proprietary informa-tion in the form of code and constants are often stored in FLASH memory. Silicon Labs provides security options at the disposal of the designer to prevent unauthorized access to information stored in FLASH memory.Silicon Labs integrated devices provide FLASHsecurity options to:1.Prevent unauthorized access of intellectualproperty in the form of code and constants stored in FLASH.2.Prevent inadvertent modification of code by the end-user.3.Prevent code modification due to abnormal sys-tem conditions (e.g., low-voltage supply condi-tions to the device).Silicon Labs devices offer security options to pre-vent unauthorized access of the FLASH via the JTAG port and application software loaded by the end-user. FLASH Program Memory Security Bytes are used to prevent access via the JTAG interface,and a Software Read Limit (available on most Sili-con Labs devices) is to prevent unauthorized accessthrough application software. This application notediscusses the operation and use of the FLASH security options.Key Points•FLASH memory can be protected from access across the JTAG interface by setting bits in the FLASH Security Bytes to ‘0’.•FLASH memory can also be protected from read accesses by software by setting a Software Read Access Limit. (Used to allow the end-user to access some portions of FLASH memory.)•FLASH memory protected from software access should also be protected from JTAG access using the FLASH Security Bytes.•When protecting FLASH, the FLASH page containing the FLASH Security Bytes should also be protected. (FLASH cannot be unlocked using software).•If the end-user does not need access to FLASH memory, the entire FLASH memory can be protected by simply locking the entire FLASH memory from JTAG access (Software Read Limit is not needed in this case as the end-user cannot download software to access proprietary information).AN1202Rev. 1.1Preventing FLASH Access Via the JTAG Interface.One of the two ways to read, write, and erase the FLASH memory is via the JTAG interface (see application note “AN005 - Programming FLASH Through the JTAG Interface”.) The FLASH Pro-gram Memory Security Bytes located in the FLASH memory are used to prevent both read and/or write/ erase operations of any or all of the 512-byte mem-ory blocks via the JTAG interface.The FLASH security bytes are located in the FLASH memory as shown in Figure1 and Figure2 below. To protect a FLASH memory block from unauthorized read or write/erase operations across the JTAG interface, refer to the memory block chart (also located in each device’s data sheet). Attempting a read operation on a byte in a read-locked sector will return a value of ‘0’ and will set the FAIL bit in the FLASHDAT register to ‘1’, indicating a FLASH operation failure. (Please seeFigure 1. FLASH Security Bytes The C8051F0xx Family of Devices Figure 2. FLASH Security Bytes For The C8051F2xx Family of DevicesAN120application note, “AN005 - Programming FLASH Through the JTAG Interface” for more information about how to read FLASH data via the JTAG inter-face). Clearing a bit to logic ‘0’ in the Read Lock Byte will prevent the corresponding block of FLASH memory from being read via the JTAG interface.Attempting a write or erase operation on a byte in a write/erase-locked sector will be ignored and will set the FAIL bit in the FLASHDAT register to ‘1’indicating a FLASH operation failure. Clearing a bit to logic 0 in the write/erase lock byte will pre-vent the corresponding block of FLASH memory from write/erase operations via the JTAG interface.Clearing an entire security byte to 0x00 will protect the entire FLASH code space from that respective operation across the JTAG interface.NOTE: The FLASH Security bytes prevent access via JTAG only -- software can still access JTAG locked blocks! To prevent unauthorized access, the application should lock the entire FLASH memory. Locking all memory bytes will prevent an end-user from downloading code to unlocked memory space and using software to access information in the locked space. If an appli-cation must leave some memory unlocked, but the designer still wants to prevent access to some FLASH memory, the FLASH Access Limit feature should be used in conjunction with the security bytes. In an application that locks some blocks of FLASH memory yet leaves some blocks unlocked for the end-user, the block containing security bytes should always be write/erase locked to prevent unlocking the protected FLASH by erasing the FLASH page containing the security bytes.Device ErasePerforming a JTAG erase operation using the address of either the read lock byte or erase/write lock byte will automatically initiate erasure of the entire FLASH program space (with the exception of the RESERVED area.) This can only be per-formed via the JTAG interface, and not by soft-ware . If software attempts to erase any byte in the FLASH page containing the lock bytes, the erase operation is ignored. If a non-security byte in the memory block that contains the FLASH security bytes is addressed to perform a FLASH erase, only that 512-byte page will be erased (including the security bytes.)Preventing FLASH Access Via SoftwareNote: The Software Access Read Limit security option discussed in the following section is not available on the C8051F000/01/02 and C8051F010/11/12. In these devices, the entire FLASH user space should be read and write/erase locked using FLASH security bytes to protect intel-lectual property.Silicon Labs devices’ FLASH memory may be accessed via application software (see application note, “AN009 - Writing to FLASH from Applica-tion Code.”) This facilitates maximum flexibility in application design including the implementation of bootloading software, but does give a way for the end-user to access FLASH memory that has been locked from JTAG access (unless ALL of the FLASH memory is locked.) For this reason, Silicon Labs devices feature a FLASH access Software Read Limit to restrict access via downloaded appli-cation code. Used in conjunction with the security bytes to prevent JTAG access, the software read limit allows the application to prevent software access to some FLASH memory, while leaving some FLASH accessible to the end-user.The FLASH software access limit works as fol-lows. The designer defines an address as an access limit. FLASH memory from address 0x0000 up to and including the address defined as the software read limit is protected from software access. If code loaded into the FLASH above the software access limit address attempts to execute a MOVC instruction with a source address in the software read protected address space, a data value of 0x00AN1204Rev. 1.1will be returned. Code loaded into FLASH in the software protected space (below the FLACL boundary) is not restricted from executing. FLASH memory above the software access limit address boundary may be used as normal (i.e., read and write/erase operations may be performed by soft-ware), but may not write or erase code below the FLACL boundary. Thus, the application can protect code from unauthorized access, yet still leave FLASH memory usable to the end-user.NOTE: Software read protected FLASH should also be locked using the security bytes to prevent JTAG access to the protected memory blocks. (When locking only certain memory blocks, the memory block containing the security bytes should always be locked from JTAG access as well to pre-vent the end-user from unlocking FLASH mem-ory.)Setting the Software Read Limit The software read limit is set using the FLASH Access Limit special function register (FLACL). The upper byte of the desired software access limit address (the highest address the designer wishes to have software access protection) is moved into the FLACL register. The lower byte of the address will be 0x00. (See Figure3 below.) Thus, if the FLACL register is assigned the value 0x40, then the software access limit address will be 0x4000. Thus, all code in memory from 0x0000 to 0x4000 (including 0x4000) will not be accessible via software executing above this address. Code executing above the FLACL boundary may per-form jump and call instructions into protected memory space below the FLACL boundary. Only MOVX and MOVC operations are prevented by the Software Read Limit. To prevent access, the FLASH Security Bytes should also be used to pre-vent JTAG access of the memory blocks at and below 0x4000 for total protection (see the previous section, “Preventing FLASH Access Via the JTAG Interface.)If the application does not require FLASH memory to be programmable for the end-user, then it is best to lock the entire FLASH memory using the secu-rity bytes, and the software access read limit is not needed (the end-user will not be able to download code to FLASH to access protected information.) FLASH Write and Erase Enable BitsOne function of FLASH security is to prevent inad-vertent modification of code. Silicon Labs FLASH write and erase operations cannot occur via soft-ware unless they are enabled using the Program Store Write Enable (PSWE) and Program Store Erase Enable (PSEE) bits. In order to write to the FLASH memory, the PSWE bit must be set to 1. When the PSWE bit is set to ‘1’, the MOVX instruction writes to FLASH memory instead of XRAM (the default target). In order to erase a page of FLASH memory, the PSEE and PSWE bits must be set to ‘1’. When the PSEE bit is set to ‘1’, theAN120 FLASH control logic interprets a FLASH writeoperation as an erase operation. The PSEE andPSWE bits aid in preventing inadvertent write anderase modifications when they are not intended. Ofcourse, this does not perform the function of pro-tecting intellectual property access by an unautho-rized end-user, as the PSWE and PSEE bits arealways accessible. Always use the software readaccess limit and/or FLASH security bytes for pro-tection of intellectual property.Silicon Laboratories Inc.400 West Cesar Chavez Austin, TX 78701USASimplicity StudioOne-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux!IoT Portfolio /IoTSW/HW/simplicityQuality/qualitySupport and CommunityDisclaimerSilicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Labs shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons.Trademark InformationSilicon Laboratories Inc.® , Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clockbuilder®, CMEMS®, DSPLL®, EFM®, EFM32®, EFR, Ember®, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZRadio®, EZRadioPRO®, Gecko®, ISOmodem®, Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress® and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders.。

单片机试验箱说明书

单片机试验箱说明书

单片机开发系统使用说明书概述:C8051F120单片机开发系统是根据我校大学生电子设计大赛、大学生创新性实验、大学生科技活动的需要专门开发研制的产品,该开发系统主要由:主控板、AD/DA板、点阵及数码管模块、液晶显示模块、4×4按键模块、USB及RS232通讯模块等6个部分组成。

如图1所示。

主控板:主控板由Cgynal公司的c8051f120(详细信息请参阅相关文档)图2:主控板原理图及其外围电路组成,其原理及如图2所示。

主控板采用5V电源供电,所有I/O端口及模拟通道都通过排针引出,方便实验。

图3为主控板的实物示意图。

图3:主控板实物示意图AD/DA板:AD/DA开发板由采样速率为30MHz的8位AD转换器ADS931E 及其外围电路、转换速率为165MHz的8位DA转换器DAC908及其外围电路组成。

AD/DA开发板采用5V电源供电。

AD/DA转换器的数字、模拟接口及其控制引脚都通过排针引出,方便实验。

图4为AD/DA开发板的原理图,图5为其实物示意图。

图4:AD/DA开发板原理图图5:AD/DA开发板实物示意图点阵及数码管模块:点阵及数码管模块由8位共阴极7段数码管、8×8点阵、Lattice 公司的复杂可编程逻辑器件(CPLD)——Lc4256组成。

8位数码管采用动态扫描方式连接。

数码管、点阵的数据接口与Lc4256的I/O端口连接,同时Lc4256未用的I/O端口通过排针引出,该模块采用5V 电源供电。

图6位点阵及数码管模块的原理图,其实物示意图如图7所示。

图6:点阵及数码管模块原理图图7:点阵及数码管模块实物示例图。

51MINI仿真器用户手册

51MINI仿真器用户手册

技术背景:2003 年SST 公司推出了SST89C54/58 芯片,并且在官方网站公布了单片机仿真程序,配合KEIL 可以实现标准51 内核芯片的单步调试等等,从而实现了一个简单的51 单片机仿真方案,将仿真器直接拉低到一颗芯片的价格。

但是, 1 分钱1 分货,这个仿真方案由于先天的缺陷存在若干重大问题:占用p30,p31 端口占用定时器 2占用8 个sp 空间运行速度慢最高通信速度只有38400,无法运行 c 语言程序。

(由于 c 语言程序会调用库文件,每单步一次的时间足够你吃个早饭)所以,网上大量销售的这种这种仿真器最多只能仿真跑马灯等简单程序,并没有实际使用价值。

51mini 是深圳市学林电子有限公司开发生产的具有自主知识产权的新一代专业仿真器,采用双CPU 方案,一颗负责和KEIL 解释,另外一颗负责运行用户程序,同时巧妙利用CPU 的P4 口通信,释放51 的P30,P31,完美解决了上述问题,体积更小,是目前价格最低的专业级别51 单片机仿真器,足以胜任大型项目开发。

创新设计:1 三明治夹心双面贴片,体积缩小到只有芯片大小,真正的“嵌入式”结构。

2 大量采用最新工艺和器件,全贴片安装,进口钽电容,贴片电解。

3 采用快恢复保险,即便短路也可有效保护。

4 单USB 接口,无需外接电源和串口,台式电脑、无串口的笔记本均适用。

三CPU 设计,采用仿真芯片+监控芯片+USB 芯片结构,是一款真正独立的仿真器,不需要依赖开发板运行。

5 下载仿真通讯急速115200bps,较以前版本提高一个数量级(10 倍以上),单步运行如飞。

6 不占资源,无限制真实仿真(32 个IO、串口、T2 可完全单步仿真),真实仿真32 条IO 脚,包括任意使用P30 和P31 口。

7 兼容keilC51 UV2 调试环境支持单步、断点、随时可查看寄存器、变量、IO、内存内容。

可仿真各种51 指令兼容单片机,ATMEL、Winbond、INTEL、SST、ST 等等。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

品诺电子C8051F仿真器产品说明书
目录
目录 (2)
一、产品概述 (3)
1.1 C8051F调试工具简介 (3)
1.2 产品性能 (4)
1.3 仿真器接口定义 (4)
二、在KEIL下使用USB Debug Adapter (5)
三、使用批量下载工具 (7)
3.1 U-EC5中文下载程序 (7)
3.2 Silicon Laboratories Flash Utility (8)
3.3 Silicon Labs MCU Production Programmer (9)
四、EC6固件更新 (10)
一、产品概述
1.1 C8051F调试工具简介
C8051F系列单片机是Silabs公司推出的一系列增强型51单片机,其指令集兼容传统MCS-51。

内核采用增强型CIP-51,其最大指令速率达到100MIPS,丰富的外设以及灵活的交叉开关,形成一个SOC,为目前绝大多数8位单片机所不能比拟。

C8051F单片机目前正在高速增长,由于具有兼容传统51的先天优势,已经被越来越多的爱好者和设计者所青睐,C8051F单片机已经进入大学课堂,成为大学单片机教材。

C8051F单片机开发工具经过多个版本发展,经历了并口、串口、USB-串、USB。

目前,以及发展到真正的USB通信,不再使用串并口或者虚拟串口。

C8051F开发工具还包括U-PDC等,但是使用最方便、最普遍的仍然是U-EC6。

品诺电子U-EC6仿真器采用国外原装电路改进而来,可实现支持单步、连续单步、断点、观察点、堆栈监视器, 可以观察/修改存储器和寄存器, 下载程序到Flash存储器等功能,兼容国内任何一家的C8051F调试工具。

多次得到
高校的批量订单,使用效果反馈良好。

请定期去官方网站
件,以达到更好的使用效果。

也可以在国内代理商下载。

1.2 产品性能 - 可与Keil 、silabs 官方推出的各种软件,如Silicon Laboratories IDE ,FLASH Utility
Programmer ,Product Programmer ,新华龙U-EC5中文下载程序软件等软件实现无缝连接调试。

- 支持全系列C8051F 单片机 - 产品具有固件自动升级功能,使本仿真器可实现全系列C8051F 芯片的仿真,以及后续生产的C8051F MCU 系列产品。

- 多重电路保护。

本仿真器具有ESD 保护电路、具有500mA 自恢复保险丝,可有效保护计算机USB 供电模组,防止计算机主板芯片烧毁。

市面上多数杂牌仿真器为了节约成本,都无任何保护功能,使用极不安全;
-
双缓冲芯片。

本仿真器内部有双缓冲芯片,可以防止直接损坏主芯片。

市面上多数杂牌仿真器为了节约成本,都没有此功能,或者购买低劣国产芯片,或者翻新货,质量不稳定。

本店芯片采用NXP 全新进口原装芯片,保证质量;
- 双电源强输出功能。

本仿真器支持双电源输出,可输出5V/500mA 和3.3V/500mA ,能直接为目标板供电,为开发提供极大方便。

1.3 仿真器接口定义
- 采用C8051F 专用的JTAG / C2接口,并在1脚输出3.3V 电压,最高可获得500mA 电流,方便调试开发。

- 支持JTAG 和C2模式,调试时,支持最多达4个断点。

- 当使用C2接口时,仅仅使用2条线即可(C2CK 、
C2D)。

二、在KEIL下使用USB Debug Adapter
目前,开发C8051F主要使用的IDE是Keil,这里仅仅介绍在Keil下如何对它进行开发。

第一步:安装KeilC51,安装后请进行破解,破解工具在资料中已经给出。

第二步:安装“C8051的KEIL插件”,若KEIL版本为UV2,则选择安装“SiC8051F_uv2.exe”,若KEIL版本为UV3,则选择安装“SiC8051F_uv3.exe”,新版的“SiC8051F_uVision”支持KEIL UV4。

在安装时请注意,安装路径请一定要指向Keil安装目录。

第三步:安装“UtilDLL”,在安装时,也最好指向Keil安装目录。

第四步:设置Keil
首先请确保Keil已经被破解,然后打开Keil的Option,选中Debug页面,选择silicon...(请注意,只有正确安装了Keil 以及相关驱动,才能看见这个选项)。

选择SIlabs的调试工具,点击Settings,将出现如下界面。

请选择USB Debug Adapter,点击OK,(请注意,只有正确安装了U-EC6驱动,并将U-EC6插上电脑,才能选择该选项)。

完成这步后,可以点击使用KeiL进行调试了。

补充:使用Keil也可以进行Hex下载,并不调试。

进入Keil的Option菜单。

选择Utilities,选择Silicon….即可。

完成后可点击Keil面板上的按钮进行程序下载。

首次使用Keil、使用其他工具后再使用Keil进行调试或下载,Keil可能会提示固件更新。

这是正常现象,请点击确定进行升级,升级后即可正常使用。

三、使用批量下载工具
3.1 U-EC5中文下载程序
U-EC6 中文下载程序是silabs深圳代理商新华龙电子有限公司开发的一款用于C8051F 单片机的编程软件,可配合U-EC6使用,对C8051f单片机进行擦除,编程,加密,读取等操作。

该软件操作界面如下。

在“设置”-“通信口设置”里面选择USB仿真器,根据目标器件选择C2或JTAG接口类型,如下图。

使用U-EC6中文下载程序烧录C8051F单片机,烧录速度大于silabs官方软件,但是其稳定性较差,可能下载失败,并且可能导致U-EC6固件破坏,不推荐使用。

3.2 Silicon Laboratories Flash Utility
SiliconLab官方发布了一个专用于C8051F的下载软件FlashUtil,其速度比U-EC6中文下载程序稍慢,但是稳定性却高的多,软件界面如下所示。

设置好后点击Connect按钮,下面出现芯片型号则目标器件已识别。

3.3 Silicon Labs MCU Production Programmer
Silicon Labs MCU Production Programmer 也是SiliconLab官方发布了一个专用于C8051F的下载软件,软件界面如下所示。

四、EC6固件更新
本工作室U-EC6产品支持固件更新,以适应不断升级的芯片厂商软件,达到最好的使用性能。

固件更新分为手动更新和自动更新两种方式。

自动更新:当U-EC6正常工作时,若使用不同版本的PC软件或驱动,会提示固件更新,请点击“确定”,更新完成后可正常使用。

当EC6 在某些异常情况下,固件可能被破坏,如使用有问题的PC软件版本。

此时,可执行手动更新,打开Usb Reset软件,界面如下。

品诺电子C8051F仿真器产品说明书
插上仿真器后点击Refresh list,选择不能正常使用的仿真器,点击Update firmware,则提示更新完成,更新后,异常将得到修复。

11 品诺电子精诚出品。

相关文档
最新文档