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

Similar documents
MCUez MMDS or MMEVS for HC05/08 ezstart GUIDE

Technical support for MCUez development tools is available through your regional. For More Information On This Product, Go to:

Easy development software from the company that knows MCU hardware best

MOTOROLA SDI INTERFACE USER S MANUAL

SEMICONDUCTOR PRODUCT INFORMATION

Easy development software from the company that knows MCU hardware best

Controller Continuum. for Microcontrollers V6.3. Quick Start

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

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

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

M68ICS05JP HC705JP IN-CIRCUIT SIMULATOR OPERATOR S MANUAL

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

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

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

M68ICS05P HC705P IN-CIRCUIT SIMULATOR OPERATOR S MANUAL

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

Quick-Start Guide. BNS Solutions. QSK62P Plus

AN1369 APPLICATION NOTE

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

for StarCore DSP Architectures Quick Start for the Windows Edition

Lab 1 MC9S12 Assembler and Monitor

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

Kinetis Updater User's Guide

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

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

for ColdFire Architectures V7.2 Quick Start

Getting Started with the MCU Flashloader

ADSP-218x Family EZ-ICE Hardware Installation Guide

KINGSTAR 3.2. SOFT PLC RUNTIME INSTALLATION AND USER GUIDE KS-DOC-x R3

EE 308 LAB 1 ASSEMBLER, SIMULATOR, AND MONITOR. Introduction and Objectives

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

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

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

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

Debugger Flash Programming

Lab 1 MC9S12 Assembler and Monitor

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

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

Trace Debug Tools Version 1.2 Installation Guide

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

Technical Note (8 & 16-bits) TN 98

HI-WAVE. Serial Debug Interface SDI target. Copyright 1997 HIWARE HI-WAVE

Building U-Boot in CodeWarrior ARMv8

IAR C-SPY Hardware Debugger Systems User Guide

Processor Expert Software Microcontroller Driver Suite. Device Initialization User Guide

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

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

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

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

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

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

CodeWarrior Development Studio

CodeWarrior U-Boot Debugging

AIOP Task Aware Debug

CodeWarrior IDE Essentials for Embedded Systems Featuring Hiware Technology

RTX SDK INSTALL GUIDE

NEW CEIBO DEBUGGER. Menus and Commands

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

M68HC12A4EVBUM/D October 1999 M68HC12A4EVB EVALUATION BOARD USER S MANUAL

WCT1011A/WCT1013A Automotive MP-A9 V4.0 Run-Time Debugging

Figure 1. Power Barrel Connector Requirements

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network

Note: The Silicon Labs USB Debug Adapter is not included in this kit and is required to reprogram the board.

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

C Programming in Atmel Studio 7 Step by Step Tutorial

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

Getting Started with MCUXpresso SDK CMSIS Packs

PICMICRO C-SPY. User Guide

Watt Saver Software Component (WSC)

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

The USB Debug Adapter package contains the following items: USB Debug Adapter (USB to Debug Interface) with attached 7 Ribbon Cable

RTX 2016 Runtime SILENT INSTALL GUIDE

ST7MDTx-KIT ST7 MCU STARTER KIT. Software Features (ST7 CDROM) Hardware Features

68HC12 Training Lab Student Exercise Book

RTX WES7 DEPLOYMENT GUIDE

USB Bootloader GUI User s Guide

NADK Reflector Application Debug

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

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

Figure 1. Simplicity Studio

HI-WAVE. ICD Target Interface. Copyright 1998 HIWARE HI-WAVE

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

ECE372 CodeWarrior Simulator Andreou/Michaelides

H8 C-SPY. User Guide WINDOWS WORKBENCH VERSION

IAR C-SPY Hardware Debugger Systems User Guide. for Renesas E30A/E30 Emulators

MiniTutorial: Including RTX 2011 Runtime with Windows Embedded Standard 7

RTX SDK INSTALL GUIDE

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

