SEMICONDUCTOR PRODUCT INFORMATION

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

MMCCMB2114UM/D MMCCMB2114. Controller and Memory Board. User s Manual

MOTOROLA SDI INTERFACE USER S MANUAL

Controller Continuum. for Microcontrollers V6.3. Quick Start

MCUez MMDS or MMEVS for HC05/08 ezstart GUIDE

for ColdFire Architectures V7.2 Quick Start

SOFTWARE RELEASE GUIDE FOR THE MOTOROLA "MCUez SDI FOR HC12" SOFTWARE APPLICATION PACKAGE

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

For an electronic copy of this book, visit Motorola s web site at Motorola, Inc., 2004; All Rights Reserved

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

ADSP-218x Family EZ-ICE Hardware Installation Guide

Apex-ICE Universal Emulator Hardware and Software Installation Guide

User s Manual. Freescale Semiconductor, I. EML08JLJKUM/D Version 1.0 July 23, User s Manual

SRAM SRAM SRAM SCLK khz

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

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

Apex-ICE Universal JTAG Emulator Hardware and Software Installation Guide

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

AC/DC. Adapter. Serial. Adapter. Figure 1. Hardware Setup

AN10337 Adding ISP firmware to an LPC900 software project

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

Getting Started with the MCU Flashloader

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

Using an External GCC Toolchain with CodeWarrior for Power Architecture

AN10428 UART-SPI Gateway for Philips SPI slave bridges

Evaluation & Development Kit for Freescale PowerPC MPC5517 Microcontroller

MQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform

ez80190 Development Kit Quick Start Guide

Watt Saver Software Component (WSC)

APPLICATION NOTE. Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices. Atmel AVR XMEGA. Features.

AC/DC Adapter. Figure 1. Hardware Setup

MMCCMB1200 Controller and Memory Board (CMB1200) User s Manual (Revision 2)

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

Getting Started with MCUXpresso SDK CMSIS Packs

Revision: 0.30 June Intel Server Board S1200RP UEFI Development Kit Firmware Installation Guide

Adding a run control interface into an existing CodeWarrior for MCU v10.x project

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

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

AC/DC. Adapter. Ribbon. Cable Serial. Serial. Adapter. Figure 1. Hardware Setup using an EC2 Serial Adapter

Figure 1. Power Barrel Connector Requirements

Summit-ICE Emulator Hardware User s Guide

TWR-LS1021A Getting Started

for StarCore DSP Architectures Quick Start for the Windows Edition

Trace Debug Tools Version 1.2 Installation Guide

Application Note. Startup DevKit16. History 19 th June 00 TKa V1.0 started 20 th June 00 TKa V1.1 Some minor text corrections

Evaluation Board User Guide UG-035

SRAM SRAM SRAM. Data Bus EXTAL ESSI KHz MHz. In Headphone CS MHz. Figure 1 DSP56302EVM Functional Block Diagram

CodeWarrior Development Studio

AVR- M16 development board Users Manual

Offline Flash Programmer for Kinetis K- and L-series MCUs

M68CPA08W1628T20. Programming Adapter. User s Manual. Freescale Semiconductor, I. User s Manual. M68CPA08W1628T20UM/D Version 1.

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

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

_ V1.1. EVB-5566 Evaluation & Development Kit for Freescale PowerPC MPC5566 Microcontroller. User s Manual. Ordering code

TWR-LS1021A Getting Started

M68CPA08QF Programming Adapter. User s Manual. Freescale Semiconductor, I. User s Manual. M68CPA08QF324448UM/D Version 1.

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

Old Company Name in Catalogs and Other Documents

EB366. In-Circuit Programming of FLASH Memory Using the Monitor Mode for the MC68HC908GP32. Introduction

THIS SPEC IS OBSOLETE

AN LPC1700 secondary USB bootloader. Document information. LPC1700, Secondary USB Bootloader, ISP, IAP

ZCRMZNICE01ZEMG Crimzon In-Circuit Emulator

AT09381: SAM D - Debugging Watchdog Timer Reset. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

