Skip to content
GEEKnodes

Electronics · Updated on

How to Update the DSO150 Oscilloscope Firmware (and Clone Issues)

How to update the DSO150 oscilloscope firmware over serial: JP1 and JP2 jumpers, a USB-to-serial adapter, backing up the old firmware and the problem with clones.

The DSO150 was my first oscilloscope. I went for it because of the good reviews on Amazon, AliExpress and YouTube, and because of the price. I bought it on AliExpress without checking whether it was the original from JYE Tech or a clone… and I got a clone, my own fault. Even so, it worked fine for the first few days and was more than enough for testing my small projects.

Update flow: save a backup, choose the firmware, flash it and restart the oscilloscope.
Make the backup first; then flash the firmware and restart.

Until I decided to update the firmware. The process itself is simple, but my experience includes an important twist if you have a clone, so I’ll tell you the whole story.

Before you start: original or clone

This is the most important warning in the guide. The official JYE Tech firmware detected that my board was a clone and, after updating, the oscilloscope stopped booting and showed a message on screen. If you’re not sure your DSO150 is an original:

  • Always back up the current firmware before flashing anything (I explain how below). I didn’t, and I couldn’t go back.
  • Keep in mind that, starting with version 110 of the official firmware, JYE Tech asks for an activation code when updating from earlier versions; without it, the rotary encoder may misbehave. You request it from JYE Tech with the 8-character code on the sticker on the main board (it also appears on the second boot screen).
  • Check on the JYE Tech firmware page which version matches your board: some versions are only for the assembled model and aren’t compatible with the kit.

What you need

USB-to-serial adapter connected to the DSO150 with RX and TX crossed, common GND and 3.3 V logic level.
Cross RX and TX and share GND; set the adapter to 3.3 V.
  • A USB-to-serial adapter (FT232 or similar) with 3.3 V output.
  • Dupont jumper wires.
  • A 9 V power supply for the oscilloscope.
  • A computer with the STM32 flashing tool.

Which program to use

I used ST’s Flash Loader Demonstrator, which flashes the STM32 microcontroller over the serial port. ST now marks it as not recommended for new designs, and its replacement is STM32CubeProgrammer in UART mode, available for Windows, macOS and Linux. Always download it from ST’s website, never from shortened links. On Linux there’s also the free stm32flash tool.

1. Open the oscilloscope

Remove the 4 screws on the back, take off the front bezel, slide the bottom part up and carefully separate the board the screen is connected to. On its back you’ll see the JP1 and JP2 pads:

JP1 and JP2 pads on the back of the DSO150 board

2. Bridge JP1 and JP2

Bridge them so the microcontroller boots into serial programming mode:

JP1 and JP2 bridged on the DSO150 board

3. Connect the USB-to-serial adapter

Use the adapter’s RX, TX and GND pins and set its voltage jumper to 3.3 V:

USB-to-serial adapter with the voltage jumper set to 3.3 V

Connect them crossed to the DSO150 board: adapter RX to board TX, TX to RX and GND to GND. In my case, orange wire RX → TX, yellow wire TX → RX.

Crossed RX, TX and GND connection between the USB-to-serial adapter and the DSO150

Plug the adapter into the computer and power the DSO150 board with the 9 V supply.

4. Connect with the program

In Flash Loader Demonstrator, select the adapter’s COM port and 115200 baud:

Flash Loader Demonstrator with the COM port and 115200 baud selected

In the next step you can remove read protection:

Option to remove read protection in Flash Loader Demonstrator

And a green traffic light should appear, showing the device can be accessed (Target is readable).

Target is readable message in Flash Loader Demonstrator

If you’re using STM32CubeProgrammer, the equivalent is to choose UART in the connection panel, the port and 115200 baud, and click Connect.

5. Back up and flash

  1. Backup first. With the Upload from device option, save the current firmware to a file. That’s what lets you go back.
  2. Then choose Download to device, select the new firmware’s .hex file and check Optimize (remove some FFs).
  3. Click Next and wait for it to finish.
Download to device and Upload from device options in Flash Loader Demonstrator

When it’s done, remove the wires and the JP1 and JP2 bridges and reassemble the case.

DSO150 firmware flashing completed

Check that it works

Turn on the oscilloscope: the boot screen shows the firmware version. Connect the probe to the unit’s own test signal and check that you see the square wave and that the controls respond.

What happened with my clone

The firmware updated perfectly… and then came the surprise: the original JYE Tech firmware detects whether the board is a clone and, if so, doesn’t boot and shows a message on screen.

I thought about going back to my board’s original firmware, but I hadn’t made the backup. So I tried OpenDSO, a free firmware created by michar71 and published on GitHub, but it didn’t work on my board: the splash screen kept looping. In the end I found two firmware versions older than the one my clone came with, and one of them worked. I can still use the oscilloscope, though with a somewhat older firmware version.

Common problems

The program can’t connect to the board. RX and TX aren’t crossed, the common GND is missing, or the JP1 and JP2 bridges aren’t making good contact. Also check that the adapter is set to 3.3 V.

Read protection error. Remove the protection from the program; keep in mind this erases the current contents, so you have to make the backup beforehand if the board allows it.

The oscilloscope won’t boot after updating. It may be a clone detected by the official firmware or a version that’s incompatible with your board. Flash your backup again.

The rotary encoder acts strangely. The activation code required by the official firmware from version 110 onward is missing.

Video of the process

Parts used

JYE Tech DSO150 Kit + 100 MHz JYE Tech DSO150 Kit (NooElec) AZDelivery FT232RL USB-TTL DSO150 oscilloscope on AliExpressDSO150 DIY kit on AliExpressFT232 USB-to-serial adapter on AliExpress

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor