Skip to content

Files on the Device

Val edited this page Nov 19, 2026 · 11 revisions

OpenOSC keeps all its files on the device's 16 MiB external Flash, in a FAT file system, under /openosc. The microcontroller's internal Flash holds only the firmware. Open Recovery to see the storage as a USB drive on a computer.

Folder Contents
UPDATE/ Firmware files (.OSC) waiting to be installed by Recovery
SETTINGS/ settings.json: all settings; boot.json: startup safety record
SETCOPY/ A copy of settings.json, written when the settings are saved
UI/ theme.json and its icons
CALIBRATION/ Your oscilloscope corrections (Calibration)
SCREENSHOTS/ SCRnnnnn.BMP
CAPTURES/ CAPnnnnn.RAW / .CSV waveforms
LOGS/ DMMnnnnn.CSV multimeter logs
DECODE/ DECnnnnn.CSV decoded events
BACKUP/ The boot block backup made in Recovery

Editing JSON files

settings.json and theme.json are plain JSON and can be edited on a computer. After copying them back, use Settings → Files & USB → Reload settings JSON or Display → Appearance → Reload theme JSON, or restart.

  • Missing keys get their default values.
  • Settings and the theme are saved when you switch the device off, restart it or enter Recovery.
  • A damaged settings.json is renamed to .bad. OpenOSC then loads its previous version, the copy in SETCOPY/ or that copy's previous version, and uses defaults only when none of them is valid. A storage error stops the load, and the file stays as it is.
  • A damaged theme.json is renamed to .bad and replaced with defaults.
  • OpenOSC keeps recent writes in a 4 KiB RAM cache and writes them out on an orderly power-off, when a file is closed and after a quiet period. Data files (.RAW, .CSV, multimeter logs) keep their .TMP name after a write error; the multimeter log is synced every 60 s.
  • Writes are atomic: the previous version is kept as *.previous.json until the new one is complete.

If the file system is damaged

Recovery can check and repair FAT (CHECK / REPAIR FAT) and, as a last resort, format the storage (FORMAT EXTERNAL DISK, which deletes all files including your calibration files).

Clone this wiki locally