Coder Social home page Coder Social logo

mean00 / dso_stm32duino Goto Github PK

View Code? Open in Web Editor NEW
32.0 3.0 9.0 9.17 MB

Alternative firmware for DSO150/DSOShell scope

License: GNU General Public License v3.0

C++ 32.32% C 56.05% CMake 0.65% HTML 0.38% Python 2.26% Shell 0.03% Assembly 8.31%
dso

dso_stm32duino's People

Contributors

mean00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dso_stm32duino's Issues

Code compilation error and white screen

Hi,

Firstly, thank you for creating this code. It's brought my DSO back to life, a huge improvement over the stock firmware.

I managed to compile the git code to a bin, but there's an error in /src/dso_debug.h as far as I can tell. There's a trailing "ยฒ" on line 7. The code then compiles but when flashed the device just has a white screen. I'm compiling with "cmake -DMCU_SPEED=128000000 -DUSE_VANILLA_HW=True".

Can you help?

Roadmap

First of all: think this is an awesome project! I'm really impressed by the work you've done ๐Ÿ˜„

I was able to install the custom firmware using your compiled (vanilla) binaries and the the open source project stm32flash by running ./stm32flash -b 115200 -v -w Dso150STM32F103_vanilla.bin /dev/ttyUSB0. As this was quite simple, you may consider to include it in your installation instructions.

Secondly, I was wondering whether you intend to get the rotary encoder to work better without hardware mod. Do you think that is possible? Do you intent to implement it?

And more generally speaking: can you say anything about features you plan to add in the future?

Unknown memory region

i have this error when flashing with st-link v2 on ubuntu 18.04 to my DSO-150

dhoni@dhoni-X455LAB:/Downloads$ st-flash write pb7_nowait.bin 0x8000000
st-flash 1.6.0-362-gadb083c
2020-06-01T19:57:06 INFO common.c: F1xx Medium-density: 20 KiB SRAM, 64 KiB flash in at least 1 KiB pages.
file pb7_nowait.bin md5 checksum: 28bd9e38cbd23909f8f2df54a4e1cc, stlink checksum: 0x0008dd63
2020-06-01T19:57:06 INFO common.c: Attempting to write 7088 (0x1bb0) bytes to stm32 address: 134217728 (0x8000000)
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000000 erased
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000400 erased
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000800 erased
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000c00 erased
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08001000 erased
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08001400 erased
2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08001800 erased
2020-06-01T19:57:06 INFO common.c: Finished erasing 7 pages of 1024 (0x400) bytes
2020-06-01T19:57:06 INFO common.c: Starting Flash write for VL/F0/F3/F1_XL core id
2020-06-01T19:57:06 INFO flash_loader.c: Successfully loaded flash loader in sram
7/7 pages written
2020-06-01T19:57:07 INFO common.c: Starting verification of write complete
2020-06-01T19:57:07 INFO common.c: Flash written and verified! jolly good!
dhoni@dhoni-X455LAB:
/Downloads$ st-flash write Dso150.bin 0x8200000
st-flash 1.6.0-362-gadb083c
2020-06-01T19:57:42 INFO common.c: F1xx Medium-density: 20 KiB SRAM, 64 KiB flash in at least 1 KiB pages.
Unknown memory region

Hardware components?

It looks like you have a 3d printed case. Did you construct your own device?
I'm looking for replacement Rotary Encoder and was wondering if you had a source?
Thanks

DSO 150 completely white screen

So, I tried both Open DSO 150 and your latest firmware, and both give me a completely white screen, I don't know if the code is just failing or if it's missing a display driver or something.

Is there a way that I can help with information and maybe find out what's the deal with that?

Buglist 1.0.6

Hello,

Finally took the time to install 1.0.6 with rotary encoder mod at 128Mhz.

I am really happy with the firmware so far. I also found some bugs I am reporting below:

  1. In 5us mode (10kHz test signal with 1V UP trigger), the selector switches between GND and DC constantly, clearing the selection and preventing to go somewhere else in the UI or to revert to another timescale
  2. 10Khz test signal is weird with timescale >1ms (2ms, 5ms, etc...) -> looks like <1khz signal
  3. 100Khz test signal is weird with timescale >100uS (200us, etc...) -> looks like <1khz signal
  4. Frequency calculation is really off. It is based on one period only ? 100Khz at 10uS varies +/- 25khz.
  5. Non working functions :
  • Button test = black screen
  • Test signal 3V = nothing happens
  1. The rotary switch actually requires to be rotated two steps to change a value (might be a hardware limitation?)

Apart from that, I attach a picture so you can use it in the README. For the firmware to be more widely used you have to polish a little bit the "commercial" side and the picture on the main page is not really appealing :)

Would you advice to use master branch or 1.05 release ?

Hello mean00 and thank you very much for your great work.

Sorry for hijacking the issue page but I could not find any other way to contact you.

I intend to use this firmware on my DSO150. Do you consider the master branch to be stable ? What are the main differences ? Should I go for 1.05 or wait few more weeks instead ? I noticed some changes related to ADC in the last commits.

Kind regards,

Valentin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.