IT9919 Reverse Engineering

Summary

Dec ??, 2018
Experiments reprogramming the firmware of the IT9919 media processor with flashrom and STM32 Blue Pill boards.

General Info

Firmware Loading

Software

Wiring

Serial Port Pin Blue Pill Pin
GND G
RXD PA9 (TX1)
TXD PA10 (RX1)
3.3V 3.3

Jumpers

  • Boot0 (Outboard): 1
  • Boot1 (Inboard): 0

Reading/Writing Flash

Wiring

23/25/26 Series Pin Blue Pill Pin
1 (CS#) PA4
2 (MISO) PA6
3 (WP#) G for Write Enable, 3.3 for Read-only
4 (GND) G
5 (MOSI) PA7
6 (SCK) PA5
7 (HOLD#) 3.3
8 (VCC) 3.3

Call Graph

Functions are labelled with: address, number of instructions, presence of SMED(IA02) and SMAZ comparisons, and register accesses.