dpavlin / dlo-138 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ardyesp/dlo-138
An open source firmware for DSO-138 O-Scope with my minor improvements
Home Page: https://youtu.be/Z2HVZWkYkkI
This project forked from ardyesp/dlo-138
An open source firmware for DSO-138 O-Scope with my minor improvements
Home Page: https://youtu.be/Z2HVZWkYkkI
This is probably the same issue as the Blank screen after flashing code compiled in IDE issue in the original ardyesp/DLO-138 project. It doesn't help to do afio_cfg_debug_ports(AFIO_DEBUG_NONE);
either, I still get the blank (white) screen. I can upload the DLO-138_switches_1.0.bin from the binaries
folder -- no problem there (apart from the scaling issue I mentioned before).
I wonder how you did it? Looking at your pictures it seems I have the same board as you (the same product numbers on both the main PCB and the LCD's daughter board). I am using Arduino IDE v1.8.10 (on Windows 10) with the following board selection
I generate the bin file using Export compiled Binary
and then upload the binary over serial port using ST's Flash Loader Demonostrator
This is the output from the Export compiled Binary
command
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s: Assembler messages:
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:464: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:464: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:464: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:464: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:466: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:466: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:466: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:466: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:513: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:513: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:513: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:515: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:515: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:515: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:560: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:560: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:560: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:560: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:560: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:562: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:562: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:562: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:562: Warning: register range not in ascending order
C:\Users\Tata\AppData\Local\Temp\ccTrNgZd.s:562: Warning: register range not in ascending order
Sketch uses 45716 bytes (69%) of program storage space. Maximum is 65536 bytes.
Global variables use 17880 bytes (87%) of dynamic memory, leaving 2600 bytes for local variables. Maximum is 20480 bytes.
Low memory available, stability problems may occur.
Hi!
I directly flashed the supplied binary on the DSO138 with no problem, but I would like to learn a bit more about the building process.. so I tried to compile the project in the Arduino IDE, importing the required libraries, and setting the properties for the board, but still I receive these errors:
Arduino:1.8.9 (Linux), Scheda:"Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)"
/tmp/ccvmyFGF.s: Assembler messages:
/tmp/ccvmyFGF.s:464: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:464: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:464: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:464: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:466: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:466: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:466: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:466: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:513: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:513: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:513: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:515: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:515: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:515: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:560: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:560: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:560: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:560: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:560: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:562: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:562: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:562: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:562: Warning: register range not in ascending order
/tmp/ccvmyFGF.s:562: Warning: register range not in ascending order
In file included from /home/roxy/Arduino/libraries/Adafruit_GFX_Library/Adafruit_MonoOLED.h:31:0,
from /home/roxy/Arduino/libraries/Adafruit_GFX_Library/Adafruit_MonoOLED.cpp:20:
/home/roxy/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:38:43: error: 'SPI_BITORDER_MSBFIRST' was not declared in this scope
BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
^
/home/roxy/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:43:43: error: 'SPI_BITORDER_MSBFIRST' was not declared in this scope
BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
^
/home/roxy/Arduino/libraries/Adafruit_GFX_Library/Adafruit_MonoOLED.cpp: In constructor 'Adafruit_MonoOLED::Adafruit_MonoOLED(uint16_t, uint16_t, int8_t, int8_t, int8_t, int8_t, int8_t)':
/home/roxy/Arduino/libraries/Adafruit_GFX_Library/Adafruit_MonoOLED.cpp:102:75: error: call to 'Adafruit_SPIDevice::Adafruit_SPIDevice(int8_t, int8_t, int8_t, int8_t, uint32_t, BitOrder, uint8_t)' uses the default argument for parameter 6, which is not yet defined
spi_dev = new Adafruit_SPIDevice(cs_pin, sclk_pin, -1, mosi_pin, 1000000);
Più di una libreria trovata per "Wire.h"
Usata: /home/roxy/.arduino15/packages/stm32duino/hardware/STM32F1/2020.5.26/libraries/Wire
Non usata: /home/roxy/.arduino15/packages/stm32duino/hardware/STM32F1/2020.5.26/libraries/WireSlave
^
/home/roxy/Arduino/libraries/Adafruit_GFX_Library/Adafruit_MonoOLED.cpp: In constructor 'Adafruit_MonoOLED::Adafruit_MonoOLED(uint16_t, uint16_t, SPIClass*, int8_t, int8_t, int8_t, uint32_t)':
/home/roxy/Arduino/libraries/Adafruit_GFX_Library/Adafruit_MonoOLED.cpp:135:53: error: 'SPI_BITORDER_MSBFIRST' was not declared in this scope
spi_dev = new Adafruit_SPIDevice(cs_pin, bitrate, SPI_BITORDER_MSBFIRST,
^
exit status 1
Errore durante la compilazione per la scheda Generic STM32F103C series.
I've tried to explore a bit.. but it is beyond me :(
any idea on what can be wrong?
thanks
Are you purchasing a second DSO-138 board?
I have checked many forks and nobody is posting any pictures of this second channel hardware
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.