Freescale Semiconductor, Inc. Debugger. Serial Debug Interface SDI target. Copyright Metrowerks Debugger

Apex-ICE Universal Emulator Hardware and Software Installation Guide

Redirector User Guide

Toad Data Point - Professional Edition. The Toad Data Point Professional edition includes the following new features and enhancements.

Component Development Environment Getting Started Guide

AlphaServer DS10 V7.2 Console Firmware Release Notes

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

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

RTX MiniTutorial APPLICATION PROFILING USING RTX TIME VIEW

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

Using an External GCC Toolchain with CodeWarrior for Power Architecture

Transcription:

M68MCUezSW/D FEBRUARY 1998 SOFTWARE RELEASE GUIDE FOR THE MOTOROLA "MCUez SDI FOR HC12" SOFTWARE APPLICATION PACKAGE Important Notice to Users MOTOROLA Inc., 1997-1998 All Rights Reserved 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. Trademarks This document includes these trademarks: Motorola and the Motorola logo are registered trademarks of Motorola Inc. IBM and PC are trademarks of International Business Machines Corporation. MCUez 1997-1998; All Rights Reserved. Motorola Inc. is an Equal Opportunity/Affirmative Action Employer.

ii M68MCUEZSW/D REV 2

Table of Contents 1. OVERVIEW...1 2. EQUIPMENT REQUIRED...1 3. LOADING SOFTWARE...1 4. SOFTWARE FILES...2 5. HINTS & WORKAROUNDS...2 5.1 Shell...2 5.2 Assembler...3 5.2.1 Temporary Register Names...3 5.2.2 Limitations...3 5.2.3 Incompatibility Issues: The MCUez Assembler vs The MCUASM Assembler...3 5.2.3.1 Case Sensitivity...3 5.2.3.2 Symbol Name Notation...3 5.2.3.3 PC vs. PCR...3 5.2.3.4 Direct Addressing Mode...4 5.2.3.5 String Constants...4 5.2.3.6 Operators...4 5.2.3.7 Directives...4 5.3 Linker Limitations...5 5.4 Debugger...6 5.5 C Source-Level Debugging...7 5.6 Converting P&E Commands to Mcuez Commands...7 6. EE/FLASH PROGRAMMING...8 7. CUSTOMER SUPPORT...8 iiim68mcuexsw/d REV2 iii

1. OVERVIEW This software release guide briefly lists and describes the files that make up the MCUez software. This document provides required lists, tips for using your MCUez software application for SDI with HC12 devices, and describes workarounds for identified software bugs. The following HC12 devices are supported in this MCUez release M68HC912B32 M86HC12A4 2. EQUIPMENT REQUIRED To use the MCUez application you must have: An IBM PC or compatible computer using either WIN95 or Windows NT. The computer must have a serial port for communication. An HC12-based target system: Emulation Board, SDI Interface, serial cable, power supply, and M68HC12-family microcontroller. 3. LOADING SOFTWARE The MCUez software comes on a CD ROM. To install the MCUez software: 1. Insert the CD into the CD ROM drive of your computer. 2. Select "Run" when prompted by the system. 3. Enter or browse for the "setup.exe" file from in the "Open" editor of the "Run" dialog, and click "OK". 4. The install program automatically loads the software. Follow the instructions that appear on the screen. 5. During installation, you will be asked to select the appropriate MCU target system. Select only one for each installation. In addition, you can download the MCUez software or install it from our Web site at http://www.mcu.motsps.com/mcuez. M68MCUezSW/D REV 2 1

