Copy PIC24FJ192GA106 Locked MCU Firmware

A lift-controller retrofit firm asked us to copy the locked MCU firmware of its door-zone boards, built on the PIC24FJ192GA106: 192 KB of program flash, 16 KB of SRAM, 64-pin package, up to 16 MIPS, a member of the GA1 generation. Lift-adjacent work carries the strictest discipline of any engagement class we take: the boards are safety-relevant, the evidence standard is absolute, and every claim in this note stays at the technical layer of firmware recovery on the maker’s own authorised units.

Configuration words on a mixed fleet

Fourteen authorised boards came in across two hardware revisions. The ICSP configuration read sorted them immediately: eleven carried boot segment security at the standard mode, leaving the general segment readable; three, the newer revision, used the stronger mode that blacks out both segments. Eleven boards were fully readable, which at 192 KB meant 98,304 instruction words each, and the reads cross-verified row by row into one canonical image per revision. The three stronger-mode boards went to the reconstruction track. Fleet-first scoping of this kind is documented in our chip recovery service service page, and it again determined the whole schedule before any reconstruction began.

The canonical image and its diff

The two revisions differed in a concentrated region: the door-zone timing engine and the communication handler. The diff gave the retrofit firm an answer their own records lacked, namely which behaviour change had shipped in the newer revision and why field reports had shifted. Recovered-image diffing is routine in our the MCU reverse-engineering workflow workflow, but on safety-relevant boards it doubles as an informal audit trail the maker had never had.

Reconstructing the stronger-mode boards

The GA1 generation’s four UARTs and remappable pins gave the newer boards a rich diagnostic surface, and the door-zone firmware’s service mode, reached through the maker’s authorisation, executed region digests and accepted signed images for update. Combined with the canonical images as reference, the three boards’ general segments were reconstructed to row level, and their boot regions were re-derived through the observation-matrix method with synthetic-image validation. The evidence files recorded every input and outcome. Comparable reference-anchored reconstruction appears in the an STM32F407ZET6 clone fleet case and the a dated RX62G order code note.

Verification to the standard the domain demands

Acceptance ran on the maker’s own test rig: reflashed boards against reference boards through the full door-zone timing suite, communication conformance and watchdog behaviour, with zero tolerance for divergence. All boards passed. The delivered package held the canonical images per revision, the per-board provenance table, the reconstructions with evidence, and a mode recommendation: the stronger security mode had locked the maker’s own service organisation out while its update path remained the practical way in, which is the definition of security that costs more than it protects. The binary recovery and an STM32F411VET6 notes record the same recommendation pattern on other fleets.

Evidence discipline on safety-relevant boards

Door-zone work ran under a documentation regime stricter than our standard: every bench session pre-registered with its purpose, every input image hashed before submission, and every outcome recorded against the session log the maker’s quality representative co-signed. The regime slowed the bench by perhaps a fifth and changed the character of the delivery, because every claim in the final report carries a session reference a third party can audit. Safety-relevant recovery is evidence work that happens to produce a binary, and the price is paid in procedure rather than in technique. The maker has since adopted the session-reference format for their own internal test documentation, which is the quietest form of validation a method can receive. The reverse engineering a chip workflow page describes how the regime is structured for engagements that require it.

Watchdog behaviour in verification

The door-zone boards’ watchdog behaviour formed its own acceptance block: forced stall tests confirmed that the recovered firmware serviced the watchdog on the same schedule as the reference boards, and that the recovery path on expiry matched the original’s. Watchdog timing is where replicas most often diverge silently, because the servicing calls scatter through the application rather than concentrating anywhere visible. The divergence tests found none, which the row-verified canonical image had earned, and the watchdog block is now a fixed section of our acceptance suites for safety-adjacent recoveries regardless of family.