Hi
I have been looking at the S6E63D6 pdf (nearest oled controller) it seems to have scroll and windowed read and write.
The fact that the connector to the controller has aprox 41 lines seems to imply that the parallel interface is connected to the stm32 i'm guessing its a (read from my liveview 32F103C6 8N KM1 93 SGP 042 Z) is a stm32F103(family)Z(144pins)H(bga)C(256kbytes)6(indust temp) see CD0191185.pdf.
High density (f103 256kB) and above parts have a peripheral called a FSMC (flexible static memory controller) which can be used to interace to lcd /oled controller using 8080 or 6800 interface 8/9/16/18 wide data bus plus 1 adress line (chip select) plus 3 other control lines plus few extra for setting mode of S6E13B3 (guessing same as S6E63D6) ie spi or 8080 or 6800 .There is a st application note an2790 about implentating of FSMC lcd inteface from stm32 for another controller .I could not find software on st site but found it here (
http://portablescopedesign.googlecode.com/svn/trunk/) .
There are some examples of using the FSMC in chibios gfx for lcd controllers but above seems clearer.
The gpio pins that can be remapped to fsmc are fixed for data bus (assume 16 bit as max for fsmc) and 3 control for 8080 or 6800 the one adress line seems to be one of 25 unluckly depending how many io banks there are (hence knowing actual stm32 would be damn useful) .
The FSMC setup registers are at 0xA000 0000 - 0xA000 0FFF but i don't seem to find it in disassembled firmware.
My hopeful assumption is that the boot code uses spi to display dfu mode and main firmware uses 8080 or 6800 mode.This of course might not be the case.But if it was we can have fast acess to framebuffer in on glass oled controller and can do without internal framebuffer saving 32kbytes.The commands are the same for spi or parallel.I need to get jtag going to have alook if any acess to 0xA000 0000 - 0xA000 0FFF and FSMC banks see p38 CD0191185.pdf .Should try jtag but having broken my screen i'm not sure it will get to that point dfu works however.
cheers
Tony
have you got paypal so i could give you a new liveview?
where are you from? whats it worth at your country?
your findings are awesome. i wish i had that knowledge.
you should take a look at the gpio.txt file within the docs folder in the firmware snapshot.
also hardware.h.
they both contain exception13's research.
there are also some other files you may find interesting. in the gfx folder for example.
Hi,
Thanks for this big work! :good:
Now i'am trying to compile your firmware with ChibiOS, (v2.5.2 unstable)
Code:
[SIZE="2"]In file included from ../chibios/ext/gfx/src/gdisp/gdisp.c:30:0:
../chibios/ext/gfx/include/gfx.h:33:21: fatal error: gfxconf.h: No such file or directory[/SIZE]
It seem that i need a missing file: "gfxconf.h"
Can someone guide me where find it?
The gfx extension provide one as example, but seem not configured for our display
Thanks
are you using the latest chibios gfx?
they changed certain things so it would not compile without changing alot.
i will upload my kitchen now.
olvfirmware_kitchen_20130319.tar.gz contains an empty firmware, original and gcc-arm-none-eabi-4_7-2012q4 folder.
the firmware folder shall be filled with the content in firmware_20130319.tar.gz
the original folder will be filled when you type make dump (as described in howto.txt within the kitchen file)
and will be used when you use make orig
the gcc-arm-none-eabi-4_7-2012q4 folder shall be filled as described in howto.txt
the firmware contains the following changes:
the menu key must be pressed after you turned the liveview on.
when you did, you can set the time and use the menu key as "ctrl" key to have a second button layer for the 4 way keys.
when you turn it off and on again, you need to press the menu key again to do changes to the time.
the framebuffer will only be uploaded into the vram in case you really did a change to it.
by this i mean.. write a black pixel onto a black pixel and it will be ignored.
for people who just want to see how it currently looks, there is just the binary in olvfwp.bin_20130319.tar.gz
for people who want to have exception13's last firmware tarball, its also in my attachments.
have fun.
GottZ