CMB2114RG/D
REV 1
SEMICONDUCTOR PRODUCT INFORMATION
Semiconductor Products Sector
Prod uct Rele ase Guide
Motorola CMB2114
1 Overview
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 embedd ed in an MMC 2114 m icrocont roller 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 l oader and the Picobug monitor. The GNU source-level
debugger also come s with your CMB2114.
The SysDS loader lets you download your code into SRAM (for execution) or into external o r
internal FLASH memory (for execution or for storage in non-volatile memory).
The CMB2114 will combine easily with ot her, 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 CMB211 4 user’s manual. For
additional information about the entire family of M•CORE produc ts, visit the web site
http://www.mot.com/SPS/MCORE/.
2 System Requirements
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
Hyperterm inal or a com parable 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 CMB21 14 needs : 12 volts at a minimum of 0.5 ampere s.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
CMB2114R G/ D REV 1 M•CORE
2MOTOROLA
3 CMB2114 Software
The factory ships your CMB2114 with system software already downloaded into FLASH memory.
This means that you immedi ately can use the Picobug m onitor to debug your code.
The CD-ROM that comes with your CM B2114 c ontains suc h additional software as GNU
source-level tools and SysDS . Still m ore com patible develo pme nt 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 Installin g Software
Follow these steps to instal l software for your CMB 2114:
1. Install the GNU tools.
a. Insert the MMC2114 CD-ROM into your CD-ROM drive.
b. Navigate to the foll owing directory on the CD-ROM: Dev_Sys\GNU_Tools. Th is
directory contains the setup.exe fil e .
c. Double-click the setup.exe f ile. The GNU tools installation program starts.
d. Follow the on-screen instructions provided by the setup program and compl ete 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-chi p
versions of the SysDS Loader, respectively.
b. Copy the OnBoard_Flash_Loader and OnChip_Flash_Loader directories to a
suitable location on your computer.
NOTE: 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 Man ual. The on-chip Motorola SysDS Loader Version 1.2 is a
faster version. During download, it does not pe rform blank check and erase functions. This
improves the download sp eed.
5 Installing the Patch for CodeWarrior fo r 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 c om piler plugin, CodeWarrior stationary, sample
programs, and Motorola SysDS Loader. To install the patch:
1. Navigate to the Patch_for_CodeWarrior_for_MCore R2.0 directo ry in the root
directory of the MMC2114 CD-R OM .
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M•CORE CMB21 14RG/D REV 1
MOTOROLA 3
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 direct ory. 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.
6 Factor y Hin ts
1. The first production lot o f CMB2114 assembli es 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 c locking limitation has an
MMC21 14 marked with date code “HECC0205“ on it. For these CM B’s, the only clocking
modes that can be used are Normal PLL with Ex ternal Clock Referenc e 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 s ome of the features of
the MMC2114 th at has been changed from the M M C 2107 .
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 t he EPORT’s INT0 vector, so it
was not necessary to change any of the library f unctions for the Interrupt Controller
(ITCN) or its accompany ing driver (ITCN_B). However, t he drivers for the Res et
Controller (Reset_A) do not ac curately reflect the change in stru cture 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 dat a direction, but does
not allow for th e setting of PORTQB’s data direction. This port was changed to allow
for both input or output configuration on the MMC21 14, 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. Secu rity is enabled by having
the value $0000000 B programm ed in the 4-byte Security Word field (at $228-$22B) in the
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
CMB2114R G/ D REV 1 M•CORE
4MOTOROLA
FLASH’s Configuration Field. The content of the Security Word gets loaded into the SGFM
Security Register (SGFMSEC) at reset, and if this l oad operation results in the value $000B
loaded into the SEC[15:0] field of S GFM SEC, 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 bounda ry scan feature is still usable. On a secured de vice, the o nly
way to recover from this lockout is to perform a lockout recovery sequence which begins by
clocking a JTAG public instruction called LOCKOUT _RECOV E RY 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 accessib le, and device ope ration is unrestricted. The
details of FLASH security are outlined in the Security appendix of the MMC2114/D Advance
Information Guid e.
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 loc k the FLASH on the CMB2114 by program ming 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 restrict ed at best. Firmware in t he 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 “Micr ocontrollers” and navigate to the M·Core
MMC21 14 page. From here select the “MMC14E BDI02” link under “Developmen t Tools”.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
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 dam age ca us ed by errors or omiss ions or by statement s 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 furt her assumes no liability ari sing 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 ri ghts, nor do the descriptions contained herein imply the granting or license
to make, use or sell equipment constructed in accordance with this description.
The M otorola nam e and logo are registered tradem arks of Motorola, In c. ; M•CO RE a nd OnCE are tr ademarks of
Motorola, Inc. Other trademarks belong to their respective owners.
© Motorola, In c. 2002; ALL RIGHTS RESERVED
SEMICONDUCTOR PRODUCT INFORMATION
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
CMB2114R G/ D REV 1 M•CORE
6MOTOROLA
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...