AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

Similar documents
EFM8 Laser Bee Family QSG110: EFM8LB1-SLSTK2030A Quick Start Guide

AN999: WT32i Current Consumption

EFM32 Pearl Gecko Family QSG118: EFM32PG1 SLSTK3401A Quick- Start Guide

EFM8 Universal Bee Family EFM8UB2 Errata

QSG114: CPT007B SLEX8007A Kit Quick- Start Guide

QSG144: CP2615-EK2 Quick-Start Guide

QSG123: CP2102N Evaluation Kit Quick- Start Guide

EFM8 Busy Bee Family EFM8BB2-SLSTK2021A Quick Start Guide

SMBus. Target Bootloader Firmware. Master Programmer Firmware. Figure 1. Firmware Update Setup

EFM32 Happy Gecko Family EFM32HG-SLSTK3400A Quick-Start Guide

CP2103-EK CP2103 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

CP2104-EK CP2104 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

AN1160: Project Collaboration with Simplicity Studio

Figure 1. Precision32 AppBuilder

AN976: CP2101/2/3/4/9 to CP2102N Porting Guide

CP2105-EK CP2105 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

QSG153: Micrium s μc/probe Tool Quick- Start Guide

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

QSG119: Wizard Gecko WSTK Quick-Start Guide

The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z:

Software Release Note

WT12 EVALUATION KIT DATA SHEET. Monday, 09 September Version 1.7

8-Bit MCU C8051F85x/86x Errata

µc/probe on the Freescale FRDM-KL05Z without an RTOS

EFM8 Universal Bee Family EFM8UB1 Errata

Translate HCSL to LVPECL, LVDS or CML levels Reduce Power Consumption Simplify BOM AVL. silabs.com Building a more connected world. Rev. 0.

QSG159: EFM32TG11-SLSTK3301A Quick- Start Guide

UG365: GATT Configurator User s Guide

Date CET Initials Name Justification

Humidity/Temp/Optical EVB UG

UG345: Si72xx Eval Kit User's Guide

UG254: CP2102N-MINIEK Kit User's Guide

QSG126: Bluetooth Developer Studio Quick-Start Guide

AN324 ADVANCED ENCRYPTION STANDARD RELEVANT DEVICES. 1. Introduction. 2. Implementation Potential Applications Firmware Organization

AN719 PRECISION32 IDE AND APPBUILDER DETAILED TUTORIAL AND WALKTHROUGH. 1. Introduction. Figure 1. Precision32 IDE and AppBuilder Walkthrough Overview

EFM8 Busy Bee EFM8BB1 Errata

EFM32 EFM32GG11 Giant Gecko Family QSG149: EFM32GG11-SLSTK3701A Quick-Start Guide

QSG155: Using the Silicon Labs Dynamic Multiprotocol Demonstration Applications

EFR32 Mighty Gecko Family EFR32MG1 with Integrated Serial Flash Errata History

C8051F411-EK C8051F411 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. 3. Evaluation Board Interface LCD User Interface

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide

Si1146 UVIRSlider2EK Demo Kit

QSG107: SLWSTK6101A/B Quick-Start Guide

UG271: CP2615-EK2 User's Guide

BRD4300B Reference Manual MGM111 Mighty Gecko Module

CP2114 Family CP2114 Errata

Date CET Initials Name Justification

AN1106: Optimizing Jitter in 10G/40G Data Center Applications

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

EFM32 Zero Gecko EFM32ZG Errata

Figure 1. Traditional Biasing and Termination for LVPECL Output Buffers

Router-E and Router-E-PA Wireless Router PRODUCT MANUAL

UG369: Wireless Xpress BGX13P SLEXP8027A Kit User's Guide

UG294: CPT213B SLEXP8019A Kit User's Guide

AN1117: Migrating the Zigbee HA Profile to Zigbee 3.0

EFR32MG13, EFR32BG13 & EFR32FG13 Revision C and Data Sheet Revision 1.0

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN1139: CP2615 I/O Protocol

USBXpress Family CP2102N Errata

