Motorola M68HC08 Informations techniques

Naviguer en ligne ou télécharger Informations techniques pour PC/postes de travail Motorola M68HC08. Motorola M68HC08 Technical information Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 28
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
© Motorola, Inc., 2002
AN2317/D
Rev. 1, 10/2002
Low-Cost Programming and
Debugging Options for
M68HC08 MCUs
Application Note
By: John Suchyta
Applications Engineering
8/16-Bit Products Division
Introduction
This application note describes several low-cost ways to get a target
M68HC908 microcontroller (MCU) into monitor mode for the purposes of
programming FLASH memory, reprogramming, and debugging. In most cases
an external connector is used to bring the necessary signals from a host
computer to the M68HC908 mounted on the target board. The size and type of
external connector can be tailored to the needs of the application.
Considerations for successful implementation of the monitor mode interface in
a production product are discussed. This application note applies to all
FLASH-based M68HC08 MCUs in general, and to the MC68HC908QY/QT
Family in two particular examples. Note that “FLASH-based M68HC08” and
“M68HC908” are synonymous in this document.
Commercial products, such as Motorola’s line of in-circuit simulator (ICS) kits
and the MON08-Cyclone and MON08-Multilink from P&E Microcomputer
Systems, are available to provide the external connector (typically called the
MON08 interface) and software to develop an application. These products are
recommended for many users, but low-cost alternatives are also available.
These alternatives can be used with several free or low-cost software
packages to develop and program an application.
Commercial products that gang program FLASH MCUs before they are
installed on a printed circuit board are not discussed here since the topic of this
document concerns in-circuit programming. However, commercial
programmers should be considered when the physical means to program in a
production environment are not available.
Freescale Semiconductor, I
For More Information On This Product,
Go to: www.freescale.com
nc
.
..
Freescale Semiconductor
© Freescale Semiconductor, Inc., 2004. All rights reserved.
Vue de la page 0
1 2 3 4 5 6 ... 27 28

Résumé du contenu

Page 1 - Freescale Semiconductor, I

© Motorola, Inc., 2002AN2317/DRev. 1, 10/2002Low-Cost Programming and Debugging Options for M68HC08 MCUsApplication NoteBy: John SuchytaApplications E

Page 2

AN2317/D10 Low-Cost Programming and Debugging Options for M68HC08 MCUsSimpler Monitor Mode CircuitA simpler implementation of the monitor mode circuit

Page 3

AN2317/DMON08 PodsLow-Cost Programming and Debugging Options for M68HC08 MCUs 11Oscillator Circuits Figure 6 shows two ways to supply the external osc

Page 4

AN2317/D12 Low-Cost Programming and Debugging Options for M68HC08 MCUsVTST Generation The MAX232 shown in Figure 4 and Figure 5 can be used to supply

Page 5

AN2317/DMON08 PodsLow-Cost Programming and Debugging Options for M68HC08 MCUs 13Figure 7. Low-Cost MON08 InterfaceP1162738495DB9NCNCNCVSSNCNCVSSVCCNCN

Page 6

AN2317/D14 Low-Cost Programming and Debugging Options for M68HC08 MCUsUser Monitor Mode Implementation The evaluation board shown in Figure 8 was buil

Page 7

AN2317/DMON08 Connections on a Target BoardLow-Cost Programming and Debugging Options for M68HC08 MCUs 15MON08 Connections on a Target BoardA target-p

Page 8

AN2317/D16 Low-Cost Programming and Debugging Options for M68HC08 MCUsHere are some suggestions on how to configure I/O pins for monitor mode entry:Hi

Page 9

AN2317/DMON08 Connections on a Target BoardLow-Cost Programming and Debugging Options for M68HC08 MCUs 17OSC/OSC1 The OSC signal is always applied to

Page 10

AN2317/D18 Low-Cost Programming and Debugging Options for M68HC08 MCUsLow-Cost MON08 SoftwareFree or low-cost software options for programming and deb

Page 11

AN2317/DLow-Cost MON08 SoftwareLow-Cost Programming and Debugging Options for M68HC08 MCUs 19PROG08SZ Programming the FLASH on an M68HC908 is relative

Page 12

AN2317/D2 Low-Cost Programming and Debugging Options for M68HC08 MCUsWhat is Monitor Mode?Monitor mode was developed as a feature of the M68HC08 MCU a

Page 13

AN2317/D20 Low-Cost Programming and Debugging Options for M68HC08 MCUsHere are the main steps in programming the FLASH with PROG08SZ in normal monitor

Page 14

AN2317/DLow-Cost MON08 SoftwareLow-Cost Programming and Debugging Options for M68HC08 MCUs 21Figure 12. P&E’s PROG08SZ Programmer Window Free

Page 15

AN2317/D22 Low-Cost Programming and Debugging Options for M68HC08 MCUsICD08SZ Getting into the ICD08SZ debugger is even simpler. With a MON08 interfac

Page 16

AN2317/DLow-Cost MON08 SoftwareLow-Cost Programming and Debugging Options for M68HC08 MCUs 23a great bargain for serious programmers. This powerful to

Page 17

AN2317/D24 Low-Cost Programming and Debugging Options for M68HC08 MCUs2. Click the + sign to expand the Sources folder.3. Modify the source file if ne

Page 18

AN2317/DLow-Cost MON08 SoftwareLow-Cost Programming and Debugging Options for M68HC08 MCUs 255. Select the PEDebug pulldown menu and navigate to the a

Page 19

AN2317/D26 Low-Cost Programming and Debugging Options for M68HC08 MCUsThe PROG08SZ Attempting to contact target and pass security… window appears. (Re

Page 20

AN2317/DConclusionLow-Cost Programming and Debugging Options for M68HC08 MCUs 27ConclusionSeveral aspects must be considered when implementing in-circ

Page 21

AN2317/DRev. 110/2002 Freescale Semiconductor, I Freescale Semiconductor, Inc.For More Information

Page 22

AN2317/DMonitor Mode SignalsLow-Cost Programming and Debugging Options for M68HC08 MCUs 3Monitor Mode SignalsThe physical monitor mode interface uses

Page 23

AN2317/D4 Low-Cost Programming and Debugging Options for M68HC08 MCUsMOD1, MOD0 The mode select pins must be at their prescribed levels if the VTST vo

Page 24

AN2317/DMON08 PodsLow-Cost Programming and Debugging Options for M68HC08 MCUs 5MON08 PodsThe hardware that connects a PC and the target board ranges f

Page 25

AN2317/D6 Low-Cost Programming and Debugging Options for M68HC08 MCUsThe MON08 connector pinout for one MCU may not match the pinout for another due t

Page 26

AN2317/DMON08 PodsLow-Cost Programming and Debugging Options for M68HC08 MCUs 7Figure 2. Cyclone Programmer (Class V) Window Showing MON08 PinoutMON08

Page 27

AN2317/D8 Low-Cost Programming and Debugging Options for M68HC08 MCUsCustom MON08 InterfacesAs mentioned above, monitor mode entry conditions can be i

Page 28

AN2317/DMON08 PodsLow-Cost Programming and Debugging Options for M68HC08 MCUs 9Figure 4. Normal Monitor Mode Circuit10 k10 k10 k10 kRSTIRQPTA0OSC11615

Commentaires sur ces manuels

Pas de commentaire