<!-- Canonical page: https://reversedwithai.com/p/nikon-z-6ii-177d6608 -->
Canonical page: https://reversedwithai.com/p/nikon-z-6ii-177d6608

# Reverse engineering the Nikon Z 6II with LLMs

> Emulating Nikon Z 6II hardware to enable custom code execution

The author used agentic LLMs to build an emulator for the Nikon Z 6II camera, enabling the execution of custom code, including a port of Doom, by reverse engineering the firmware and hardware peripherals.

## Key facts

- Target: Nikon Z 6II
- Category: Firmware and hardware
- Platform: Nikon Z 6II
- Models: Claude
- Tools: qemu-expeed, Docker, cloc
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Arne Baeyens
- Added: 2026-11-26
- Updated: 2026-11-26
- Sources reviewed: 2026-11-28 (editor)

## What was done

The author reverse engineered the Nikon Z 6II camera by developing an emulator to replicate the device hardware. Rather than physical probing, which the author deemed incompatible with agentic LLMs, the project focused on creating a software environment where the emulator could be iteratively improved. The author utilized a read-RAM-over-PTP protocol to access internal camera states and peripheral registers, allowing for comparison between the physical device and the emulated machine. This process identified hardware components including two Cortex-A7 cores and an ARM926 coprocessor. The author supplemented this with public information from Socionext SoC datasheets and Linux kernel source code from other manufacturers to map peripherals like SPI, I2C, and PCIe. The project successfully achieved camera boot-up and enabled the execution of custom code, specifically a port of Doom. The author notes that the emulator-only approach has limits, as certain hardware accelerators and peripherals remain difficult to identify or emulate accurately. The author reports that the LLM-generated documentation often contained redundant or low-quality explanations, which the author refers to as ClaudeSplain. [Reverse engineering the Nikon Z 6II with LLMs](https://arnebaeyens.com/blog/2026/reverse-engineering-with-llms/)

## Human work and limitations

The project demonstrates the use of agentic LLMs in a reverse engineering workflow, specifically for firmware emulation. The author emphasizes that the emulator-only approach was chosen to facilitate LLM interaction, despite the limitations in identifying all hardware components.

## Sources

- [Write-up](https://arnebaeyens.com/blog/2026/reverse-engineering-with-llms)
- [Discussion](https://news.ycombinator.com/item?id=50645246)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Arne Baeyens (2026). Reverse engineering the Nikon Z 6II with LLMs. Reversed with AI. https://reversedwithai.com/p/nikon-z-6ii-177d6608
