AN2295 Freescale Semiconductor / Motorola, AN2295 Datasheet - Page 10

no-image

AN2295

Manufacturer Part Number
AN2295
Description
Developers Serial Bootloader for M68HC08 and HCS08 MCUs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
FC Protocol Description
FC Protocol Version 1 (M68HC08)
FC Protocol Version 2 (HCS08) & FC Protocol Version 3 (large M68HC08)
10
Version 1 of the protocol is for M68HC08 MCUs. In version 1, additional fields are defined as:
Version 2 of the protocol is for HCS08 MCUs, version 3 is for large M68HC08 (HC08 with two or more
Flash memory banks). In both versions, additional fields are defined as:
PC TO MCU COMMAND
MCU TO PC RESPONSE
I ($49)
Start address of reprogrammable memory area — 2 bytes
End address of reprogrammable memory area + 1 — 2 bytes
Address of
Start address of MCU interrupt vector table — 2 bytes
Length of MCU erase block — 2 bytes
Length of MCU write block — 2 bytes
Bootloader data (specific bootloader info, see device-specific implementation; compared in
Table
Identification string, zero terminated — <n> bytes
System device Identification register content — 2 bytes (unused in protocol version 3, coded as
$FFFF)
Number of reprogrammable memory areas (N) — 1 byte
Start address of reprogrammable memory area #1 — 2 bytes
End address of reprogrammable memory area #1 + 1 — 2 bytes
Start address of reprogrammable memory area #2 — 2 bytes
End address of reprogrammable memory area #2 + 1 — 2 bytes
...
Start address of reprogrammable memory area #N — 2 bytes
End address of reprogrammable memory area #N + 1 — 2 bytes
Address of relocated interrupt vector table — 2 bytes
Start address of MCU interrupt vector table — 2 bytes
Length of MCU erase block — 2 bytes
Length of MCU write block — 2 bytes
Identification string, zero terminated — <n> bytes
2) — 8 bytes
VERSION
CAPS.
AND
Bootloader User Table
Figure 8. Ident Command (FC Protocol Version 1, M68HC08)
START
Developer’s Serial Bootloader for M68HC08 and HCS08 MCUs, Rev. 6
MEM
MEM
END
BOOTLOADER
USER TABLE
— 2 bytes
VECTOR TABLE
INTERRUPT
BLOCK SIZE
ERASE
BLOCK SIZE
WRITE
BOOTLOADER
DATA
Freescale Semiconductor
ID STRING
0

Related parts for AN2295