Freescale MC9S08JM60 USB Bootloader Application Note AN3561

Freescale AN3561 describes a USB bootloader for the MC9S08JM60 that enables in-circuit reprogramming of flash memory via USB.


Freescale MC9S08JM60 USB Bootloader Application Note AN3561 - cover page
Brand
Freescale
Category
component datasheet
Document type
Application Note
Language
English
Pages
18
File format
PDF
File size
2.1 MB
Published
30 November, 2026
Updated
30 November, 2026
MD5 checksum
0717E825B22903B8BB01101993ACBC5E

About this manual

This Freescale Semiconductor application note describes a bootloader for the MC9S08JM60 that allows in-circuit reprogramming of the flash memory through a universal serial bus (USB) interface. The MC9S08JM60 is a member of the low-cost, high-performance HCS08 family of 8-bit microcontrollers with 60 KB of embedded flash that can be programmed or erased without special voltage input.

The note covers the bootloader overview, resources, flash memory protection, vector redirection, the software startup process, and a tutorial for implementing the bootloader, including PC driver installation and the PC GUI tool.

What's inside

  • Introduction
  • Bootloader Overview
  • Resources for the Bootloader
  • Flash Memory Protection
  • Vector Redirection
  • Software Startup Process
  • PC Driver and PC GUI Tool
  • Tutorial for Bootloader Implementation
  • Conclusions
  • Example Project

Specifications

Embedded flash memory60 KB
Flash programming time2–3 seconds
Bootloader code sizeless than 1 KB
Bootloader RAM usage70 bytes
Bootloader code address range0xFC00 to 0xFFAF
Bootloader variables address range0x00B0 to 0x00BA
USB clock requirements24 MHz bus clock and 48 MHz reference clock
On-chip regulator supply range3.9 V to 5.5 V
Document number and revisionAN3561 Rev. 1, 05/2008

Frequently asked questions

How long does it take to program the 60 KB flash memory over USB?

The USB speed is fast enough to program 60 KB of flash in 2–3 seconds, faster than a BDM cable.

How much RAM does the bootloader use?

The bootloader uses only 70 bytes of RAM, with 11 bytes for bootloader variables and 59 bytes for flash programming/erasing.

How does the target system enter bootloader mode?

A general-purpose input/output PTG0 is used for mode determination; if PTG0 is high the system enters user mode, otherwise it enters bootloader mode.

Download PDF (2.1 MB)

More Freescale Manuals


View all Freescale manuals →