Align structures with 32-bit fields to four bytes¶
Misaligned word access restarted a PEN-F that the emulator had accepted.
Category: hazard · Camera-confirmed
Build: pen-f firmware 3.1, build 3101 · Cameras: Olympus PEN-F
MN103 needs natural alignment for word and halfword access. Strings may need two-byte alignment; structures with u32 fields need four. Check linked addresses explicitly: emulators may not.
What happens: Camera restart on entering COLOR, while the emulator of the time accepted the reads.
Symptoms: Restarts or crashes when a feature runs
Observations¶
- Physical camera (Olympus firmware research): A two-byte-aligned UI style restarted the camera on entering COLOR; four-byte alignment fixed it. Source: Validation reference.
Sources and record¶
Canonical record · Substantively reviewed: 2026-11-18.