Installation tutorial for the Skomer IDE

Similar documents
Getting Started with the Texas Instruments ez430

ECM583 Special Topics in Computer Systems

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:

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

Texas Instruments Mixed Signal Processor Tutorial Abstract

Blackfin cross development with GNU Toolchain and Eclipse

Optional Eclipse Workspace Configurations

Create and Add the Source File

Ethernut 3 Source Code Debugging

Howto use Amontec JTAGkey- Tiny on

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

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

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

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

Getting Started with Kinetis SDK (KSDK) v.1.2

VikiLABS. July 8, 2017

Module 3: Working with C/C++

Embest IDE Pro for ARM 2005

Getting Started with Kinetis SDK (KSDK) v.1.3

External Headers. USB Host User LEDs. User Switches. E1 Header (Unfitted)

S D K Q U I C K S T A R T

Installation and Quick Start of isystem s winidea Open in DAVE. Tutorial Version 1.0, May, 2014

Windows QuickStart Guide Page 1 of Ambiq Micro, Inc All rights reserved.

Module 3: Installing Eclipse

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

VORAGO VA108x0 GCC IDE application note

ERIKA Enterprise Tutorial

Introduction to Computation and Problem Solving

Contents. About This Guide... 2 Audience... 2 Revision History... 2 Conventions... 3 Definitions, Acronyms, and Abbreviations... 3

Introduction. Purpose. Objectives. Content. Learning Time

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

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

DEVELOPING OOSIML SIMULATION MODELS. Using Codeblocks

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio

SoftConsole FAQ May 2013

Tutorial Creating your own program in Atmel Studio 6

LABORATORIO DI ARCHITETTURE E PROGRAMMAZIONE DEI SISTEMI ELETTRONICI INDUSTRIALI

Review Activity 1 CALL and RET commands in assembler

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

1.00/1.001 HowTo: Install Eclipse

Eclipse Environment Setup

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

Migrating from CubeSuite+ to Eclipse RL78 Family

Just Enough Eclipse What is Eclipse(TM)? Why is it important? What is this tutorial about?

Getting Started with FreeRTOS BSP for i.mx 7Dual

Howto use Amontec JTAGkey- Tiny on

Pengwyn Documentation

Freescale, the Freescale logo and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Xtrinsic is a trademark of

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

Armstrap Documentation

Eclipse CDT Tutorial. Eclipse CDT Homepage: Tutorial written by: James D Aniello

@databasescaling Wednesday, 18 th April 2013

RTMS - Software Setup

Debugging in AVR32 Studio

Migration from HEW to e 2 studio Development Tools > IDEs

Getting Started with MCUXpresso SDK

Wireless M-Bus Suite for Panasonic Evaluation Boards. Quick Start Guide

IMPLEMENTING SCL PROGRAMS. Using Codeblocks

1.00 Lecture 2. What s an IDE?

Installing Eclipse CDT and MinGW

First Step From Download to the Programming

1. Go to the URL Click on JDK download option

Why embedded systems?

R8C/Tiny. StarterKit Plus SKP8CMINI-15, SKP8CMINI-17. Clock Stop Detect

Troubleshooting Firmware Updates

Laboratory Assignment #3 Eclipse CDT

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #7: More Digital IO

Tool Setup. Code Composer Studio

ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class)

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

Installing and getting started with Visual Studio for C programming in Windows.

AFE4403 Watch EVM Factory Firmware Update Procedure

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

Cookery-Book, V1.0, February XMC1400 BootKit HelloWorld

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Software Setup and Introductory Assembly programs for the MSP430 *

XMC4700/XMC4800 RelaxKit HelloWorld (USB)

COSE222 Computer Architecture

esi-risc Development Suite Getting Started Guide

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

ERIKA Enterprise Tutorial

Lab Android Development Environment

Eclipse development with GNU Toolchain

Interrupts, Low Power Modes

Quick-Start Guide. BNS Solutions. QSK62P Plus

AndeSight. User Manual. Working with AndESLive. Version 1.0

Lab 1: First Steps in C++ - Eclipse

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

Installing an IDE ELECTRICAL ENGINEERING AND COMPUTER SCIENCE DEPARTMENT. A practical guide to installing NetBeans for Java and C/C++

ECE2049: Embedded Computing in Engineering Design A Term Fall Lecture #8: Making it work: LEDs, Buttons & Keypad

Freescale Semiconductor Inc. Vybrid DS-5 Getting Started Guide Rev 1.0

Introduction to Eclipse

Figure 1 TCL Used to Initialize PS

Creating Pages with the CivicPlus System

Spartan -6 LX9 MicroBoard Web Connectivity On Ramp Tutorial

EM6819 Software installation notes

HANcoder STM32 Target Getting Started

AVR ONE!... Quick-start Guide. EVK Windows 32103C AVR ONE! 02/10

Introduction to the M16C Development Environment

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

Transcription:

