OM Firmware Atlas

AtlasFor developersProjects and tools

In For developers

Ghidra MN103 processor module

Read MN103 camera firmware in Ghidra, with the decompiler.

Type: tool · Camera details: OM-D E-M5 Mark III, OM-5, OM-5 Mark II, PEN-F, PEN E-P7 · Maintained by nsud-dev

Cameras

OM-D E-M5 Mark III

For this camera: A tool; it does not change the camera. Covers this camera for: 5 features, including MN103 disassembly and decompiler, Pointer-register calling convention and Firmware sections and register names.

Get it: Install and use

Mods and installation · Test results

Original OM-5

For this camera: A tool; it does not change the camera. Covers this camera for: 4 features, including MN103 disassembly and decompiler, Pointer-register calling convention and Firmware sections and register names.

Get it: Install and use

Mods and installation · Test results

OM-5 Mark II

For this camera: A tool; it does not change the camera. Covers this camera for: MN103 disassembly and decompiler (released), Pointer-register calling convention (released), Import for other bodies (released).

Get it: Install and use

Mods and installation · Test results

PEN-F

For this camera: A tool; it does not change the camera. Covers this camera for: MN103 disassembly and decompiler (released), Pointer-register calling convention (released).

Get it: Install and use

Mods and installation · Test results

PEN E-P7

For this camera: A tool; it does not change the camera. Covers this camera for: MN103 disassembly and decompiler (released), Pointer-register calling convention (released).

Get it: Install and use

Mods and installation · Test results

About

A Ghidra processor module for the Panasonic MN103 family (MN10300, AM33, AM33-2), language ID MN103:LE:32:AM33-2. Disassembly matches GNU objdump instruction for instruction; the SLEIGH spec is generated from the binutils opcode table.

The decompiler handles caller-built call frames and hardware loops. Its helper scripts load symbols, recover switch tables and batch-decompile. Upstream reports testing with Ghidra 11.4.2 on Java 21 and Ghidra 12.2 on Java 25.

Since 2026-11-24 the import splits the main block into the boot part and sections 1 to 10 from the firmware's own section table, adds the uncached view at 0xa0000000, and names peripheral registers. The display controller names are read from the user's own firmware, so the module ships none. Other bodies import from their main block image.

Features

As the project describes them. Status is the project's own; linked evidence is the Atlas's record of what was reported or observed.

MN103 disassembly and decompiler Available

SLEIGH module with call-frame, loop and calling-convention support, plus helper scripts.

OM-D E-M5 Mark III, OM-5, OM-5 Mark II, PEN-F, PEN E-P7

Pointer-register calling convention Available

The optional ptrregs compiler spec places typed pointer arguments in the MN103 address registers. Upstream CI checks argument placement. The maintainer reports the same final decompilation check counts with Ghidra 11.4.2 and 12.2. A script switches an open program between the two specs without reimporting.

OM-D E-M5 Mark III, OM-5, OM-5 Mark II, PEN-F, PEN E-P7

Firmware sections and register names Available

The import splits the main block into the boot part and sections 1 to 10, read from the firmware's own section table, and adds the uncached view. It names the power block, debug serial port, lock bits, doorbells, pads and shared memory, and the 422 display controller registers from the firmware's own name table.

OM-D E-M5 Mark III, OM-5

Lens record structure Available

A script builds the lens record structure from a field-map CSV and applies it to the lens record pointer and its getter. The CSV is not published; the field offsets are on the notes' lens communication page.

OM-D E-M5 Mark III

Import for other bodies Available

Imports a main block image from any body at the shared base address, with a program name. Bodies with compressed sections, such as the OM-5, need the expanded image. Sections and display controller names were also checked on the OM-5 II 1.1.

OM-D E-M5 Mark III, OM-5, OM-5 Mark II

Oly Firmware Notes and Mods (E-M5 Mark III). These links do not assign ownership or imply identical implementations.

Research notes

Built and checked against E-M5 III 1.7 block 0, with the import steps also run on OM-5 1.2. The processor module is not camera-specific; it applies to any body whose main CPU is MN103 (AM33-2).

Sources and record

Canonical record · Substantively reviewed: 2026-11-29.


View this page's source