background image

C8051F411-EK

Rev. 0.1

7

5.  Software Setup

The included CD-ROM contains the Silicon Laboratories Integrated Development Environment (IDE), Keil software
8051 tools, and additional documentation. Insert the CD-ROM into your PC’s CD-ROM drive. An installer will
automatically launch, allowing you to install the IDE software or read documentation by clicking buttons on the
installation panel. If the installer does not automatically start when you insert the CD-ROM, run 

autorun.exe

 found

in the root directory of the CD-ROM. Refer to the 

readme.txt

 file on the CD-ROM for the latest information

regarding known IDE problems and restrictions.

6.  Silicon Laboratories Integrated Development Environment (IDE)

The Silicon Laboratories IDE integrates a source code editor, source-level debugger, and in-system Flash
programmer. The IDE uses the Keil 8051 Tools by default. An evaluation version of the Keil tools with a 2 k code
size limit is included with this kit. The use of third-party compilers and assemblers is also supported.

6.1.  System Requirements

The Silicon Laboratories IDE requirements are as follows:

Pentium-class host PC running Microsoft Windows 2000 or later

One available USB port.

6.2.  Using the Keil Software 8051 Tools with the Silicon Laboratories IDE

To perform source-level debugging with the IDE, you must configure the Keil 8051 tools to generate an absolute
object file in the OMF-51 format with object extensions and debug records enabled. You may build the OMF-51
absolute object file by calling the Keil 8051 tools at the command line (e.g., batch file or make file) or by using the
project manager built into the IDE. The default configuration when using the Silicon Laboratories IDE project
manager enables object extension and debug record generation. Refer to “AN104: Integrating Keil 8051 Tools into
the Silicon Labs IDE” in the “

SiLabs\MCU\Documentation\Appnotes

” directory for additional information on using the

Keil 8051 tools with the Silicon Laboratories IDE.

To build an absolute object file using the Silicon Laboratories IDE project manager, you must first create a project.
A project consists of a set of files, IDE configuration, debug views, and a target build configuration (a list of files and
tool configurations used as input to the assembler, compiler, and linker when building an output object file).

The following sections illustrate the steps necessary to manually create a project with one or more source files,
build a program, and download the program to the target in preparation for debugging. (The IDE will automatically
create a single-file project using the currently open and active source file if you select 

Build/Make Project

 before a

project is defined.)

6.2.1. Creating a New Project

Perform the following steps:

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 

recognized 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 its 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 them.
Right-click on “New Project” in the Project Window. Select Add Groups to project. Add predefined groups, or
add customized groups. Right-click on the group name, and choose Add file to group. Select the files to be
added. Continue adding files until all project files have been added.

Summary of Contents for C8051F411

Page 1: ...licon Laboratories IDE Power for the C8051F411 board can be supplied from the batteries or the USB connection Refer to 3 Evaluation Board Interface for more details 3 Evaluation Board Interface The user interface of the C8051F411 Evaluation Board includes an LCD and four push buttons There is also a USB port for debugging and downloading to the C8051F411 target device 3 1 LCD User Interface The C8...

Page 2: ...ry the internal oscillator and internal voltage regulator configuration The board is in Keepsake mode upon powerup 4 1 Keepsake Mode Upon powerup the evaluation board is in Keepsake mode see Figure 2 Keepsake mode can be used when the board is powered from the batteries or the USB bus In Keepsake mode the device displays the following information Time in the upper right hand corner of the LCD Date...

Page 3: ... the options Pressing the MENU button at any time will bring the display back to the default Keepsake display The menu options in Keepsake mode are as follows DEMO TIME DATE TEMP FAH CEL 12 24 HR Press the SELECT button to choose one of the menu options The menu options are summarized in Figure 3 KEEPSAKE Mode Temperature Date Time 24 hr DOWN Temperature Date Time 12 hr DOWN Temperature Date Time ...

Page 4: ...ATE Selecting this option allows the user to configure the date The lower section of the display will appear as Y 2000 TIME FAH CEL DEMO SELECT SELECT SELECT SELECT UP DOWN UP DOWN UP DOWN UP DOWN UP DOWN Sets Time and returns to KEEPSAKE Mode UP DOWN Pressing MENU at any time will return the program to the KEEPSAKE Mode Sets Date and returns to KEEPSAKE Mode Calibrates Temp and returns to KEEPSAK...

Page 5: ...or 24 hour format Use the UP and DOWN keys to move between 12 HOUR and 24 HOUR Press SELECT to change the display or press MENU to go back to Keepsake mode 4 2 Demo Mode To put the device in Demo mode use the Keepsake menu options as described in 4 1 1 DEMO Demo mode should only be used when the board is powered from the USB bus the red switch is in the right position In Demo mode the user can con...

Page 6: ...be set When selected the following will appear in the lower section of the LCD 2 5 VREG Use the UP and DOWN keys to cycle between 2 1 and 2 5 V Press SELECT to change the core voltage and go back to the Demo mode display Press MENU to go back to the Demo mode display without changing the core voltage 4 2 3 KEEP Select KEEP to go back to Keepsake mode DEMO Mode DEMO MENU Mode SELECT SELECT UP DOWN ...

Page 7: ...ocumentation Appnotes directory for additional information on using the Keil 8051 tools with the Silicon Laboratories IDE To build an absolute object file using the Silicon Laboratories IDE project manager you must first create a project A project consists of a set of files IDE configuration debug views and a target build configuration a list of files and tool configurations used as input to the a...

Page 8: ... debug interface Once all theselections 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 aft...

Page 9: ...C8051F411 EK Rev 0 1 9 7 Schematics Figure 5 C8051F411 Evaluation Board Schematic 1 of 3 ...

Page 10: ...C8051F411 EK 10 Rev 0 1 Figure 6 C8051F411 Evaluation Board Schematic 2 of 3 ...

Page 11: ...C8051F411 EK Rev 0 1 11 Figure 7 C8051F411 Evaluation Board Schematic 3 of 3 ...

Page 12: ...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...

Reviews: