Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit

Similar documents
Figure 1. 8-Bit USB Debug Adapter

Texas Instruments MSP-FET430 Flash Emulation Tool (FET) User s Guide

ISP Engineering Kit Model 300

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

Introducing AVR Dragon

HVP-KV31F120M Quick Start Guide

DRV8312-C2-KIT How to Run Guide

UM1075 User manual. ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32. Introduction

New Product Brief 750 Naples Street San Francisco, CA (415)

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

DSO138 oscilloscope program upgrade method

UM1075 User manual. ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32. Introduction

EMUL ARM. ARM Connections Nohau Corporation. All rights reserved worldwide.

Nuvoton Nu-Link Debug Adapter User Manual

CB-OLP425 DEVELOPMENT KIT GETTING STARTED

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

MasterBlaster Serial/USB Communications Cable User Guide

Fondamenti su strumenti di sviluppo per microcontrollori PIC

MSP-EXP430G2 LaunchPad Workshop

USB-Blaster Download Cable User Guide

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

WICE-SPI Hardware Operation Manual

HPUSB, USB, HPPCI and MSP430 Emulators Users Guide

Application Note, V2.2.1, July 2003 AP OCDS Level 1 JTAG Connector. 16-Bit & 32-Bit Microcontrollers. AI Microcontrollers. Never stop thinking.

MAX6683 Evaluation System/Evaluation Kit

RC2200DK Demonstration Kit User Manual

M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL

Quick Start Guide for High Voltage Solar Inverter DC-AC Board EVM. Version 1.3

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

The following is a summary of the key features of the ARM Injector:

