- Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board Designer Reference Manual

Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board DRM045
MOTOROLA System Testing 25
Designer Reference Manual — DRM045
Section 6. System Testing
6.1 Introduction
This section will first explain how to program the control program into FLASH
memory of the MC68HC908QT2 microcontroller. It will then, in detail, provide
functional testing of both hardware and user software for the ASB520 infrared
remote control reference design.
6.2 Hardware/Software Testing Summary
Because the PC board has minimal user interface, hardware testing will be
performed in stages.
First the control program will be programmed into the
MC68HC908QT2’s FLASH memory.
The keyboard and red LED will be tested next.
Finally, the ASB520 PC board will be used to control a DVD.
6.3 FLASH Programming
The following steps are used to initially program the MC68HC908QT2:
1. If installed, remove the batteries from the battery holder located on the
bottom of the PC board
2. Remove jumpers JP1–JP4.
3. Connect the P&E Microcomputer Systems, Inc. MON08 Cyclone’s
ribbon cable from the programmer to J1, noting the location of pin 1 on
J1.
Follow the P&E Microcomputer Systems, Inc. instructions to program the
MC68HC908QT2, with the remote control program file. The file name to
program into the device is ASB520.S19.
After FLASH programming is complete, disconnect the Cyclone’s ribbon cable
connected to J1 of the ASB520 PC board.
In a production environment, the Cyclone Programmer can be setup so that a
single press of a button will initiate an automatic programming operation. The
Application Program would be pre-loaded into nonvolatile memory in the
Cyclone and no PC would need to be present during production programming.
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...