DOMAIN TECHNOLOGIES. Getting Started Guide Version 1.1. BoxView IDE. Integrated Development Environment

Similar documents
DOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator

Debugging in AVR32 Studio

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

TriCore Free Entry Tool Chain. AURIX family and AUDO Future, AUDO MAX

for StarCore DSP Architectures Quick Start for the Windows Edition

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

As CCS starts up, a splash screen similar to one shown below will appear.

As CCS starts up, a splash screen similar to one shown below will appear.

CodeWarrior Development Studio for StarCore DSP SC3900FP Architectures Quick Start for the Windows Edition

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS

CodeWarrior Development Studio for Freescale 68HC12/HCS12/HCS12X/XGATE Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System 200

Figure 1. Simplicity Studio

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

AURIX family and AUDO Future, AUDO MAX

Migration from HEW to e 2 studio Development Tools > IDEs

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.

Disassemble the machine code present in any memory region. Single step through each assembly language instruction in the Nios II application.

Required Setup for 32-bit Applications

1 Introduction to MARS

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs

GETTING STARTED WITH ECLIPSE Caitrin Armstrong

BDM Hyperion Workspace Basics

3 TUTORIAL. In This Chapter. Figure 1-0. Table 1-0. Listing 1-0.

Getting Started in C Programming with Keil MDK-ARM Version 5

Controller Continuum. for Microcontrollers V6.3. Quick Start

Prerequisites for Eclipse

Software Installation Guide for S32 Design Studio IDE (S32DS): FRDM-KEAZ128Q80 FRDM-KEAZ64Q64 FRDM-KEAZN32Q64

ADS MultiTrace Tutorial v2.0

NEW CEIBO DEBUGGER. Menus and Commands

EKK-LM3S811 QUICKSTART

SDKs - Eclipse. SENG 403, Tutorial 2

Lab Android Development Environment

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

Parallel Debugging. ª Objective. ª Contents. ª Learn the basics of debugging parallel programs

Introduction to Computation and Problem Solving

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS

CodeWarrior Development Studio for Power Architecture Processors Version 10.x Quick Start

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

Getting Started in C Programming with Keil MDK-ARM Version 5

Introduction. This tutorial introduces the following SingleStep features:

Getting Started in C Programming with Keil MDK-ARM Version 5

Optional Eclipse Workspace Configurations

Using Eclipse Che IDE to develop your codebase. Red Hat Developers Documentation Team :54:11 UTC

Section 2: Getting Started with a FPU Demo Project using EK-LM4F232

ECE QNX Real-time Lab

Getting Started with the TASKING VX-toolset for ARM

Using Eclipse Che IDE to develop your codebase. Red Hat Developers Documentation Team :15:48 UTC

Lab - Monitor and Manage System Resources in Windows 7 and Vista

Ethernut 3 Source Code Debugging

3 Getting Started with Objects

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

Getting Started in Assembly Programming with Keil uvision and MSP432

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

INF 111 / CSE 121. Homework 3: Code Reading

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

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

This document contains the steps which will help you to submit your business to listings. The listing includes both business and contact information.

The Road to CCSv4. Status Update

1.00 Lecture 2. What s an IDE?

CodeWarrior Development Studio for Power Architecture Processors FAQ Guide

MPC5748G-LCEVB SOFTWARE INTEGRATION GUIDE (SWIG) Ultra-Reliable MCUs for Industrial and Automotive Applications.

CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

5.5.3 Lab: Managing Administrative Settings and Snap-ins in Windows XP

LinuxScope-JTD Installation Guide. Version 4.0.0

Start a New Project with Keil MDK-ARM Version 5 and ST Micro Nucleo-F446RE

Enterprise Architect. User Guide Series. Portals. Author: Sparx Systems. Date: 19/03/2018. Version: 1.0 CREATED WITH

CS-Studio Display Builder

Red Suite 4 Getting Started. Applies to Red Suite 4.22 or greater

CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench

Xilinx Tutorial Basic Walk-through

Your password is: firstpw

ActiveBPEL Fundamentals

Maintain an ILE RPG application using Remote System Explorer

1 Introduction. ThinPrint Client Installation Page 1

