DSOQuadV2.6 RESOURCE(Update 2012/04/12)

Thanks a lot!

I just tried to upgrade my DSO quad with the contents of the latest pack.rar (SYS_B151.hex, APP_B253.hex), but it seems something went wrong :frowning:

Powering on the device, I only see an all-white screen no beep, there it hangs.

My Linux’s USB stack fails to (completely) recognize the device, too:

[2476525.688058] usb 1-2: new full speed USB device using uhci_hcd and address 58 [2476525.812033] usb 1-2: device descriptor read/64, error -71 [2476526.040029] usb 1-2: device descriptor read/64, error -71 [2476526.256025] usb 1-2: new full speed USB device using uhci_hcd and address 59 [2476526.380046] usb 1-2: device descriptor read/64, error -71 [2476526.609042] usb 1-2: device descriptor read/64, error -71 [2476526.824542] usb 1-2: new full speed USB device using uhci_hcd and address 60 [2476527.232018] usb 1-2: device not accepting address 60, error -71 [2476527.344030] usb 1-2: new full speed USB device using uhci_hcd and address 61 [2476527.752018] usb 1-2: device not accepting address 61, error -71 [2476527.752042] hub 1-0:1.0: unable to enumerate USB device on port 2

That is, it seems I cannot downgrade/upgrade to any useable state? Starting at this point, what are fall-back strategies to install the firmware? Directly write them to the flash chip? It would be really nice to un-brick this little guy. I only owned it for some days, but it really prooved to be a helpful tool…

(EDIT) The “Device Firmware Upgrade V3.10” still seems to work. In the meantime, I also tried to copy the firmware using the mtools suite, but didn’t have success with it. (Still the same white screen when switching it on without pressing the start/pause button.) Hopefully, somebody has a good hint for me. (And once I actually understand what went wrong, I’ll update the wiki’s Quad firmware update page.)

(EDIT #2) I again uploaded sys-1.50 and app-2.51 (from the GIT repo) to the device using mtools. The initial screen displaying all the version numbers is somewhat garbled (will take a picture of it after having had some sleep), but the application at least seems to start. But due to the garbled initial screen, I guess parts of it are possibly still overwritten. When starting up normally (without pressing the run/pause button), the USB disk emulation still doesn’t work (as printed above.)

Dear Chip.
Please share the source code.
Soon I get my DSO Quad, and would like to join the development process.

may be replaced or upgrade STM32F1xx to STM32F2xx or STM32F4xx, last chip include DSP instruction and faster any math function or like use for FFT.
Please add shifting XPOS in mode FNORM, FSCAN, FAUTO in to all window(screen)
mode FNORM, FSCAN, FAUTO is wery cool , i like his devices. i dont then can use his osciloscope without them FNORM, FSCAN, FAUTO.
FNORM, FSCAN, FAUTO is wery wery cool option.
i happy then use his update.
thanks then your works. i have a heps you then testing or upgrating, then i dont know DSP

CPU speed is sufficient for the spectrum, and for more.

The only problem of this device is a fifo buffer. There is no time to alter FPGA 2.5

Does this mean that FFT will not be available at all?

I disabled the fft in the free version, it works without problems.
buffer creates problems with the work in such modes as FAUTO.
IMAG003.jpg

If it works, wy it’s not embedded in the current firmware? Still in test phase or other reason?

other reason

I didn’t notice the ‘free’ word. Now it’s clear. Are you preparing some kind of alternative firmware that will be sold as a replacement to the official buggy one?

Dear chip, please share your sourcecode.
I have add SPI protocol decoder to your latest firmware.

It would be very unfair on Seeedstudio side to sell us a piece of HW with useless SW and then charge us again for the working firmware.

I agree. So common seeedstudio, hire chip to fix the firmware, or atleast pay him for his work and release this as a new firmware update or something :slight_smile:

Hi, I’m sorry for my bad english !!! I try to explain what I did!

I have make some modify to 2.51 version (the last with free source code):

-Added x10 range on track A and B, so with the x10 probe we can read the right value on the meters
-Added automatic trigger level, you can select the auto level to 1/2 1/4 3/4 of Vpp, or use the manual mode
-Added battery charging indicator. the indicator move when the battery is in charging
-Deleted NONE mode on time base, it was the same of scan
-Full screen viewing hiding the meters
-We have some predetermined meter menù combination, so with a button we can change the menù viewing combination
-When using cursors, if the meter is still hidden, the DeltaT and DeltaV meters are active
-Fixed a bug that in the display appears on the first screen pixels
-Increased speed of scrolling cursor measurement
.Possibility to change mode; full buffer (4096 samples) or single frame buffer (one screen samples)
-When we are in “single frame mode” actually works like this:
SCAN = capture and display a single frame, by rolling (300 or 400 samples)
NOT SCAN = 1.6 captures frames, this is necessary to have trigger working fine
-Added in the function generator 1Hz, 2Hz, 5Hz, 50kHz ranges.
-Modified the generator array from 36 to 72 samples
-Added PWM mode with duty cicle form 1 to 100%
-Added Control output signal amplitude, changing the function generator as follows:
SQUARE = 1Hz-50Khz square wave with amplitude adjustable from 0 to 2.6 V
TRIANG = 1Hz-50Khz triangular wave with amplitude adjustable from 0 to 2.6 V
SAW = Sawtooth Wave counter 1Hz-20kHz with amplitude adjustable from 0 to 2.6 V
SINUS = 1Hz-50Khz sine wave with amplitude adjustable from 0 to 2.6 V
PWM = PWM signal with duty adjustable from 0 to 100%, frequency 1 Hz to 8MHz.
-Added Function-X_Y

These are the new button function:

Button 2 (square)
-Push and release : change trigger automatic level
-Push and hold : enter in calibration

Button 3 (dot)
-Push and release : view or hide the lateral meters menù
-Push and hold : save settings

Button 4 (triangle)
-Push and release : change the menù viewing combination
-Push and hold : change full buffer or single frame buffer

To try the firmware you have to change App and Sys.

Best Regards
Marco
IMAG002.jpg
IMAG001.jpg

@marcosin
Would you be kind enough to share the source code?

Can you add measuring the phase difference

This is the Source and Include folders for APP and SYS, it’s a bit messy!!!
To work fine it require the FPGA2.22, it don’t work with FPGA2.50 or FPGA2.61

@Kannagara
I’m working to it.
SmV1.6-Source.rar (119 KB)

It means i need downgrade FPGA before try your firmware?
I search on this forum, but i cant find FPGA 2.22 version.

In Wiki page You can find all seeedstudio.com/wiki/DSO_Qua … g_Firmware

Attached the full files, I’ve change the filename so you have not to di it to transfer in dso.

To change FPGA, first copy the file .ADR, wait for popup and copy the file .BIN

If You don’t change the FPGA, the SCAN mode don’t work fine.
DSO_Sm_V1.6 Complete.rar (74.8 KB)

I try firmware, while i found 2 bug:

  • When i use 300 simples mode, and set time from 100us to 0.1us, screen refresh 0.5-3 sec.
  • When i use x10 probe and x10 mode, measurment souch Vpp shows right, but diagram on screen not scaled to x10 as on “my big oscilloscope”

in other, your firmware is cool, and “free source” wich VERY important!