Load Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

Kinetis Updater User's Guide

MMA845x Driver: Quick Start Guide

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

How to use FlexMemory as D-Flash and EEPROM in KE1xF

M68ICS05JP HC705JP IN-CIRCUIT SIMULATOR OPERATOR S MANUAL

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

EB-51 Low-Cost Emulator

Easy development software from the company that knows MCU hardware best

indart -HCS08 In-Circuit Debugger/Programmer for Freescale HCS08 Family FLASH Devices User s Manual Rev. 2.0

March Getting Started with the Intel Desktop Board DQ77MK UEFI Development Kit

CodeWarrior Development Studio for StarCore 3900FP DSP v SP3 Release Notes

USB Bootloader GUI User s Guide

StrongARM** SA-110/21285 Evaluation Board

Configure QSPI Bus Width and Frequency in Pre-Boot Loader Stage on QorIQ LS Series Processors

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

1. ONCE Module 2. EBDI. Application Note. AN2327/D Rev. 0, 9/2002. M Core EBDI Interface Application Note

Smart Plug Software Design Reference Manual

How to setup pre-build steps in CodeWarrior for Microcontrollers v10.x

Features Overview nc. 1.1 Features Overview The MMC2114 and MMC2113 are the next devices in a family of devices that began with the MMC2107. The devic

Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM

Building U-Boot in CodeWarrior ARMv8

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

16-Bit Emulator Setup for MB2141 and MB

Kinetis Flash Tool User's Guide

SAM4 Reset Controller (RSTC)

Page intentionally blank Replace with cover artwork

Freescale MQX USB Stack for TWR-K24F120M GA User s Guide

BHFlashBurn v2.0. User Guide. BHFlashBurn-UG-02 April 2008

Introduction to the Altera SOPC Builder Using Verilog Designs. 1 Introduction

Nios Embedded Processor Development Board

56F8300 BLDC Motor Control Application

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

Transcription:

CMB2114RG/D REV 1 Semiconductor Products Sector Product Release Guide Motorola CMB2114 1 Overview 2 System Requirements This guide explains installation and other information for the CMB2114 controller and memory board, a development tool of Motorola's M CORE family. This tool lets you develop code to be embedded in an MMC2114 microcontroller unit. This guide also includes last minute changes that were not included in the CMB2114 user s manual. As a standalone tool, the CMB2114 uses an RS232 connection to your computer. This connection lets you use Motorola s System Development Software (SysDS), which comes with your CMB2114. The SysDS includes a loader and the Picobug monitor. The GNU source-level debugger also comes with your CMB2114. The SysDS loader lets you download your code into SRAM (for execution) or into external or internal FLASH memory (for execution or for storage in non-volatile memory). The CMB2114 will combine easily with other, optional development boards from Motorola, via its MAPI 400 connector interface ring. Such optional boards will expand CMB2114 capacity or add CMB2114 features. The power supply that comes with your CMB2114 converts line power to 12-volt power. For operating instructions and reference information, see the CMB2114 user s manual. For additional information about the entire family of M CORE products, visit the web site http://www.mot.com/sps/mcore/. You need an IBM PC or compatible computer, running the Windows 95/98/200 or WindowsNT (version 4.0) operating system. The computer requires a Pentium (or equivalent) microprocessor, 16 megabytes of RAM, 150 megabytes of free hard-disk space, an SVGA color monitor, and an RS232 serial-communication port. You also need a C compiler, an M CORE assembler, and an M CORE linker. To use the Picobug debug monitor, you also need Hyperterminal or a comparable terminal-emulation program To get the most from your CMB2114, you should be an experienced C or M CORE assembly programmer. The power supply that comes with your CMB2114 converts line power to the input power that the CMB2114 needs: 12 volts at a minimum of 0.5 amperes. SEMICONDUCTOR PRODUCT INFORMATION

