NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
HC05/08 M68EML08XL36 08XL36 708XL36 M68EM08AZ0 M68EM08MP16 708MP16 M68EM08LN56 - Datasheet Archive
Freescale Semiconductor, Inc. MCUezSW0508/D FEBRUARY 1998 SOFTWARE RELEASE GUIDE FOR THE MOTOROLA MCUezTM MMDS OR MMEVS TM
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc. MCUezSW0508/D FEBRUARY 1998 SOFTWARE RELEASE GUIDE FOR THE MOTOROLA MCUezTM MMDS OR MMEVS TM HC05/08 HC05/08 SOFTWARE APPLICATION PACKAGE ©MOTOROLA Inc., 1997-1998 All Rights Reserved Important Notice to Users 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. MCUezTM 1997-1998; All Rights Reserved. Motorola Inc. is an Equal Opportunity/Affirmative Action Employer. For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Freescale Semiconductor, Inc. MCUez HC05/08 HC05/08 Software Release Guide ii For More Information On This Product, Go to: www.freescale.com MCUezSW0508/D REV 1 Freescale Semiconductor, Inc. MCUez HC05/08 HC05/08 Software Release Guide Table of Contents 1. OVERVIEW .1 1.2 Supported Devices .1 Freescale Semiconductor, Inc. 2. EQUIPMENT REQUIRED .2 3. LOADING SOFTWARE .2 4. SOFTWARE FILES .3 5. HINTS & WORKAROUNDS.3 5.1 Shell .3 5.2 Assembler.4 5.3 Linker Limitations .4 5.4 Debugger.4 5.5 C Source-Level Debugging.6 5.6 Converting P&E Commands to MCUez Commands .6 6. TRANSLATE P&E HC05 ASSEMBLY CODES TO MCUez.7 7. CUSTOMER SUPPORT .7 MCUezSW0508/D REV1 For More Information On This Product, Go to: www.freescale.com iii Freescale Semiconductor, Inc. Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. MCUez HC05/08Software Release Guide 1. OVERVIEW Freescale Semiconductor, Inc. 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 MMDS and MMEVS with HC05/08 HC05/08 devices, and describes workarounds for identified software bugs. 1.2 Supported Devices The following HC05/08 HC05/08 devices are supported in this MCUez release. · HC08 Devices § M68EML08XL36 M68EML08XL36:08XL36 08XL36, 708XL36 708XL36 § M68EM08AZ0 M68EM08AZ0:08AZ & AB (0, 16, 24, 32), AT60 § M68EM08MP16 M68EM08MP16: 708MP16 708MP16 § M68EM08LN56 M68EM08LN56: 708LN56 708LN56, LN56 · HC05 Devices § M68EM05B32 M68EM05B32: B4, B6, B8, B16, 705B5 705B5, 705B16 705B16, 705B32 705B32 § M68EM05CA M68EM05CA: C4, C4A, C8A, C9A, 705C8A 705C8A, 705C9A 705C9A § M68EMP9 M68EMP9: P1, P4, P9, 705P9 705P9. P7, P6 § M68EML05P6A M68EML05P6A: P1A, P4A, P9A, 705P6A 705P6A § M68EM05P18 M68EM05P18: P18, 805P18 805P18 § M68EM05K3 M68EM05K3: K1, K3, 805K3 805K3 § M68EM05MC4 M68EM05MC4: 705MC4 705MC4 § M68EM05J1A M68EM05J1A: J1A, 705J1A 705J1A, 705KJ1 705KJ1 § M68EM05JP7 M68EM05JP7: 705JP7 705JP7, 705JJ7 705JJ7, JJ6, JP6 § M68EML05L16 M68EML05L16: 05L5, L16, 705L5 705L5, 705L16 705L16 For any updated MEM files, Register files, and personality files, please visit our customer support Web site at http://www.mcu.motsps.com. MCUezSW0508/D REV 1 For More Information On This Product, Go to: www.freescale.com 1 Freescale Semiconductor, Inc. MCUez HC05/08 HC05/08 Software Release Guide 2. EQUIPMENT REQUIRED To use the MCUez application you must have: An IBM PC or compatible computer using either WIN95 WIN95 or Windows NT. The computer must have a serial port for communication. · Freescale Semiconductor, Inc. · An HC08/05-based target system: modular platform board (MMDS or MMEVS), Serial cable, power supply, and M68HC08/05-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 one or more targets for each installation cycle. In addition, you can download the MCUez software or install it from our Web site at http://www.mcu.motsps.com/mcuez. 2 For More Information On This Product, Go to: www.freescale.com MCUezSW0508/D REV 1 Freescale Semiconductor, Inc. MCUez HC05/08Software Release Guide 4. SOFTWARE FILES The following table lists the files that make up the MCUez software application. MCUez Software Files Filename Description Freescale Semiconductor, Inc. DEMO Contains examples of assembly files. PROG Contains executable files as well as the required DLLs and the /Reg subdirectory for the register files. LIB Contains the ANSI C library files. Applicable only when you have installed the Hiware C Compiler package. MCUTOOLS.INI Contains MCUez general configuration information MDSELIB.INI Contains Motorola general configuration information MFC40 MFC40.DLL, MSVCRT40 MSVCRT40.DLL Contains Microsoft foundation class library functions used by the MCUez executables. 5. HINTS & WORKAROUNDS 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 enable you to install different MCU family development Tools at different times 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 HC05 applications, you need to switch the default project directory to .\MCUez05\Demo\WMMDS05A WMMDS05A in the shell configuration. Click the "Open" button in the configuration dialog and change the default directory to .\MCUez05\Demo\WMMDS05A WMMDS05A. The icons that now appear on the shell tool bar will link to all appropriate applications that are associated with your specific release package. Work-Around - You have to create all the parent subdirectories before you define a new project. MCUezSW0508/D REV 1 For More Information On This Product, Go to: www.freescale.com 3 Freescale Semiconductor, Inc. MCUez HC05/08 HC05/08 Software Release Guide 5.2 Assembler The path to the project directory should not contain a space character, otherwise the assembler will not be able to process the input file correctly. Freescale Semiconductor, Inc. MCUez assembler has been extended with an additional option -Ci (case insensitivity on label). When this option is activated, the assembler is case-insensitive on a label name. MCUez assembler supports "Absolute assembly" as the default. To switch the assembler to support "Relocatable assembly", you can assemble it using -F2 from command line or select "ELF/DWARF Object File" from the output tag in the "Advanced Options" dialog. 5.3 Linker Limitations The path to the project directory should not contain a space character otherwise the linker will not be able to process the input file correctly. 5.4 Debugger he name of MEM files for HC05/08 HC05/08 have been changed from previous MEM files to work with MCUez debugger. For example, the name of the HC708XL36 HC708XL36 is changed from 00411V01 00411V01.mem to 00C11V01 00C11V01.mem. 0x800 is added into the previous MEM file name. C11= 411+ 0x800. Please see the following table for a list of all MEM files correlated to devices. HC05 Devices B4 705B5 705B5 B6 B8 705B16 705B16 705B32 705B32 B16 B4,B5,B6,B8,B16 C4A C8A 705C8A 705C8A C9A 705C9A 705C9A P1 P4 P9 705P9 705P9 P1A P4A P9A 705P6A 705P6A 4 MCUID# 0X0228 0X0228 0X0229 0X0229 0X022A 0X022A 0X022b 0X022C 0X022C 0X022D 0X022D 0X022E 0X022E 0X022F 0X022F 0X0218 0X0218 0X0218 0X0218 0X0219 0X0219 0X021A 0X021A 0X021A 0X021A 0X03FE 0X03FE 0X03FE 0X03FE 0X03FE 0X03FE 0X03FE 0X03FE 0X001F 0X001F 0X001E 0X001E 0X001C 0X001C 0X001D 0X001D MCUez MEMFILE 00A28v01.mem 00A29v01.mem 00A2Av01.mem 00A2bv01.mem 00A2Cv01.mem 00A2Dv01.mem 00A2Ev01.mem 00A2Fv01.mem 00A18v01.mem 00A18v01.mem 00A19v01.mem 00A1Av01.mem 00A1Av01.mem 00bFEv02.mem 00bFEv02.mem 00bFEv02.mem 00bFEv02.mem 0081Fv03.mem 0081Ev01.mem 0081Cv01.mem 0081Dv01.mem P&E MEMFILE 00228v01.mem 00229v01.mem 0022Av01.mem 0022Bv01.mem 0022Cv01.mem 0022Dv01.mem 0022Ev01.mem 0022Fv01.mem 00218v01.mem 00218v01.mem 00219v01.mem 0021Av01.mem 0021Av01.mem 003FEv02.mem 003FEv02.mem 003FEv02.mem 003FEv02.mem 0001Fv03.mem 0001Ev01.mem 0001Cv01.mem 0001Dv01.mem For More Information On This Product, Go to: www.freescale.com MCUezSW0508/D REV 1 Freescale Semiconductor, Inc. MCUez HC05/08Software Release Guide MCUID# 0X0022 0X0022 0X0022 0X0022 0X0014 0X0014 0X0014 0X0014 0X0100 0X0100 0X0100 0X0100 0X002B 0X002B 0X002B 0X002B 0X002B 0X002B 0X002B 0X002B 0X030E 0X030E 0X030E 0X030E 0X030F 0X030F 0X030F 0X030F 0X03FD 0X03FD MCUez MEMFILE 00822v02.mem 00822v02.mem 00814v02.mem 00814v02.mem 00900v01.mem 00900v01.mem 0082bv02.mem 0082bv02.mem 0082bv02.mem 0082bv02.mem 00b0Ev01.mem 00b0Ev01.mem 00b0Fv01.mem 00b0Fv01.mem 00bFDv01.mem P&E MEMFILE 00022v02.mem 00022v02.mem 00014v02.mem 00014v02.mem 00100v01.mem 00100v01.mem 0002bv02.mem 0002bv02.mem 0002bv02.mem 0002bv02.mem 0030Ev01.mem 0030Ev01.mem 0030Fv01.mem 0030Fv01.mem 003FDv01.mem HC08 Devices XL36 MP16 LN56 AZ0 (int) AZ0 (ext) AT60 AZ16 AZ24 AZ32 AB0 (int) AB0 (ext) AB16 AB24 AB32 Freescale Semiconductor, Inc. HC05 DEVICE P18 805P18 805P18 K3 805K3 805K3 J1A 705J1A 705J1A 705JP7 705JP7 705JJ7 705JJ7 JJ6 JP6 05L5 705L5 705L5 L16 705L16 705L16 705MC4 705MC4 MCUID# 0x0411 0x041A 0x041B 0x0634 0x0637 0x0636 0x0638 0x0639 0x063A 0x063B 0x063C 0x063D 0x063E 0x063F MCUez MEMFILE 00C11v02.mem 00C1Av01.mem 00C1Bv01.mem 00E34v04.mem 00E37v03.mem 00E36v05.mem 00E38v02.mem 00E39v02.mem 00E3Av02.mem 00E3Bv02.mem 00E3Cv02.mem 00E3Dv02.mem 00E3Ev02.mem 00E3Fv02.mem P&E MEMFILE 00411v02.mem 0041Av01.mem 0041Bv01.mem 00634v04.mem 00637v03.mem 00636v05.mem 00638v02.mem 00639v02.mem 0063Av02.mem 0063Bv02.mem 0063Cv02.mem 0063Dv02.mem 0063Ev02.mem 0063Fv02.mem The debugger loads a default MEM file to represent multiple devices with the same MCU ID when starting the debugger. But if you need to load a specific MEM file for the device with the same Ids, you can reload that MEM when the debugger in ON, by using the "memory map" dialog from MMDS0805/MMEVS0805 MMDS0805/MMEVS0805 menu bar or using "LOADMAP" command from the command line window. However, the MCU name in the status bar will not be changed by reloading a new MEM file. The MEM files in the tables above are stored in the .\.\PROG\MEM directory. · Hints and Work-Arounds - MEM Files for the MCUez Debugger Ø When you use the command line, the show protocol box in the communication dialog must be unchecked. Ø The Trace Window does not display the instructions correctly. MCUezSW0508/D REV 1 For More Information On This Product, Go to: www.freescale.com 5 Freescale Semiconductor, Inc. MCUez HC05/08 HC05/08 Software Release Guide Ø When recording just events ('events only' sequencer modes) the instructions in the Trace Window will not be displayed correctly. It may even happen that the redrawing of the Trace window will block the debugger. This is due to missing opcode bytes in the trace buffer. Work Around: Do not select 'instruction only' display mode and ignore the column 'instructions' in the 'text' display mode. Freescale Semiconductor, Inc. Ø The EEPROM cannot be accessed by the debugger. If the Real Time memory is enabled and overlaps the EEPROM, the EEPROM reads as the low byte of the address and cannot be written. Work Around: Do not map Real Time memory over the EEPROM. 5.5 C Source-Level Debugging MCUez supports C source level debugging implicitly (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 explicitly (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 debugger commands. P&E Command MCUez Command BF C000 C030 FF BR 200 BS $200 CODE 10300 DASM $10300 EXIT (1) GO 0085 008A BS $008A G $0085 GOTIL 0085 BS $0085 T G LOAD myfile1 6 FILL $C000.$C030 $FF SREC myfile1.s19 For More Information On This Product, Go to: www.freescale.com MCUezSW0508/D REV 1 Freescale Semiconductor, Inc. MCUez HC05/08Software Release Guide P&E Command MCUez Command LOAD myfile2.abs MM.B 0080 10 11 MS $0080 $10 $11 MM.B 0080 10 11 WB $0080 $10 $11 MM.W 0080 2222 1111 WW $0080 $2222 $1111 MM.L 0080 22222222 11111111 Freescale Semiconductor, Inc. LOADALL myfile2 WL $0080 $22222222 $11111111 MD 0080 DB $0080 DW $0080 DL $0080 NOBR BC * RESET RESET (2) STEP 10 T , 10 STEP 0080 10 T $0080, 10 TRACE 200 0085 ARM BS 0085 T G (3) 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) 3. This set of commands only works together with the MMDS emulator. They are not available on MMEVS version. 6. TRANSLATE P&E HC05 ASSEMBLY CODES TO MCUez You can convert P&E HC05 assembly code into MCUez assembly code without rewriting your code. You can integrate the P&E converter into the MCUez shell configuration to develop one integrated development environment. Please see the user manual and the application note from the P&E converter distribution package for detailed information. 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. MCUezSW0508/D REV 1 For More Information On This Product, Go to: www.freescale.com 7 Freescale Semiconductor, Inc. Freescale Semiconductor, Inc. MCUez HC05/08 HC05/08 Software Release Guide 8 For More Information On This Product, Go to: www.freescale.com MCUezSW0508/D REV 1