How petteriaimonen/owon-xdm2041-info works
This is a hardware reverse-engineering repository for the Owon XDM2041, intended to gather evidence for future open-source firmware. The principal workflow is to interact with the meter over serial/SCPI, capture its behavior across measurement modes, and annotate protocol traffic; separate tools inspect firmware and calibration bootloader operations. Board schematics, MCU notes, original-firmware material, and boot-recovery notes provide complementary hardware evidence. The source excerpts establish the serial tools and capture annotators, while several broader research areas are represented by their documented directories; edges without direct evidence are omitted.
Main entry points: xdm2041_bootloader.py Firmware updater · xdm2041_load_calibration.py Calibration loader · activate_modes.py Mode activation · backup_calibration.py Calibration backup
Components 18
Instrument interface
- SCPI command findings
README.md - Mode activation
spi_captures/activate_modes.py
Firmware and calibration
- Firmware updater
bootloader/xdm2041_bootloader.py - Calibration backup
bootloader/backup_calibration.py - Calibration loader
bootloader/xdm2041_load_calibration.py - Bootloader assets
bootloader
Protocol research
- SPI capture records
spi_captures/all_modes.pvs - Measurement mode notes
spi_captures/measurement_modes.md - SPI annotator
spi_captures/annotate.py - UART annotator
spi_captures/annotate_uart.py - Annotated mode log
spi_captures/all_modes.txt - UART annotations
spi_captures
Hardware evidence
- ADC board design
adc_board/adc_board.sch - MCU board notes
mcu_board/README.md - Original firmware evidence
orig_firmware - Boot recovery notes
fix_boot_problems/README.md
Other components
- Researcher
- XDM2041 meter
Connections 18
- Researcher → Mode activation: runs modes
spi_captures/activate_modes.py - Mode activation → XDM2041 meter: sends SCPI
spi_captures/activate_modes.py - Researcher → Firmware updater: runs updater
bootloader/xdm2041_bootloader.py - Firmware updater → XDM2041 meter: programs firmware
bootloader/xdm2041_bootloader.py - Firmware updater → Bootloader assets: uses firmware files
bootloader/xdm2041_bootloader.py - Researcher → Calibration backup: runs backup
bootloader/backup_calibration.py - Calibration backup → XDM2041 meter: queries calibration
bootloader/backup_calibration.py - Researcher → Calibration loader: runs loader
bootloader/xdm2041_load_calibration.py - Calibration loader → XDM2041 meter: writes calibration
bootloader/xdm2041_load_calibration.py - Calibration loader → Bootloader assets: loads binary data
bootloader/xdm2041_load_calibration.py - Researcher → SPI annotator: annotates traffic
spi_captures/annotate.py - SPI annotator → Annotated mode log: produces annotations
spi_captures/annotate.py - Researcher → UART annotator: annotates traffic
spi_captures/annotate_uart.py - UART annotator → UART annotations: prints annotations
spi_captures/annotate_uart.py - Researcher → SPI capture records: examines captures
- Researcher → Measurement mode notes: consults notes
- Researcher → SCPI command findings: consults commands
README.md - XDM2041 meter → SCPI command findings: supports commands
README.md