4. SOFTWARE FILES The following table lists the files that make up the MCUez software application. MCUez Software Files Filename Description DEMO PROG LIB MCUTOOLS.INI MDSELIB.INI MFC40.DLL, MSVCRT40.DLL 5. HINTS & WORKAROUNDS Contains examples of assembly files. Contains executable files as well as the required DLLs and the /Reg subdirectory for the register files. Contains the ANSI C library files. Applicable only when you have installed the Hiware C Compiler package. Contains MCUez general configuration information Contains Motorola general configuration information Contains Microsoft foundation class library functions used by the MCUez executables. The following sections provide hints and work-arounds to areas of the MCUez application that are not currently fully functional. 5.1 Shell Check if default directory in the shell configuration is where you want to use MCUez applications through icons. Since MCUez can provide you to install different MCU family development Tools at different time or the same time, the project directory in the shell configuration dialog will displayed according to which development tool is installed or selected LAST. For example, if the HC08 is installed last, the default project directory will be set to..\mcuez08\demo\wmmds08a. If you need to use MCUez HC12 applications, you need to switch default project directory to..\mcuez12\demo\wsdi12a in the shell configuration. Click the "Open" button in the configuration dialog and change the default directory to..\mcuez12\demo\wsdi12a. That way the icons that appear on the shell tool bar will link to all appropriate that are associated with your specific MCUez release package. 2 M68MCUEZSW/D REV 2

5.2 Assembler 5.2.1 Temporary Register Names The names recognized for the temporary registers in the TFR and EXG instructions is Temp2 and Temp3. These differ from the CPU12 reference manual referring to these registers as TMP2 and TMP3. 5.2.2 Limitations The EQU object refers to symbols defined in the same assembling unit. For example, the following portion of code generates an error: XREF extvar... label EQU extvar EQU symbols referring to another symbol should be defined in the same assembly unit as the symbol they refer to. EQU objects initialized with an absolute expression cannot be exported. The following portion of code generates an error: XDEF label label EQU 8 Absolute EQU symbols must be define in one or several separate files. These files must reference all symbols and be included in the assembly files. 5.2.3 Incompatibility Issues: The MCUez Assembler vs The MCUASM Assembler 5.2.3.1 Case Sensitivity All labels in the assembler are case sensitive 5.2.3.2 Symbol Name Notation The MCUez application does not support the character $ inside of a symbol or label name. 5.2.3.3 PC vs. PCR Currently The addressing mode notation <offset>, PC and <offset>, PCR are handled in the same way. When the offset specified is an absolute expression, this expression is directly encoded in the op code; equivalent to the notation <offset>, PC in MCUasm. M68MCUezSW/D REV 2 3

When the offset specified is the name of a label, the offset between the current PC position and the label is evaluated and encoded in the op-code; equivalent to the notation <offset>, PCR in MCUasm. 5.2.3.4 Direct Addressing Mode In the MCUasm Assembler, direct addressing mode is used to access symbols defined in the section number 255. In the MCUez Assembler, direct addressing mode is used to access symbols defined in all sections defined as SHORT section. 5.2.3.5 String Constants The double quote character is not allowed in a string constant enclosed in double quote. The single quote character is not allowed in a string constant enclosed in single quote. 5.2.3.6 Operators The MCUez application does not support the exponentiation operator (!^). 5.2.3.7 Directives The directive OFFSET is not handled correctly by the MCUez application. 4 M68MCUEZSW/D REV 2

5.3 Linker Limitations Absolute sections cannot be defined starting at address 0. The Linker will have problems handling the following section correctly: ORG 0... NOP NOP Sections that start at address 0, must be defined as relocatable sections and placed at address 0 in the linker PRM file. Example of Assembly Source Code Sec_0: SECTION... NOP NOP Example of PRM file LINK test.abs NAMES test.o END SEGMENTS ROM_0 = READ_ONLY 0x0000 TO 0x00FF; MY_ROM = READ_ONLY 0x0800 TO 0x09FF; MY_RAM = READ_WRITE 0x0A00 TO 0x0AFF; END PLACEMENT Sec_0 INTO ROM_0.data INTO MY_RAM;.text INTO MY_ROM; END VECTOR ADDRESS 0xFFFE main INIT main M68MCUezSW/D REV 2 5

