Repository navigation
Files on the Device
OpenOSC keeps all its files on the device's 16 MiB external Flash (larger chips: Larger NOR 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-XXXXXXXX.BMP screenshots. The viewer also opens older SCRnnnnn.BMP files |
CAPTURES/ |
CAPnnnnn.RAW / .CSV waveforms |
LOGS/ |
DMMnnnnn.CSV multimeter logs |
DECODE/ |
DECnnnnn.CSV decoded events |
FRA/ |
FRAnnnnn.CSV Bode sweeps |
BACKUP/ |
The boot block backup made in Recovery |
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.jsonis renamed to.bad. OpenOSC then loads its previous version, the copy inSETCOPY/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.jsonis renamed to.badand 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.TMPname after a write error; the multimeter log is synced every 60 s. - Writes are atomic: the previous version is kept as
*.previous.jsonuntil the new one is complete.
The oscilloscope shortcuts are in settings.json under scope.keys:
| Key | Values |
|---|---|
auto |
quick, classic
|
f2_hold |
home_view, reset_zoom_pan
|
f4_hold |
cursor_settings, measurements, acquisition, record_memory, interleave_ch1 where available |
For a 10000:1 probe, the selected channel under scope.channels has probe_numerator: 10000 and probe_denominator: 1. The working zoom in theme.json is stored as the ratio of plot.zoom to plot.zoom_out, and the horizontal position as plot.pan_ppb. View changes made only to a held record are temporary.
From 0.21.7, a customized Bode setup is stored under scope.bode in settings.json. Frequency choices are in Hz, with "limit" for the generator's current limit. With no Bode section, OpenOSC uses the default sweep setup. Bode Analyzer
The battery display correction is stored in settings.json as power.battery_gain_permille (−100 to 100) and power.battery_offset_mv (−250 to 250). Both default to 0. display.tooltips_off is a mask of the hidden tooltip categories. A value of 0, the default, shows all categories. The category switches are available in Settings Menu.
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).
OpenOSC is licensed under the GPL-3.0. Found a mistake on this page? Tell us in Discussions.
Getting started
Instruments
Device
- Menu Map
- Settings Menu
- Calibration
- Screenshots and Captures
- Files on the Device
- Performance Profiles
Hardware Mods
PC connection
Help
Contributors