Lab Exercise 1 Using EGit and JUnit

DEVKIT-MPC5748G SOFTWARE INTEGRATION GUIDE (SWIG) Ultra-Reliable MCUs for Industrial and Automotive Applications.

WAVELINK AVALANCHE REMOTE CONTROL 3.0 QUICK START GUIDE

At the shell prompt, enter idlde

ICOM 4015 Advanced Programming Laboratory. Chapter 1 Introduction to Eclipse, Java and JUnit

Getting Started (1.8.7) 9/2/2009

S32R274RRUEVB AND S32R372RRSEVB SOFTWARE INTEGRATION GUIDE (SWIG)

P&E Microcomputer Systems, Inc. PKGPPCNEXUS

Quick-Start Guide. BNS Solutions. QSK62P Plus

AndeSight. User Manual. Working with AndESLive. Version 1.0

Parallel Tools Platform

Eclipse Plug-in for AccuRev User s Guide Version April 2012

Chat-Related and -Related Tasks

MEDIA COMPUTATION DRJAVA. Lecture 11.3 November 7, 2008

IBM i Debugger. Overview Service Entry Points Debugger Functions Attach to an IBM i Job Launch Configurations and Settings

CPS einstruction vclicker User s Guide

Sun VirtualBox Installation Tutorial

N2KAnalyzer. User s Manual

Sherlock Tutorial Getting Started

Transcription:

Getting Started Guide Version 1.1 BoxView IDE Integrated Development Environment

Table of Contents INTRODUCTION...3 System Requirements...3 INSTALLATION...4 License Server...4 Registration...5 Node Locked License...5 Emulator Locked License...6 Floating License...6 IDE OVERVIEW...8 Windows in BoxView IDE...9 Create a Project...9 Create a Source File...10 Configure the Debug Session...11 Debugging Your Application...13 2 BoxView IDE Getting Started Guide

Introduction The BoxView Integrated Development Environment (IDE) features our high level language, embedded processor target debugger as part of the Eclipse software development environment. The Eclipse platform is an open, industry supported, extensible, software development platform. Programmers create, test and debug applications with fast data access and extensive display capabilities. A typical debugging environment consists of the BoxView IDE running on a host, the host connected to an emulator, and the emulator connected to the target embedded processor; the IDE s simulator can be used when the target hardware is not available. This Getting Started Guide to BoxView IDE will provide users an introduction to the development environment, the steps to create a simple application, define a debug session, start the simulator, and view project debug windows. Throughout the following pages, each user step is denoted with a button: Sample User Step BoxView IDE contains comprehensive online help including a Getting Started Guide, Tutorial, Users Guide, DSP Instruction Set and Registers, and 8051 Instruction Set. To review, Select Help->Help Contents from the BoxView IDE main window; open the BoxView IDE Booklet in the Help Window: System Requirements - MS Windows (2000, XP, Vista) - Java 1.5 or later - 8051 Development: SDCC 2.6 or later - DSP56K Development: Code Generation Tools from Freescale BoxView IDE Getting Started Guide 3

Installation Insert the BoxView IDE CD into the drive. Choose the appropriate installation for your development environment from the six installation options available with the CD: Option BoxView IDE License Server Description Install IDE and BoxServer. Requires Java 1.5 or later Install License Server for floating licenses SDCC for 8051 Install SDCC Code Generation tools for 8051 Flash-56K Windows I/O Driver Install DSP56xxx Flash programming utility Install Windows I/O Device Driver for Win NT/2000/XP. Required for PP-JTAG and EVM s Host Interfaces Java 1.6 Sun J2SE Development Kit version 1.6 License Server If you have purchased a Floating License, you must install the NG License Server as a Windows service on your server machine. When installed, the service will startup each time the server is started. The interface program to the service is called the NG Logic License Server Controller: 4 BoxView IDE Getting Started Guide