3 CMB2114 Software The factory ships your CMB2114 with system software already downloaded into FLASH memory. This means that you immediately can use the Picobug monitor to debug your code. The CD-ROM that comes with your CMB2114 contains such additional software as GNU source-level tools and SysDS. Still more compatible development tools are available from other companies. (For the latest list of such third-party tools, visit either of these web pages: http://www.mot.com/sps/mcore/tools_new_partners.htm or http://www.mot.com/sps/mcore/tools_tools.htm.) 4 Installing Software NOTE: Follow these steps to install software for your CMB2114: 1. Install the GNU tools. a. Insert the MMC2114 CD-ROM into your CD-ROM drive. b. Navigate to the following directory on the CD-ROM: Dev_Sys\GNU_Tools. This directory contains the setup.exe file. c. Double-click the setup.exe file. The GNU tools installation program starts. d. Follow the on-screen instructions provided by the setup program and complete the installation procedure. 2. Install the Motorola SysDS Loader. a. Navigate to the following directory on the MMC2114 CD-ROM: Dev_Sys\SysDS. This directory contains two more directories: OnBoard_Flash_Loader and OnChip_Flash_Loader. These directories contain the on-board and on-chip versions of the SysDS Loader, respectively. b. Copy the OnBoard_Flash_Loader and OnChip_Flash_Loader directories to a suitable location on your computer. Once you have copied the OnBoard_Flash_Loader and OnChip_Flash_Loader directories to your computer, you can run the required version of Motorola SysDS Loader by double clicking the Loader.exe file within the respective directories. NOTE: The MMC2114 CD_ROM contains Version 1.2 of the on-chip SysDS Loader as against Version 1.1 mentioned in the CMB2114 User s Manual. The on-chip Motorola SysDS Loader Version 1.2 is a faster version. During download, it does not perform blank check and erase functions. This improves the download speed. 5 Installing the Patch for CodeWarrior for M CORE Version 2.0 The MMC2114 CD-ROM includes a patch for the CodeWarrior IDE. The patch is not an executable file. Instead, it is a folder that you need to copy to CodeWarrior for M CORE layout on your computer. The patch includes files for the compiler plugin, CodeWarrior stationary, sample programs, and Motorola SysDS Loader. To install the patch: 1. Navigate to the Patch_for_CodeWarrior_for_MCore R2.0 directory in the root directory of the MMC2114 CD-ROM. CMB2114RG/D REV 1 M CORE 2

6 Factory Hints The Patch_for_CodeWarrior_for_MCore R2.0 directory contains another directory: CodeWarrior for MCore R2.0. 2. Copy the CodeWarrior for MCore R2.0 directory. 3. Navigate to the following location on your computer: {CodeWarrior for M CORE Installation directory}\metrowerks. 4. Paste the copied CodeWarrior for MCore R2.0 directory to the {CodeWarrior for M CORE Installation directory}\metrowerks directory. A dialog box will notify you that the copied files will replace the original files in the {CodeWarrior for M CORE Installation directory}\metrowerks\codewarrior for MCore R2.0 directory. 5. Click Yes to All. The required files will be replaced from or added to the CodeWarrior layout. 1. The first production lot of CMB2114 assemblies were produced with an early mask set of the MMC2114 which has a limitation in the clock module. Because of this limitation, the device cannot be clocked by a crystal. The CMB s with this clocking limitation has an MMC2114 marked with date code HECC0205 on it. For these CMB s, the only clocking modes that can be used are Normal PLL with External Clock Reference Mode or External Clock Mode (PLL disabled). The factory default clock mode is Normal PLL with External Clock Reference Mode. The CMB2114 User Manual describes settings for jumpers W3, W4 and W5 to change to External Clock Mode, if desired. The device on these initial production CMB s will fail to start clocking if they are configured for Normal PLL with Crystal Oscillator Reference Mode. 2. An issue exists concerning the Device Driver Library for the MMC2114. The first production version of the library, version 1.10, has not been updated to support some of the features of the MMC2114 that has been changed from the MMC2107. a. This version of the library does not have support for the low-voltage detection (LVD) capability new to the MMC2114. LVD has the capability of generating either a reset or an interrupt. The vector for this interrupt is shared with the EPORT s INT0 vector, so it was not necessary to change any of the library functions for the Interrupt Controller (ITCN) or its accompanying driver (ITCN_B). However, the drivers for the Reset Controller (Reset_A) do not accurately reflect the change in structure of the Reset Status Register in that it does not include the LVD Reset bit. b. The Reset Control Register has been expanded in the MMC2114 to support LVD, and this control has not been incorporated into the drivers for the Reset Controller. c. In the QADC driver module, QADC64_A, the QADC clock setup in the QADC Control Register 0 (QACR0) has been simplified from that of the MMC2107, and the QADC64_A_Init function still takes parameters specific to the 2107 s QACR0. Furthermore, this function supports the setting of PORTQA s data direction, but does not allow for the setting of PORTQB s data direction. This port was changed to allow for both input or output configuration on the MMC2114, where the MMC2107 s PORTQB was input only. 3. The Second Generation FLASH for M Core (SGFM) found on the MMC2114 has a feature that allows the FLASH to be secured from external access. Security is enabled by having the value $0000000B programmed in the 4-byte Security Word field (at $228-$22B) in the M CORE CMB2114RG/D REV 1 3

FLASH s Configuration Field. The content of the Security Word gets loaded into the SGFM Security Register (SGFMSEC) at reset, and if this load operation results in the value $000B loaded into the SEC[15:0] field of SGFMSEC, then FLASH is secured. No access to the OnCE port is provided when security is enabled, but OnCE port access is blocked in such a way that the JTAG boundary scan feature is still usable. On a secured device, the only way to recover from this lockout is to perform a lockout recovery sequence which begins by clocking a JTAG public instruction called LOCKOUT_RECOVERY into the top level Test Access Port s instruction register. After following a series of additional steps to recover from lockout, the entire content of FLASH is erased, including the Security Word. Upon reset, the device s FLASH is unlocked and accessible, and device operation is unrestricted. The details of FLASH security are outlined in the Security appendix of the MMC2114/D Advance Information Guide. At the time of this writing, the Enhanced Background Debug Interface (EBDI) module does not support the issuance of the LOCKOUT_RECOVERY instruction. Therefore, it is imperative that the user not lock the FLASH on the CMB2114 by programming the value $0000000B at $228-$22B. If it is, then the device will only operate in single-chip mode and the operation of the board will be restricted at best. Firmware in the EBDI is currently being updated to support lockout recovery to prevent the above situation from occurring. The EBDI firmware versions that do not support lockout recovery are version 3.24 or earlier for rev. E hardware, or version 3.40 or earlier for rev. G hardware. Firmware upgrade and instructions to perform it are provided at the MMC2114 Product Summary page of the Motorola web site, http://e-www.motorola.com/. Click on Microcontrollers and navigate to the M Core MMC2114 page. From here select the MMC14EBDI02 link under Development Tools. CMB2114RG/D REV 1 M CORE 4

While every effort has been made to ensure the accuracy of all information in this document, Motorola assumes no liability to any party for any loss or damage caused by errors or omissions or by statements of any kind in this document, its updates, supplements, or special editions, whether such errors are omissions or statements resulting from negligence, accident, or any other cause. Motorola further assumes no liability arising out of the application or use of any information, product, or system described herein; nor any liability for incidental or consequential damages arising from the use of this document. Motorola disclaims all warranties regarding the information contained herein, whether expressed, implied, or statutory, including implied warranties of merchantability or fitness for a particular purpose. Motorola makes no representation that the interconnection of products in the manner described herein will not infringe on existing or future patent rights, nor do the descriptions contained herein imply the granting or license to make, use or sell equipment constructed in accordance with this description. The Motorola name and logo are registered trademarks of Motorola, Inc.; M CORE and OnCE are trademarks of Motorola, Inc. Other trademarks belong to their respective owners. Motorola, Inc. 2002; ALL RIGHTS RESERVED SEMICONDUCTOR PRODUCT INFORMATION

CMB2114RG/D REV 1 M CORE 6