AN2818 Freescale Semiconductor / Motorola, AN2818 Datasheet - Page 5

no-image

AN2818

Manufacturer Part Number
AN2818
Description
Romeo2 Monitor for the MC68HC908AP64 MCU
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Programming Romeo2 Monitor into the MC68HC908AP64 MCU
If the Romeo2 monitor program has already been programmed into the MC68HC908AP64 Demo Board,
the user can begin to use the monitor (see section 'Using The Software). Otherwise, the user must follow
the programming procedure described below.
Freescale Semiconductor
10. Unzip file Romeo2AP64MonProg.zip, which is contained within AN2818SW.zip. This unzips a
11. Start CodeWarrior (Start menu->MetroWerks->CodeWarrior->CodeWarrior IDE).
12. Select File->Open and open the file Romeo2AP64MonProg.mcp. This opens a CodeWarrior
13. In CodeWarrior, click on file 'Romeo2AP64MonProg in the Target window. Then press key F5 or
1. Install power select (PWR_SEL) jumpers 1 and 2 on the MC68HC908AP64 Demo Board.
2. Install VST_EN jumper.
3. Install MON_EN jumper.
4. Select setting DEBUG on COM_SEL header.
5. Install jumper across pins 1 and 2 of header OSC_SEL.
6. Install all USER_EN jumpers.
7. Connect the serial port connector on the MC68HC908AP64 Demo Board to a PC comm. port using
8. Connect a 9V power supply or battery to the power connector on the MC68HC908AP64 board.
9. Install CodeWarrior.
a 9-pin straight-through serial cable.
CodeWarrior project containing the programming file for the monitor.
project.
select Project->Debug from menu bar. This launches the debugger, which communicates with the
MC68HC908AP64 Demo Board and attempts to burn the Romeo2 monitor program into FLASH
memory on the MCU. The “Attempting to contact target and pass security…” window should
appear. Please make sure the following options are configured correctly.
a.
b.
c.
Target Hardware Type: Class 3
Serial Port: 1 (Depends on the PC COM Port)
Baud: 9600 Baud
You must have a copy of the CodeWarrior development tool for HC(S)08
installed. A copy of CodeWarrior is supplied with the MC68HC908AP64
Demo Board. Please follow the instructions supplied with the demo board
to install CodeWarrior.
This project does not contain any source code. If you wish to read or modify
the Romeo2 monitor source code, you should unzip
fileRomeo2AP64MonSource.zip (contained in file AN2818SW.zip). To
modify this code, you require a full license for CodeWarrior, which can be
purchased from www.metrowerks.com, or your local Freescale or
MetroWerks representative.
Romeo2 Monitor for the MC68HC908AP64 MCU, Rev. 0
NOTE
NOTE
Programming Romeo2 Monitor into the MC68HC908AP64 MCU
5

Related parts for AN2818