Registration When BoxView IDE is installed, users must obtain a valid license to use the debug features of the product. Each license is specific to the computer on which the software is installed. There are three license types supported by BoxView IDE: node locked, emulator locked, and floating. Select pull-down menu Help ->BoxView IDE Registration from the main BoxView IDE Window The Registration dialog will be displayed. Node Locked License Fill in the User Name and Company entry fields. Select License type Node-Locked Press the Request Key button Your default browser will access the Registration website Complete the User Name, Company Name, Address, City, Postal Code, Country, Phone, and E-mail fields on the website screen. Select your Operating System radio button. Choose the Send Message button to invoke the registration request An email will be returned containing the text for your computer's License key. Copy the text from the email and paste it in the License Key field of the Registration dialog. Choose the Apply button to continue. The License Expiration Date will now be visible in the Registration dialog. BoxView IDE Getting Started Guide 5

Emulator Locked License Fill in the User Name and Company entry fields. Select License type Emulator Locked Select Emulator Type Press the Get Emu S/N button Press the Request Key button Your default browser will access the Registration website Complete the User Name, Company Name, Address, City, Postal Code, Country, Phone, and E-mail fields on the website screen. Select your Operating System radio button. Choose the Send Message button to invoke the registration request An email will be returned containing the text for your computer's License key. Copy the text from the email and paste it in the License Key field of the Registration dialog. Choose the Apply button to continue. The License Expiration Date will now be visible in the Registration dialog. Floating License In the NGL License Service Controller, add a license: Go to the Licenses tab. Select the Add License button at the bottom left. Find the appropriate license text file, sent from Domain Technologies, with the provided Disk Browser dialog; the.txt file will be displayed in the provided list box. Verify its validity: select the text box and the text BoxView IDE will be displayed in the application column next to the text file name 6 BoxView IDE Getting Started Guide

Make sure the service is running; users can start and stop the service through the buttons located on the Service tab. The Status tab in the Controller is used to monitor license usage; use the Refresh button to update the display when a user connects to the License server. The Status tab displays available licenses and reserved (in use) licenses. In the IDE Registration dialog, perform the following steps: Fill in the User Name and Company entry fields. Select License type Floating If your server is the same as your current machine, use localhost for your IP address; otherwise, enter the IP address of the license server machine in the associated field. By default the Port # is 9091, however, it must be the same a the port number used by the NG Logic License Server Controller program (found on the Service tab page) Select Apply If the service is not running or all licenses are in use, an error dialog will be displayed and the text "License Time Expired" will be displayed in the License Usage Meter field. If the service is running and a license is available, the License Usage Meter field will be populated with a blue line. BoxView IDE Getting Started Guide 7

IDE Overview BoxView Integrated Development Environment (IDE) features the high level language, embedded processor target debugger as part of the Eclipse software development environment. The Eclipse platform is an open, industry supported, extensible, software development platform. After installing and registering, load BoxView IDE from the desktop. Several windows are displayed, including a navigator window which shows folders containing sample projects. There are three basic types of resources that exist in the Development Environment; a resource is a collective term for the projects, folders, and files viewed in the IDE: Files Folders Projects Files in the file system Directories on a file system. Folders are contained in projects or other folders. Folders can contain files and other folders. Contain folders and files. Projects are used for builds, version management, sharing, and resource organization. Like folders, projects map to directories in the file system. (When you create a project, you specify a location for it in the file system.) The directory location on your computer where the resources will be stored is called a workspace. The sample projects are stored in the default installed location. The Development Environment supports multiple workspaces. Create a new workspace by selecting File->Switch Workspace... from the main IDE menu. Use the Browse button to define the directory that will hold your project files and folders: 8 BoxView IDE Getting Started Guide

Windows in BoxView IDE The BoxView IDE contains many windows or views. A set of views is called a perspective. The IDE has 2 predefined perspectives: the Project Perspective and the Debug Perspective. The Project Perspective displays a set of windows valuable when manipulating project files. The Debug Perspective displays windows valuable when debugging a project. Users can change perspectives by choosing menu option Window->Open Perspective or by using the associated button on the IDE's button bar: Users can add windows to any perspective by using the IDE's Window pulldown menu. Users can close windows in a perspective by selecting the window's close icon: Create a Project The Navigator window provides a hierarchical view of the resources in your workspace; users can open files for editing by double clicking on the filename in the navigator window. Right-click in the Navigator to open a pop-up menu that allows operations such as create new, copy, paste, import, refresh, etc. BoxView IDE Getting Started Guide 9