Installation tutorial for the Skomer IDE DRAFT The Skomer IDE (Integrated Development Environment) is based on a set of tools: - Eclipse: used the development environment - Cygwin: used as the processor for make-files - Mspgcc: a C-compiler for the MSB430 platform based on gcc toolchain - Olimex JTAG-TINY: as a JTAG interface for flashing and debugging of the MSB430 Installation Install the Java Runtime Environment 1. Run the setup: a. \SkomerIDE\Setup\jre-1_5_0_14-windows-i586-p.exe Install the Cygwin environment 1. Navigate http://www.cygwin.com/setup.exe 2. During the installation select the following directory as the installation directory: a. \SkomerIDE\Backend\cygwin 3. During the selection of the components to install make sure that the following component is selected: a. DEVEL\make in the version >= 3.81 4. You don t need to create desktop or start menu shortcuts 5. If you are using Vista the Program Compatibility Assistant may ask a question if everything was installed correctly. Please confirm and close the assistant. 6. Navigate to the directory \SkomerIDE\Backend\cygwin\bin 7. Copy the file bash.exe to the same directory and rename the copied file to sh.exe Install the MSPGCC environment 1. Run the setup: a. mspgcc-20070216.exe

b. During the installation select the following directory as the installation directory: i. \SkomerIDE\Backend\mspgcc c. During the selection of the components to install select the following type of installation: i. without make and cygwin 2. After the setup installs the MSPGCC environment the following file should be replaced: a. The file: i. \SkomerIDE\Backend\mspgcc\bin\msp430-gdb.exe b. Should be replaced with the file: i. \SkomerIDE\Setup\msp430-gdb.exe 3. Copy the msvcr71.dll file a. From: i. \SkomerIDE\Setup\msvcr71.dll b. To i. \SkomerIDE\Backend\mspgcc\bin Install the Olimex JTAG-TINY 1. Attach the Olimex JTAG-TINY device to your computer using the USB port 2. Windows will ask for drivers, point to the directory: a. \SkomerIDE\Setup\OLIMEX drivers b. Drivers are not signed, please allow Windows to install these unsigned drivers 3. The mspgcc has to be configured to use the Olimex JTAG-TINY interface a. Navigate to the directory i. \SkomerIDE\Setup\OLIMEX drivers\msp430-dlls 1.015 b. Copy all DLL files c. Navigate to the directory i. \SkomerIDE\Backend\mspgcc\bin d. Paste the copied DLL files here (overwrite) 4. Attach an MSB430 device to the Olimex JTAG-TINY interface 5. Run cmd.exe as an Administrator 6. Execute the following command: a. msp430-gdbproxy msp430 TIUSB b. The attached should be detected now, If it s not the case, execute the following command i. msp430-gdbproxy msp430 --update-usb-fet ii. the firmware of the Olimex JTAG-TINY HW interface will be updated c. test the connectivity again by executing the command i. msp430-gdbproxy msp430 TIUSB Install Eclipse

1. Extract all files from a. \SkomerIDE\Setup\ eclipse-cpp-europa-fall2-win32.zip 2. To a. \SkomerIDE\Backend\eclipse 3. Extract all files from a. \SkomerIDE\Setup\net.sf.mspgcc.zip 4. To a. \SkomerIDE\Backend\eclipse\plugins The PATH environment variable It should contain the following entries: \SkomerIDE\Backend\cygwin\bin; \SkomerIDE\Backend\mspgcc\bin Cygwin should be the first, mspgcc should be the second in the list First Program How to test the IDE Open the Eclipse IDE Select Workspace, preferably to C:\SkomerIDE\Workspace Select FILE -> NEW -> C Project

Specify the project name msp430led and select mspgcc ELF (Gnu) Select NEXT

Select Advanced settings... And specify the Builder type

Disable the automatic discovery of path and symbols

Add the path to MSP430 includes: C:\SkomerIDE\Backend\mspgcc\msp430\include

Set the MSP430 MCU type to msp430x1612 three times:

And add the path to MPS430 includes again: C:\SkomerIDE\Backend\mspgcc\msp430\include

Click OK and Finish Go to the workbench:

Add new source file with the name main.c

Paste the following source code: #include <msp430x16x.h> int main(void){ WDTCTL = WDTPW WDTHOLD; P5DIR = 0x80; while (1) { volatile unsigned int i; P5OUT = 0x80; for (i = 0; i < 50000; i++); P5OUT &= ~0x80; } } for (i = 0; i < 50000; i++);

Save the file and then hit CTRL + B in order to compile. Try to add a syntax error, the error should be correctly detected and marked within the IDE. Compiler works. Debugging: Add new File with the name gdbtarget.ini Paste the following into the file: target remote localhost:3333 set remoteaddresssize 16 set remotetimeout 9999999 set download-write-size 512 set remote memory-write-packet-size 512 set remote memory-write-packet-size fixed set remote memory-read-packet-size 512 set remote memory-read-packet-size fixed monitor erase main

load Debug\msp430led Please note that the name of the application is referenced in this file! Select Run -> Open Debug Dialog... Press the New button to create a configuration. Switch to the debugger tag and set the options as follows:

Remove the Launch in background chceckbox