Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time

Project discontinued

New project covering LA104, DS213, DS203 based on simple operating system for STM32F103 can be found here:

For now it supports switching between original firmware and simplified version of this repository's firmware, webusb remote controlled oscilloscope and various usefull applications. Follow the repository release section and folder for new applications and testing disk images

WebUsb Oscilloscope video

DS203 customized firmware

DS203 is a nice open source oscilloscope. And this is an attempt to design improved GUI for the scope offering rich functions, better than those provided by original not-so-user-friendly firmware. The source code is in C++ for better code organisation and it is possible to compile it on Windows and Linux machine. For speeding up the development process, you can compile this application as native Win32 app, this offers you the ability to test new features on PC before compiling and uploading the firmware onto DS203 device. For windows users, there is a Visual Studio 2010 project file (Build/desktop_win32). For compiling the firmware for ARM Cortex M3 target device, there is a script in "Build" folder (arm_win32 for win32 platform, arm_linux for linux platform)

For owners of DS203 who would like to try this firmware:

  1. download hex file from Bin/GAB_N1.hex (the number specifies in which slot the app will be loaded, N stands for newer hardware versions of dso board, choose GAB_O1.hex for older dso's)
  2. power on your oscilloscope while holding the first button
  3. on device's display, there should be displayed "DFU tool" and a new USB disk should appear in "My computer"
  4. copy the hex file to your oscilloscope
  5. after successful upload, on the USB disk will disconnect itself and reconnect again. Sometimes it will show some error message during uploading (don't worry, the computer has probably uploaded the file successfully, there is probably some bug in the DFU program)
  6. turn off
  7. turn on without holding any button

For developers that want to build the firmware, but don't want to use github:

  1. download whole repository by clicking on "Download ZIP" button on right
  2. and run the build script Build/arm_win32/_makefile.bat

For building this project you need ARM GCC toolchain. The building script will automatically download one for you, if you want to use your own toolchain, just modify the CBASE value in makefile.bat. The official download link for the toolchain is it is about 36MB. If the link will be dead or you will have troubles unpacking tar.bz2, you can download stripped version of that toolchain (13MB) from my webpage

For developers that would like to contribute to this project: Just contact me, or make a modification of the source code and push me a request.


The DS203 device has 4 push buttons and two slide buttons. The function of first three buttons is following:

  • PlayPause button - Enter
  • Square button - Escape
  • Circle button - Show toolbox
  • Triagle button - User assignable button
  • The two slider buttons are used for navigation and value change.


Image 1

Image 2

Image 3

Image 4

Image 5

Image 6

Image 7

Image 12

Image 8

Image 9

Image 10

Image 11

Image 12

Image 13

Image 14

Image 15

Image 16

Feature highlights:

  • UART, MIDI, CANBUS decoder
  • Mask tests, pass/fail calculations (create envelope of your signal and catch disturbances which exceed this envelope)
  • Advanced mathematical operators (3 operands)
  • User defined FIR filter (in Oscilloscope/Math)
  • Cursors with lock-to-channel function
  • Spectral analysis
  • PID Controller
  • Export to Wave (use your favourite sound editing program for signal examination)
  • Export to CSV file
  • Export to interactive SVG
  • Chromatic tuner utility with very precise frequency counter
  • Remote control with android device over UART/bluetooth (or with DsoControl application)
  • Touchscreen support
  • Serial port monitor with selectable baud rate
  • Snake game :)
  • OneWire implementation through TX pin of uart, currently compatible with DS1820, DS18S20, DS18B20

Todo list:

  • finish oscilloscope module - 92% done
  • calibration - 80% done
  • fft view - 80% done
  • signal generator - 90% done
  • connection with android tablet/phone - 90% done
  • optimize ROM usage (many bitmaps are stored as 8bits per pixel) - 0%


This firmware finally implements a simple method for analog channel calibration. It's good idea to calibrate the DAC (wave out) first, it can be handy if you dont have regulated power supply. The device should be connected to a PC during calibration.

  • Calibrating Adc:
    1. Go to User app/Calib tab, select Adc menu item
    2. Connect volt meter to Waveout
    3. Change the value (four digits) next to 0.5V label until you get exactly 0.5V on your voltmeter or multimeter.
    4. Do the same for 1.5V value
    5. Click on "Use labels", the dialog will hide
    6. Now you can check proper DAC calibration by changing the voltage shown on Adc menu item with navigation buttons, the voltage shown on display shoud match the voltage measured on the WaveOut connector within the error +-0.001V
  • Calibrating analog channel
    1. Enter "Analog-Simple" calibration dialog
    2. Select desired channel and resolution
    3. Connect the probe to selected channel and connect tip of the probe with the crocodile (ground).
    4. Select "Reset Vpos" and wait a few seconds
    5. Connect the probe to a precise power supply and by changing the K value, try to match Vin value with the real voltage of power supply. If you dont have any regulated PSU, you can connect the probe with WaveOut
    6. Hit save and try changing the input voltage and check whether you get correct reading at the Vin value. Use a sensible voltage while matching the K value, for example - if you are calibrating 200mV range, use 4x200mV = 800mV at input.
  • After finishing, select "Save calib data"


If you want to build this firmware with your own modules, follow the instructions in man/Readme.txt.

Remote control with android phone

The firmware implements simple expression evaluator which can be used to control the device remotely. In Resources folder you can find android project (including .apk executable) which demonstrates this feature through bluetooth wireless connection. There is also PC application (Resources/DsoControl) that can be used as remote control by sending the mouse cursor position and keystrokes through bluetooth or UART. Read more here:


Alternative firmwares and useful resouces:

Credits and contributors:

Please let me know if I forgot to mention someone who contributed to this project...

  • 6HJS
  • krist10an
  • Frederic Borry
  • Francesco Gugliuzza
  • Florian Bauer
  • Michal Hrouda


DS203 quad oscilloscope firmware compatible with gcc






No releases published


No packages published