{
  "api_version": "1.0.0",
  "slug": "nikon-z-6ii-177d6608",
  "url": "https://reversedwithai.com/p/nikon-z-6ii-177d6608",
  "markdown_url": "https://reversedwithai.com/p/nikon-z-6ii-177d6608.md",
  "json_url": "https://reversedwithai.com/p/nikon-z-6ii-177d6608.json",
  "title": "Reverse engineering the Nikon Z 6II with LLMs",
  "tagline": "Emulating Nikon Z 6II hardware to enable custom code execution",
  "summary": "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.",
  "target": {
    "name": "Nikon Z 6II",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "Nikon Z 6II",
  "models": [
    "Claude"
  ],
  "tools": [
    "qemu-expeed",
    "Docker",
    "cloc"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Arne Baeyens",
    "url": null
  },
  "sources": {
    "repository": null,
    "writeup": "https://arnebaeyens.com/blog/2026/reverse-engineering-with-llms",
    "discussions": [
      "https://news.ycombinator.com/item?id=50645246"
    ],
    "all": [
      "https://arnebaeyens.com/blog/2026/reverse-engineering-with-llms",
      "https://news.ycombinator.com/item?id=50645246"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/curation/177d6608-3c01-4127-8786-aa0ca353258c.webp",
    "credit": "Source: arnebaeyens.com"
  },
  "commit_history": null,
  "added_at": "2026-11-26T04:01:04.192788+00:00",
  "updated_at": "2026-11-26T04:01:04.192788+00:00",
  "sources_reviewed_at": "2026-11-28T09:46:32.041044+00:00",
  "reviewed_by": "editor",
  "human_notes": "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.",
  "reproduce": null,
  "body_md": "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/)",
  "ai_use_excerpts": null
}
