Code Monkey home page Code Monkey logo

dlo-138's People

Contributors

ardyesp avatar dpavlin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dlo-138's Issues

Blank screen after flashing code compiled in IDE

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

image

I generate the bin file using Export compiled Binary and then upload the binary over serial port using ST's Flash Loader Demonostrator

image

image

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.

not compiling in Arduino IDE

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

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.