Skip to main content
Application NoteNxp

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

Application note for integrating ROM-based USB bootloaders into MC9S08JS16/8 MCUs, covering communication protocols, custom tool development, and flash algorithm reuse.

View application note

Overview

This application note provides detailed technical guidance on utilizing the ROM-based USB bootloader for NXP MC9S08JS16 and MC9S08JS8 microcontrollers. It describes the communication protocol based on vendor-defined USB requests via Endpoint 0, including commands for programming, mass erasing, and CRC checksum verification. The document outlines how to develop custom host-side software using WinUSB or LibUSB drivers and how to parse S-record files. Additionally, it explains how to reuse flash operation algorithms stored in the boot ROM to minimize application code size and facilitate firmware updates across different platforms such as Windows, Linux, or Mac.

Use Cases

  • Developing custom host-side USB bootloader tools
  • In-system firmware programming via USB
  • Reducing application footprint by utilizing ROM-based flash routines
  • Porting MCU update utilities to non-Windows operating systems

Topics

MC9S08JS16
MC9S08JS8
USB bootloader
S-record
WinUSB
Flash algorithm
Endpoint 0
HCS08
Freescale
NXP

Referenced Parts

MC9S08JS16

NXP

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

MC9S08JS8

NXP

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

Integrating the MC9S08JS16/8 USB Bootloader to Your Application | Design Resources