AN1143: Using Micrium OS with Silicon Labs Thread

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Also available for purchase separately are socket daughter boards for the QFN-11 and QFN-10 packages.

QSG107: SLWSTK6101A Quick-Start Guide

The Si50122-Ax-EVB is used to evaluate the Si50122-Ax. Table 1 shows the device part number and corresponding evaluation board part number.

Table 1. Kits Content. Qty Part Number Description. Si4010 Simplified Key Fob Demo Kit 868 MHz

QSG107: SLWSTK6101A/B Quick-Start Guide

Si1140-DK. Si1140 DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure 1. Si1143 Evaluation Board

AN104 I NTEGRATING KEIL 8051 TOOLS INTO THE SILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

AN888: EZR32 Quick Start Guide

2. Key Points. F93x F92x F91x F90x. Figure 1. C8051F93x-C8051F90x MCU Family Memory Size Options

UG366: Bluetooth Mesh Node Configuration User s Guide

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

UG322: Isolated CAN Expansion Board User Guide

Bluegiga WF111 Software Driver Release Notes

AN0059.1: UART Flow Control

ETRX3DVK Development Kit Quick-Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AN1095: What to Do When the I2C Master Does Not Support Clock Stretching

UDP UPPI Card UG UDP UPPI CARD USER S GUIDE. 1. Introduction. Figure 1. UPPI Cards with and without Radio

C8051F36x-DK. C8051F36x DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup Using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

μc/probe on the element14 BeagleBone Black

Si7005USB-DONGLE. EVALUATION DONGLE KIT FOR THE Si7005 TEMPERATURE AND HUMIDITY SENSOR. 1. Introduction. 2. Evaluation Kit Description

AN690. Si4010 DEVELOPMENT KIT QUICK-START GUIDE. 1. Purpose. 2. Kit Content. Table 1. Kit Content

AN1023: HTTP SERVER EXAMPLE

Date CET Initials Name Justification

AN888: EZR32 Simple TRX Application Quick Start Guide

UG274: Isolated USB Expansion Board User Guide

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

UG352: Si5391A-A Evaluation Board User's Guide

μc/probe on the RIoTboard (Linux)

8-bit MCU Family C8051F93x/92x Errata

AN0059.0: UART Flow Control

Software Design Specification

Transcription:

INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE 1. Introduction This application note describes how to integrate the Raisonance 8051 Tools into the Silicon Laboratories IDE (Integrated Development Environment). Integration provides an efficient development environment with compose, edit, build, download and debug operations integrated in the same program. 2. Key Points The Intel OMF-51 absolute object file generated by the Raisonance 8051 tools enables source-level debug from the Silicon Labs IDE. Once Raisonance Tools are integrated into the IDE they are called by simply pressing the Assemble/ Compile Current File button or the Build/Make Project button. See the..\silabs\mcu\examples directory for examples that can be used with the Raisonance tools. Information in this application note applies to Version 4.00 and later of the Silicon Labs IDE and Ride7 and later of the Raisonance 8051 tools. 3. Create a Project in the Silicon Labs IDE A project is necessary in order to link assembly files created by the compiler and build an absolute OMF-51 output file. Follow these steps to create a project: 1. Under the Project menu, select Add Files to Project.... Select the C source files that you want to add and click Open. Continue adding files until all project files have been added. 2. To add files to the build process, right-click on the file name in the Project Window and select Add filename to build. 3. Under the Project menu, select Save Project As.... Enter a project workspace name and click Save. 4. Configure the Tool Chain Integration Dialog Under the 'Project' menu, select 'Tool Chain Integration to bring up the dialog box shown below. Raisonance (Ride 7) is the default. To use Raisonance (Ride 6), you can select it from the 'Preset Name' drop down box under 'Tools Definition Presets'. Next, define the Raisonance assembler, compiler, and linker as shown in the following sections. 4.1. Assembler Definition 1. Under the Assembler tab, if the assembler executable is not already defined, click the browse button next to the Executable: text box, and locate the assembler executable. The default location for the Raisonance assembler is: C:\Program Files\Raisonance\Ride7\bin\ma51.exe the Command Line Flags box. 3. See the following figure for the Assembler tab with the default Raisonance settings. Rev. 1.4 4/10 Copyright 2010 by Silicon Laboratories AN125

