DLO-138 icon indicating copy to clipboard operation
DLO-138 copied to clipboard

Blank screen after flashing code compiled in IDE

Open glaukon-ariston opened this issue 5 years ago • 3 comments

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.

glaukon-ariston avatar Dec 08 '19 21:12 glaukon-ariston