C8051F02x-DK
4.4.1. Creating a New Project
1. Select Project → New Project to open a new project and reset all configuration settings to default.
2. Select File → New File to open an editor window. Create your source file(s) and save the file(s) with a rec-
ognized extension, such as .c, .h, or .asm, to enable color syntax highlighting.
3. Right-click on “New Project” in the Project Window . Select Add files to project . Select files in the file
browser and click Open. Continue adding files until all project files have been added.
4. For each of the files in the Project Window that you want assembled, compiled and linked into the target
build, right-click on the file name and select Add file to build . Each file will be assembled or compiled as
appropriate (based on file extension) and linked into the build of the absolute object file.
Note: If a project contains a large number of files, the “Group” feature of the IDE can be used to organize.
Right-click on “New Project” in the Project Window . Select Add Groups to project . Add pre-defined
groups or add customized groups. Right-click on the group name and choose Add file to group . Select files
to be added. Continue adding files until all project files have been added.
4.4.2. Building and Downloading the Program for Debugging
1. Once all source files have been added to the target build, build the project by clicking on the Build/Make
Project button in the toolbar or selecting Project → Build/Make Project from the menu.
Note: After the project has been built the first time, the Build/Make Project command will only build the
files that have been changed since the previous build. To rebuild all files and project dependencies, click
on the Rebuild All button in the toolbar or select Project → Rebuild All from the menu.
2. Before connecting to the target device, several connection options may need to be set. Open the
Connection Options window by selecting Options → Connection Options... in the IDE menu. First, select
the appropriate adapter in the “Serial Adapter” section. Next, the correct “Debug Interface” must be selected.
C8051F02x family devices use the JTAG debug interface. Once all the selections are made, click the OK
button to close the window.
3. Click the Connect button in the toolbar or select Debug → Connect from the menu to connect to the device.
4. Download the project to the target by clicking the Download Code button in the toolbar.
Note: To enable automatic downloading if the program build is successful select Enable automatic con-
nect/download after build in the Project → Target Build Configuration dialog. If errors occur during the
build process, the IDE will not attempt the download.
5. Save the project when finished with the debug session to preserve the current target build configuration,
editor settings and the location of all open debug views. To save the project, select Project->Save Project
As... from the menu. Create a new name for the project and click on Save .
Rev. 0.6
3
相关PDF资料
C8051F040DK-K DEV KIT FOR F040/F041/F042/F043
C8051F064EK-U KIT EVAL FOR C8051F064
C8051F124DK-K DEV KIT FOR F124/F125/F126/F127
C8051F226DK-K DEV KIT F220/221/226/230/231/236
C8051F300DK-K DEV KIT FOR F300/301/302/304/305
C8051F310DK-K DEV KIT FOR C8051F310/F311
C8051F320DK-U DEV KIT FOR C8051F320/F321
C850-260-WHX CIRCUIT PROT 260MA 850VIMP TBU
相关代理商/技术参数
C8051F020DK-T 功能描述:DEV KIT FOR F020/F021/F022/F023 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
C8051F020DK-U 功能描述:DEV KIT FOR F020/F021/F022/F023 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
C8051F020-GQ 功能描述:8位微控制器 -MCU 64KB 12ADC 100P MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051F020GQR 制造商:Silicon Laboratories Inc 功能描述:MCU 8-bit C8051F02x 8051 CISC 64KB Flash 3.3V 100-Pin TQFP T/R
C8051F020-GQR 功能描述:8位微控制器 -MCU 64KB 12ADC 100P MCU Tape and Reel RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051F020R 功能描述:8位微控制器 -MCU C-12Bit/64Pin RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051F020-TB 功能描述:插座和适配器 With C8051F020 MCU RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
C8051F020-TB-K 功能描述:BOARD PROTOTYPING W/C8051F020 制造商:silicon labs 系列:- 零件状态:在售 板类型:评估平台 类型:MCU 8-位 核心处理器:8051 操作系统:- 平台:- 配套使用产品/相关产品:C8051F02x 安装类型:固定 内容:板 标准包装:1