Electronic projects

[Electronic projects][bleft]

Arduino Projects

[Arduino Projects][bleft]

Metal detectors

[Metal detectors][bleft]

Home projects

[Home projects][bleft]

HOW TO UPDATE THE DSO138 OSCILLOSCOPE FIRMWARE

 The oscilloscope manufacturer DSO138 does not leave its users and periodically updates the software ("firmware") for their devices. Let's see what steps you need to go through to update the firmware of the DSO138 oscilloscope.

For work we need:

Determining the current version and search for a new firmware version

When you turn on the DSO138 oscilloscope, its display shows the identifier of the current firmware version. The firmware version is listed after the abbreviation FW (FirmWare). Let's remember this number.

Determining the current firmware version of the DSO138 oscilloscope at boot

Now we go to the page with the firmware of the official website of the manufacturer of the DSO138 oscilloscope and see which version of the firmware is the latest. At the time of this writing, the latest version is 113-13801-061 dated 10/10/2016. This is clearly newer than the installed oscilloscope firmware from the previous photo.

Official site with firmware DSO138 oscilloscope

Download the archive with the firmware and unpack it to an arbitrary location on your hard drive. The firmware itself is a file with the * .HEX extension. In this case, "113-13801-061.hex".

Program installationFlash Loader Demonstrator

To load the firmware into the memory of the DSO138 oscilloscope, you need a special program. Oscilloscope designers recommend ST Flash Loader Demonstrator . To download the program, you will have to register on the site. After that, a link to download the program will be sent to the mail.

The program is distributed as an archive. Download the program. Unpack it to your computer and run the installer. There are no subtleties, everything is standard here.

 Preparing the DSO138 oscilloscopeto flashing

There is a little more work to do before connecting the oscilloscope to your computer. It is necessary to close the JP1 and JP2 jumpers located on the bottom side of the oscilloscope board. This will put the oscilloscope controller into bootloader mode instead of loading normal firmware. The jumpers will have to be connected by soldering.

Jumpers JP1 and JP2, which must be closed before flashing
DSO138 oscilloscope connectionto the computer

To load the firmware into the oscilloscope's memory, the J5 (UART) port with a logic level of 3.3 V is used. To connect it to a computer, we need a USB to UART converter, for example, this one . Many converters have a jumper to switch the voltage between 5 and 3.3 volts.

We connect the "whistle" to the oscilloscope according to the diagram.

Diagram of connecting the DSO138 oscilloscope to a computer via a USB-UART converter
Note that the TX port of the converter (output) must be connected to the RX (input) port of the oscilloscope, and vice versa. And GND is the common wire.

Now you can connect the converter to the USB port of your computer.

It will look something like this:

DSO138 oscilloscope is connected to the control panel via a USB-UART converter
DSO138 oscilloscope is connected to the control panel via a USB-UART converter
DSO138 oscilloscope firmware processstep by step

We turn on the oscilloscope to the network, and connect the USB-UART converter to the USB port of the computer. Now we launch the Flash Loader Demonstrator program .

We select the number of the COM port to which the converter is connected. The rest of the settings can be left as they are. Click the "Next" button .

This is followed by a warning that further actions will erase the memory of the DSO138 oscilloscope. Click the "Remove protection" button to proceed to the next step.

Launching Flash Loader Demonstrator
Launching Flash Loader Demonstrator
Removing Flash Memory Overwrite Protection
Removing Flash Memory Overwrite Protection

After that, a page with information about the memory sections of the oscilloscope opens. We select here memory with a size of 64K (check that in the previous step it was defined with exactly this size). Click “Next” .

We put a check mark on the item “Download to device” (download to the device). Press the button with three dots to select the previously downloaded firmware file “113-13801-061.hex”. The rest of the parameters are set as in the image.

Selecting the memory type and file with new firmware for the oscilloscope
Selecting the memory type and file with new firmware for the oscilloscope

Pressing the “Next” button will start the process of flashing the flash memory of the DSO138 oscilloscope. After it, the process of checking the downloaded firmware will start. Successful completion will be indicated by a green progress bar. The whole process takes about 1-2 minutes.

Progress of downloading and checking the new firmware of the DSO138 oscilloscope
Progress of downloading and checking the new firmware of the DSO138 oscilloscope

De-energize the oscilloscope. Disconnect the UART converter from it. Do not forget to unsolder the closed jumpers JP1 and JP2.

Now you can plug the oscilloscope into the network and when loading it, make sure that the version of its firmware is updated: “FW: 113-13801-061”.

DSO138 oscilloscope with updated firmware
DSO138 oscilloscope with updated firmware
 

Arduino Projects

[Arduino Projects][twocolumns]