4.2. Compiler Definition 1. Under the Compiler tab, if the compiler executable is not already defined, click the browse button next to the Executable: text box, and locate the compiler executable. The default location for the Raisonance compiler is: C:\Program Files\Raisonance\Ride7\bin\ma51.exe the Command Line Flags box. Note: Add the FP(IEEE,FP251) flag if any floating point variables are being viewed in the Watch Window. 3. See the following figure for the Compiler tab with the default Raisonance settings. 5. Target Build Configuration Under the Project menu select Target Build Configuration to bring up the dialog box shown below. 4.3. Linker Definition 1. Under the Linker tab, if the linker executable is not already defined, click the browse button next to the Executable: text box, and locate the linker executable. The default location for the Raisonance linker is: C:\Program Files\Raisonance\Ride\bin\lx51.exe the Command line flags box. 3. See the following figure for the Linker tab with the default Raisonance settings. 5.1. Output Filename To customize a default filename or to create a new filename, click the browse button next to the Absolute OMF file name: edit box. Select a path and enter an output filename with no extension (ex. blinky.). 5.2. Project Build Definition Click the Customize button to bring up the Project Build Definition window shown below. This window allows selection of the files to be included in the build process. Although, default assemble and compile selections will be made, ensure that all files have been correctly included in the build process. Under each tab, add Files to assemble or compile by selecting the desired file and clicking the Add button. Files are removed in the same manner. 2 Rev. 1.4

5.3. Additional Options 1. If the Enable automatic save for project files before build. box is checked, then all files included in the project will be automatically saved when the Build/ Make project button is pressed. 2. If the Enable automatic connect/download after build. box is checked, then the project will be automatically downloaded to the target board when the Build/Make project button is pressed. 3. If the Run to main() on code download. box is checked, the target board will halt at the first line in main() when the Download code button is pressed. 6. Building the Project 1. After saving all files that have been edited, the previous revisions will be saved in backup files. Backups are saved as the name of the file with the extension #1, #2, #3, and so on up to the number of backups (N) created and available. #1 being the most recent and N being the least recent. 2. Click the Assemble/Compile current file button to compile just the current file. 3. Click the Build/Make project button to compile and link all the files in the project. 4. Review the errors and warnings generated during the build process located in the Build tab of the Output window (typically found at the bottom of the screen). Carefully viewing the entire length of the build report is recommended, due to the fact that the Raisonance linker will continue to link even when there are compiler errors. Double-clicking on an error that is associated with a line number will automatically move the cursor to the proper line number in the source file that generated the error. 7. Source/Include File Examples Example source files and include files for each of the Silicon Labs devices are included with the Silicon Labs IDE installation. These examples can be used with the Raisonance tools without making any changes. The default location for these examples is C:\Silabs\MCU\Examples. In addition, examples can be found in many Silicon Labs Application Notes. 8. Troubleshooting For troubleshooting guidelines, see MCU Knowledge Base article #311264: http://cp-siliconlabs.kb.net/ article.aspx?article=311264&p=4120 Rev. 1.4 3

DOCUMENT CHANGE LIST Revision 1.2 to Revision 1.3 Introduction updated. Example path updated from C:\Cygnal\Examples to C:\Silabs\MCU\Examples. Target Build Configuration and Project Build Definition windows screenshots updated to reflect the new examples path. Tool Chain Integration windows screenshots updated for new Raisonance settings. Key Points updated to include Silicon Labs and Raisonance tools version information. Revision 1.3 to Revision 1.4 Tool Chain Integration windows screenshots updated for new Raisonance settings. Key Points updated to include Silicon Labs and Raisonance tools version information. Paths updated to reflect new Raisonance installation paths. 4 Rev. 1.4

Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio www.silabs.com/iot SW/HW Quality Support and Community www.silabs.com/simplicity www.silabs.com/quality community.silabs.com Disclaimer Silicon 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 Information Silicon 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. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com