XBee USB Adapter Board (#32400)

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

How To Develop A Toolstick

+Denotes lead-free and RoHS-compliant. C5 C10, C17, C18

Lab 1 Course Guideline and Review

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

Atmel AVR1923: XMEGA-A3BU Xplained Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

Warnings: This manual is intended to guide a technicians or customers who would like to repair DBL's

Quick Start Guide. USB Packet Sniffer/Dongle for Kinetis MKW22D and MKW24D Wireless MCUs USB-KW24D512

Advanced Data Capture and Control Systems

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SSI-USB. Flexible Embedded Platform. Brief English Version

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction

BitBlaster Serial Download Cable

ARM. series SIGNUM SYSTEMS. JTAGjet-ARM Driver for IAR Embedded Workbench. Installation Instructions

Configure Inverter output for two utility settings, (1)120V/60Hz, (2)220V/50Hz

CryptoAuth Xplained Pro

AN-8207 Fairchild s Motor Control Development System (MCDS) Integrated Development Environment (IDE)

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction

32F072BDISCOVERY. Discovery kit for STM32F072xx microcontrollers. Features. Description

USB-Blaster II Download Cable User Guide

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Lab Experiment 1: The LPC 2148 Education Board

SPI Flash Programming and Hardware Interfacing Using ispvm System

Wave/PC Interactive System USB Adapter Kit. Installation Guide

Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family

TAP CONNECT JTAG CABLE

USER GUIDE EDBG. Description

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Bluetooth HC-06 with serial port module Easy guide

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

The Atmel-ICE Debugger

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Using DAVE with MDK Version 5

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

UM1724 User manual. STM32 Nucleo boards. Introduction

USB - FPGA MODULE (PRELIMINARY)

How To Build A Prototyg Carrier Board For Industrial Use

VisualDSP Emulation Tools Installation Guide for Windows 95/98/NT/2000

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

GSM Interfacing Board

ez430-rf2500 Development Tool s e r ' s G u i d e User's Guide SLAU227A 2007 Mixed Signal Products

3. Programming the STM32F4-Discovery

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

Designing VM2 Application Boards

AT91SAM-ICE. User Guide

SYSTEM 4C. C R H Electronics Design

Pololu DRV8835 Dual Motor Driver Shield for Arduino

MPLAB IDE 64-Bit USB Device Drivers Installation

Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers. User s Guide

MX PIC24F Educational Module User Manual

Using the VEX Cortex with ROBOTC

USB-Blaster Download Cable User Guide

xpico Wi-Fi Embedded Device Server Evaluation Kit Quick Start Guide

HPUSB, USB, and HPPCI Emulators User s Guide

BMV-602 Data Link Manual

FM4100 USER MANUAL V1.4

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

JTAG ICE.... User Guide

PN L, Revision B, October Epic 950 TM. Master Programmer User s Guide

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction

+Denotes lead-free and RoHS-compliant.

Transcription:

AN-34 Application Note 744 Naples Street San Francisco, CA 94112 (415) 584-6360 http://www.pumpkininc.com Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit Introduction The programming and debugging interface to TI's MSP430 family of ultralow-power microcontrollers is via a low-cost Flash Emulation Tool (FET). This Application Note Explains how to interface various programming and debugging interface with Pumpkin's CubeSat Kit. The MSP430 in the CubeSat Kit is present on both the Development Board (in a socket on a daughterboard) and on the FM430 Flight Module (soldered to the PCB). It normally operates at +3.3V via an on-board regulator. MSP430 JTAG Connector Pinouts As used with the 64-pin MSP430 variants used in the CubeSat Kit, the 2x7 0.100" spacing JTAG connector used for programming and debugging the MSP430 can be pinned out in one of two ways. Internal Power The pinout for use with internal power connects the MSP430's VCC pins to pin 2 of the 14-pin JTAG connector, with pin 4 disconnected: created by Andrew E. Kalman on Jun 2, 2006 updated on Oct 17, 2006 All trademarks mentioned herein are properties of their respective companies.

VCC 2 4 6 8 JTAG 1 3 5 7 9 10 12 11 14 13 TDO TDI TMS TCK GND -RST/NMI Figure 1: JTAG Pinout for Internal Power The term internal power reflects the fact that power to the MSP430 comes from the FET itself. The TI MSP-TS430PM64 target board that is used in the CubeSat Kit and is part of TI's FET kits for the 64-pin MSP430s is configured for internal power. 1 External Power The pinout for use with external power connects the MSP430's VCC pins to pin 4 of the 14-pin JTAG connector, with pin 2 disconnected: VCC 2 4 6 8 JTAG 1 3 5 7 9 10 12 11 14 13 TDO TDI TMS TCK GND -RST/NMI Figure 2: JTAG Pinout for External Power The term external power reflects the fact that power to the MSP430 comes from a source of power external to the FET itself. CubeSat Kit JTAG Connector Implementations Development Board The CubeSat Kit's Development Board has an on-board +3.3V regulator to supply power to the MSP430. The Development Board uses TI's MSP-TS430PM64 target board (with its 64-pin ZIF socket) as the daughterboard for the MSP430. The CubeSat Kit + TI MSP-TS430PM64 combination results in an internal power JTAG connector (V CC on pin 2, with pin 4 disconnected) that has external power (from the CubeSat Kit) also connected to the JTAG connector's pin 2. 2 AN-34 Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit

FM430 Flight Module Application Note The CubeSat Kit's FM430 Flight Module uses an FPC (Flexible Printed Circuit) connector 2 due to space and mass considerations. A JFPC adapter from Softbaugh, Inc. 3 is used to convert the FPC connector to the standard 2x7 JTAG MSP430 header. The JFPC adapter is pinned out as an internal power adapter. The FM430 Flight Module + JFPC adapter combination results in an internal power JTAG connector (V CC on pin 2, with pin 4 disconnected) that has external power (from the CubeSat Kit) also connected to the JTAG connector's pin 2. FET Compatibility TI Parallel-port MSP430 Flash Emulation Tool MSP-FETP430IF The TI parallel-port based Flash Emulation Tool is plug-and-play compatible with the CubeSat Kit, regardless of the voltage at which the Flight MCU operates. This is due to the internal design of the MSP-FETP430IF, which combines four separate power sources (two from the parallel port, one from an external power header and one from pin 4 of the JTAG connector) inside the FET and operates at the highest voltage level present on those sources. Target JTAG Connector Compatibility Development on MSP-TS430PM64 plug-and-play Board (all) daughterboard FM430 Flight via JFPC adapter plug-and-play Module (all) Figure 3: MSP-FETP430IF (Parallel FET) Compatibility TI USB-based MSP430 Flash Emulation Tool MSP-FET430UIF The USB-based MSP-FET430UIF has features not found in the parallel-port MSP-FETP430IF, like adjustable target V CC (1.8V- 5.0V) and the ability to supply up to 100mA to the target. The USB-based MSP-FET430UIF is designed to operate with JTAG connectors pinned out for V CC on pin 2 (internal power, pin 4 disconnected) or V CC on pin 4 (external power, pin 2 disconnected). AN-34 Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit 3

In order to use the MSP-FET430UIF on a Rev C or earlier CubeSat Kit Development Board and on all FM430 Flight Modules, it is necessary to set the MSP-FET430UIF's V CC to +3.3V. This is because external voltage is present on the daughterboard's JTAG connector (pin 2). A mismatch between the internal (FET) and external (Development Board) voltages is likely to lead to incorrect operation of the FET. 4 Target JTAG Connector Compatibility Development Board (Rev C and earlier) FM430 Flight Module (all) on MSP-TS430PM64 daughterboard via JFPC adapter set MSP-FET430UIF V CC to +3.3V set MSP-FET430UIF V CC to +3.3V Figure 4: MSP-FET430UIF (USB FET) Compatibility Configuring the MSP-FET430UIF for +3.3V Operation Support for TI's MSP-FET430UIF from third parties is relatively new and may not yet be present in your MSP430 tools. However, it is possible to use the IAR KickStart MSP430 tools that are supplied free with each MSP-FET430UIF in order to configure your MSP-FET430UIF for V CC = +3.3V operation. Once configured, the MSP-FET430UIF will retain its V CC setting and can be used with any toolset when connected to CubeSat Kit hardware. IAR Embedded Workbench KickStart for MSP430 V3 Install the KickStart package using the CD-ROM that is supplied with the MSP-FET430UIF, or download it from IAR's (http://www.iar.com/) and/or TI's (http://www.ti.com/) web sites. Follow the instructions for installing the drivers for the MSP-FET430UIF in order to ensure proper operation see TI document slau138c.pdf. 5 Open the IAR tutorial projects by selecting File Open Workspace Install Directory\tutor\tutorials.eww. Select project1 and right-click to Set as Active if it's not already selected. Then choose Project Rebuild All. The project should build with no warnings and no errors. Next, select Project Options. Under Category: Debugger, select Setup Driver FET Debugger: 4 AN-34 Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit

Figure 5: Selecting the FET Debugger as the Debugger Under Category: FET Debugger, select Setup Connection TI USB FET and enter 3.3 for Target VCC (in Volt): Figure 6: Setting the FET Debugger Properties Click on OK. Select Project Debug. If you receive some messages about the firmware of the FET being out-of-date, allow the firmware upgrade to proceed. Upon success, you can verify in the Debug Log window that the V CC voltage of the FET has been set to 3.3V: AN-34 Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit 5

Figure 7: Successful Configuration of MSP-FET430UIF for V CC = 3.3V Operation using IAR's Embedded Workbench References 1. MSP-FET430 FLASH Emulation Tool (for use with IAR Version 3.x) User's Guide (Rev. C), Texas Instruments User's Guide slau138c.pdf, Texas Instruments, 2005. 1 2 3 4 5 The MSP-TS430PM64 board can be (re-)configured for external power by removing resistor R8 (0Ω) and fitting resistor R9 (0Ω). Hirose P/N FH10A-8S-1SHB. http://www.softbaugh.com. E.g. the FET can program the MSP430 but not enter a debug state. This document's name will change on the TI website as it is revised. Revision C is slau183c.pdf, revision D is slau138d.pdf, etc. 6 AN-34 Interfacing MSP430 Flash Emulation Tools to the CubeSat Kit