AN2504 Freescale Semiconductor / Motorola, AN2504 Datasheet - Page 6

no-image

AN2504

Manufacturer Part Number
AN2504
Description
On-Chip FLASH Programming API for CodeWarrior Software
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2504/D
Hardware Needed for Communication
FLASH-Programming API
6
2
3
5
1 µF
1 µF
DB9
On-Chip FLASH Programming API for CodeWarrior Software
+
+
The API functions that provide serial communication need external hardware to
couple with RS-232 standards. The hardware is very simple, and it is the same
as described in the monitor ROM section of the data sheet.
Figure 1
communication port is PTB0.
Before using API functions the user must provide the following information:
If no MCU is defined, the API will use the MCU68HC908JL3 as the default.
7
8
1
3
4
5
1. MCU used — The MCU used must be defined before including the API.
C1+
C1–
C2+
C2–
Freescale Semiconductor, Inc.
For More Information On This Product,
The definition must be one of the following:
#define MCU68HC908JL3
#define MCU68HC908KX8
#define MCU68HC908GR8
#define MCU68HC908JB
Figure 1. Communication Hardware
MAX232
shows a schematic of the hardware for a MC68HC908JL3 where the
Go to: www.freescale.com
V+
V–
16
15
2
10
6
1 µF
9
V
DD
+
+
1 µF
2
74HC125
1
+
3
1 µF
74HC125
6
4
10 kΩ
5
V
DD
V
DD
OSC1
OSC2
PTB3
PTB0
PTB1
PTB2
MOTOROLA

Related parts for AN2504