New alternative firmware

New alternative firmware

Postby trescurieux » Tue Jul 02, 2019 4:54 pm

Hi
I've be toying with an alternative firmware for the DSO150
It is based on the stm32duino project + some pieces of code derived from pig -o-scope

It is still early software, but is is usable
Homepage :
https://github.com/mean00/DSO_STM32Duino

First demo binaries here :
https://github.com/mean00/DSO_STM32Duino/releases

Instructions :
https://github.com/mean00/DSO_STM32Duino/wiki/swd
https://github.com/mean00/DSO_STM32Duino/wiki/flashing

I've also mades a hardware mod to use the usb interface of the STM32 and rewire the rotary encoder to the RX/TX uart pin
That makes the rotary encode much more responsive

Again, this is early software. It is usable but contains bugs. I think you can revert without problem to Jye firmware, since we dont touch the eeprom, but i'm not 100% positive.
trescurieux
 
Posts: 4
Joined: Tue Jul 02, 2019 5:47 am

Re: New alternative firmware

Postby MorganFlint » Wed Jul 31, 2019 9:03 am

Thank you for your work!
MorganFlint
 
Posts: 55
Joined: Sat Jun 06, 2015 9:06 am

Re: New alternative firmware

Postby trescurieux » Sat Aug 17, 2019 8:58 am

Hi
The fourth version (v1.3 https://github.com/mean00/DSO_STM32Duino/releases) fixes most of the issues
in particular unresponsive rotary encoder.
It should be on par with the official firmware, except some minor UI glitches.

The last item on my todo is the single shot mode (it's partially in git) .

Next is porting to DSO138, should be relatively easy, from a sw point of view they are very close.
And as a bonus, the DSO138 has SWD AND USB interfaces for free without the need to solder anything.
trescurieux
 
Posts: 4
Joined: Tue Jul 02, 2019 5:47 am

Re: New alternative firmware

Postby trescurieux » Thu Sep 12, 2019 2:30 pm

v1.4 brings fine voltage calibration and overall better accuracy by better using the ADC available voltage range
As a bonus, calibration makes it work fine with older & newer analog board revisions where the gain is slightly different
trescurieux
 
Posts: 4
Joined: Tue Jul 02, 2019 5:47 am

Re: New alternative firmware

Postby trescurieux » Fri May 15, 2020 6:01 am

v 1.05 :
* Support for 5us/div frequency range. It is really borderline.
* Better voltage threshold management
* Misc stability fixes
* Moved the rotary encoder to PB14/PB15
* Support for GD32F303

The later is a great improvement for the DSO Shell compared to the STM32F103 used on the vanilla DSO shell :
It is significantly faster ( running @ 96Mhz, it is ~ 2 times faster due to its zero wait state pseudo flash)

It has a more fexible ADC sampling frequencies leading to exact sampling (no need to drop/duplicate samples)
It is cheap

Just swap the CPUs , no other modification to do
trescurieux
 
Posts: 4
Joined: Tue Jul 02, 2019 5:47 am

Re: New alternative firmware

Postby MorganFlint » Mon Jul 06, 2020 5:01 pm

Thanks again!!
I'm considering buying GD32F303 to try it, I'll post if I do.
MorganFlint
 
Posts: 55
Joined: Sat Jun 06, 2015 9:06 am


Return to DSO Shell

Who is online

Users browsing this forum: No registered users and 14 guests