For 8051 projects, choose New->Managed 8051 SDCC Executable Project; for Freescale projects, choose New->Managed Freescale DSP Executable Project: The New Executable project dialog will be displayed. Define the new project name in the entryfield; type ExampleProject Choose the Finish button. The Navigator will now contain your new project. Double click on the ExampleProject in the Navigator window. Three files are created automatically by the IDE and are contained in the project: Create a Source File Create a source file in your new project that will contain a simple program. Select ExampleProject; choose File->New->File from the main menu. The New File dialog will be displayed. Type simpleexample.c in the file name entry field. Choose the Finish button. 10 BoxView IDE Getting Started Guide

An empty source file named simpleexample.c has been added to the ExampleProject project. The empty source file is opened in the IDE. Write the content of the new application. Fill the simpleexample.c editor window with the following instructions: int val; int val2; int test (int v) { return v * 2; } int main(void) { val++; while (val < 100) { val2 = val / 2; val = test(val2); } return 0; } Save the simpleexample.c program ; choose File->Save Anytime a source file is saved, the automatic build operation triggers Select the Console window for detail build information results: Configure the Debug Session Establish a connection to the target hardware and configure the session. Open the connection to the target, by choosing menu option Debug->Open Connection BoxView IDE Getting Started Guide 11

Choose an embedded processor simulator for the interface type; 8051 projects choose SIM8051, Freescale projects choose SIM56300 Press OK to connect: Change perspectives, to obtain the best views for debugging, by choosing menu option Window->Open Perspective->BoxView Debug or use the BoxView Debug button on the IDE's button bar Select from the main menu Run-->Debug In the Debug session configuration dialog, select DSP Debugger in the Configurations listbox and choose the New button. The Debug fields on the right pane will be replaced with fields defining a new session configuration. From the Main tab of the Debug configuration dialog, Name the debug session by typing ExampleProject in the Name entry field. Fill in the Project entry field by using the Browse button to select ExampleProject The Application entry field will be automatically filled in with the output contained in the chosen project. Select the Debugger tab of the Debug configuration dialog In the Debugger target drop box, define the connection type for the debug session to be Emulator 12 BoxView IDE Getting Started Guide

Select the Stop at main() on startup checkbox. Save the session configuration by selecting the Apply button Debugging Your Application Once the debug session has been configured, the debugger can be started. Start your debug session by selecting the Debug button. Future debug sessions for this project can be started through the debug icon: Many windows are populated in the Debug perspective when the application is started. In the debug window, note the application has stopped (as defined in our session configuration): Next, the Source window shows an arrow in the margin for the Current Program Counter at the first instruction in the program. The Code Window shows the Current Program Counter highlighted in yellow; the assembler lines representing the Selected Source Line are highlighted in green. BoxView IDE Getting Started Guide 13

Set a breakpoint by double clicking in the margin of the source window on the val2=val/2 instruction The next graphic shows: the source window with added breakpoint on the selected instruction; the code window with breakpoint in burgundy; and the breakpoint window with the line number of the source file s breakpoint: If your debug perspective does not contain a Memory window, add one by selecting Debug -> Memory from the main BoxView IDE Window. If your debug perspective does not contain a Registers window, add one by selecting Debug -> Registers from the main BoxView IDE Window. 14 BoxView IDE Getting Started Guide

Perform a right mouse click in the Registers window for the window menu; select the option load registers->8051 or load registers ->56300 Right click in the Registers window; select Registers Section-> Core to display the core registers. Right click in the Registers window, select load registers->operand-hex. Use the Step Into button of the Debug window (or IDE menu option Run- >Step Into) to walk through the project. Use the Resume button (or IDE menu option Run->Resume) to hit the breakpoint In the Debug window, use the Terminate button (or IDE menu option Run->Terminate) to halt the execution. Choose Debug->Close Connection to close the simulator target hardware connection For more information on debug windows, review the Debug Menu Options Section of the Users Guide. BoxView IDE Getting Started Guide 15

Domain Technologies Inc. 811 East Plano Pkwy Suite 115 Phone 972.578.1121 Fax 972.578.1086 http://www.domaintec.com Email: support@domaintec.com 16 BoxView IDE Getting Started Guide