5.4 Debugger The following limitations apply to the MCUez Debugger for SDI. The RESET command has a GO STOP option, if omitting the option, the default is STOP. The STOP default is not currently fully functional. Only one trace window is allowed. When you use the command line, the show protocol box in the communication dialog must be unchecked. The bus analyzer Range trigger points are not fully functional. The HC129B32 command line memory tests for the following sequence of MT commands generates a never ending loop in the Debugger as shown below: MT 0x8000..0xffff 0xaa ;wr ;b MT 0x80000..0x90000 ;wr ;b Write 0xaa in the memory block from 0x8000 to 0xffff, and it works. There is no red error and the memory block os not altered from 0xaa to 0xff. After this test, all memory blocks from 0x0000..0xffff were locked up. They could not be written to using either the MT or MS command. Workaround for setting Hardware Breakpoints using MCUez 1. Set HWBPMODULEADR=0x20 in the default.env from the working directory. (see more information in SDI user manual in section 6.2 2. Start MCUez debugger 3. Select Set Target option from Component menu 4. Select Motosil from Set target dialog, and chosse OK 5. Using the pop-up menu from the assembly or source window to select Set Breakpoints to set permanent breakpoints or Run to Cursor to set temporary breakpoints on the instruction or code where the program needs to be stopped. Retry is not working. Try to use the Abort to do reconnection with SDI if lost communication occurs. 6 M68MCUEZSW/D REV 2

5.5 C Source-Level Debugging MCUez supports C source level debugging implicitely (disabled) for this release. You need to purchase the HI-CROSS+ Compiler (version above 5.07) from Hiware, and install C Compiler into MCuez package to make C source level debugging explicitely (enabled). For information about the Hiware HI-CROSS+ Compiler contact: Hiware TEL: 011-4161-690-7500 FAX: 011-41-61-690-7501 EMAIL: support@hiware.hicom.ch 5.6 Converting P&E Commands to Mcuez Commands The following table shows the correspondence between the P&E debugger most-used commands and the MCUez HC12 debugger commands. BF C000 C030 FF P & E Command BR 200 BS $200 MCUez Command FILL $C000..$C030 $FF CODE 10300 DASM $10300 EXIT GO 1050 105A BS $105A GOTIL 1055 (1) G $1050 BS $1055 T G LOAD myfile1 LOADALL myfile2 MM.B 1000 10 11 MM.B 1000 10 11 MM.W 1000 2222 1111 MM.L 1000 22222222 11111111 SREC myfile1.s19 LOAD myfile2.abs MS $1000 $10 $11 WB $1000 $10 $11 WW $1000 $2222 $1111 WL $1000 $22222222 $11111111 M68MCUezSW/D REV 2 7

MD 1000 DB $1000 DW $1000 DL $1000 NOBR BC * RESET RESET (2) STEP 10 T, 10 STEP 1050 10 TRACE 200 1050 T $1050, 10 ARM BS 1050 T 1. As MCUez debugger is a Window application, to close the debugger use Alt + F4. 2. This command has different parameters depending on the target interface (SDI or MMDS) and the integration module available for the MCU (LIM, SIM, SCIM,...) 3. This set of commands only works together with the MMDS emulator. They are not available on SDI version. 6. EE/FLASH PROGRAMMING The MCUez supports EE programming through SDI (please refer how to do it from SDI target manual), but not Flash programming. However you can integrate Prog12s, which can be used to perform flash programming through SDI, into the MCUez shell configuration to develop one integrated development environment. Please see the read-me file from the Prog12 package distribution package for how to integrate Prog12s to MCUez. G (3) 7. CUSTOMER SUPPORT For the latest product information, bug lists, revision numbers, library source code, and free programs, go to our website at http://www.mcu.motsps.com. Select the FTP File Server icon at the bottom of the web page. 8 M68MCUEZSW/D REV 2

M68MCUezSW/D REV 2 9