OLED mod

Post Reply
Kingstener
Posts: 67
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener »

Jeff wrote:
Fri Aug 11, 2017 9:37 am
For your interest this is now stable with the 3.0.21.5a :
after five minutes...
new_0811_21_5a.jpg
new_0811_21_5a.jpg (11.66 KiB) Viewed 6057 times
go back to V3_0_19_2a ! .....

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff »

Odd. I got this feedback :
I have now spent >15 mins with the fast firmware loading a few games,
switching slots quickly back and forth, copying from one slot to another
with xcopy etc. but could not produce any errors in the display, so this
is looking very nice. No need to use the slow firmware.

I can see when it resets the display as it flashes the entire screen
quickly when it happens but it introduces no problems.
So, I will add the direct support of these OLED screen. I have a normal lcd running without issue with the latest firmware since 24h.
With this mod I don't control the situation as it appears that i can't provide any reliable solution with it. I really don't know what more to do.
I think that we already have both put too much energy and time on this...
Anyway Thanks for all !

Kingstener
Posts: 67
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener »

Jeff wrote:
Fri Aug 11, 2017 10:13 am
Odd. I got this feedback :
I have now spent >15 mins with the fast firmware loading a few games,
switching slots quickly back and forth, copying from one slot to another
with xcopy etc. but could not produce any errors in the display, so this
is looking very nice. No need to use the slow firmware.

I can see when it resets the display as it flashes the entire screen
quickly when it happens but it introduces no problems.
maybe he has the mod with SPI-OLED
Jeff wrote: With this mod I don't control the situation as it appears that i can't provide any reliable solution with it. I really don't know what more to do.
Only extreme strange that it runs until V3_0_19_2a completely error free ...
Jeff wrote: I think that we already have both put too much energy and time on this...
Anyway Thanks for all !
ACK !

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff »

Kingstener wrote:
Fri Aug 11, 2017 10:26 am
Only extreme strange that it runs until V3_0_19_2a completely error free ...
Not very strange in fact : the 19.2 and older versions didn't have the scrolling text. So in fact the lcd wasn't updated so much. Since the introduction of the scrolling text during the floppy emulation, there is i2c/lcd communication all the time. so you increase the probability to have a communication error, due to any external event : i think to EMC/EMI events. Since the 4 bits nibble can be easily unsynced, the lcd can "broke" easily. That's why i have introduced a periodic resync & reinit into the .5 firmware (done every ~30). Look likes that this doesn't work with the oled mod according to your last test.

All of this to say that i am sure that this can happen with older firmwares, but this is less frequent just because there is much less i2c/LCD update.

Kingstener
Posts: 67
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener »

Jeff wrote: So, I will add the direct support of these OLED screen...
Until then there is a workaround for this mod users who can program the Attiny itself (hope it works) - all others, sorry, can only stay by the older firmware...

aotta
Posts: 36
Joined: Thu Apr 13, 2017 10:39 am

Re: OLED mod

Post by aotta »

Kingstener wrote:
Sun Aug 13, 2017 4:04 pm
Jeff wrote: So, I will add the direct support of these OLED screen...
Until then there is a workaround for this mod users who can program the Attiny itself (hope it works) - all others, sorry, can only stay by the older firmware...
Can you explain which is the workaround? And is it needed only for the i2c oled or for the spi one's too? Anyway, thank you and jeff for your work, i think oled screens make the hxc floppy another world!

Kingstener
Posts: 67
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener »

Follow the link in first post....
aotta wrote: .... or for the spi one's too?
Better is it, because of the constant reset of all ~30sec, which initializes each time the OLED new
The errors in the data transmission do not seem so crass at the SPI, probably because of faster data transmission and thus shorter AKN delay

cbrunschen
Posts: 17
Joined: Sat Oct 16, 2010 11:10 am

Re: OLED mod

Post by cbrunschen »

More on the hardware side of things,

The OLED display is a bit wider than the aperture that is present for the LED display that is replaced, so some of the OLED display ends up hidden (which in turn requires the narrower font in order to fit 16 characters). The material to the right (if you're looking at the gotek emulator from the front) of the existing aperture is just the shell of the emulator, and it seems it could be possible to extend the aperture a little (towards the center of the front of the emulator), though the material there is quite thick; this would then allow using the entire width of the OLED display and would make the text perhaps just a little more legible by allowing a little more space for each character.

Does that sound feasible at all?

// Christian

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff »

Yes it is !

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff »

In the firmware released today, i have changed the low level part for the I2C bus. This definitively fix the I2C issues and I have removed the auto-reset part not needed anymore :

https://hxc2001.com/download/floppy_driv ... rmware.zip

https://hxc2001.com/download/floppy_driv ... _notes.txt

aotta
Posts: 36
Joined: Thu Apr 13, 2017 10:39 am

Re: OLED mod

Post by aotta »

Thank you, i will try asap

Kingstener
Posts: 67
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener »

Thumbs up, it now seems stable with the I2C communication ...
Good news for the users of an SPI OLED display which can not connected directly - it gives a future :wink:

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff »

Screens received !
Work in progress !
:D
ssd1306_hxcmiretest.jpg
ssd1306_hxcmiretest.jpg (107.9 KiB) Viewed 6097 times

aotta
Posts: 36
Joined: Thu Apr 13, 2017 10:39 am

Re: OLED mod

Post by aotta »

It seems a good starting! Please keep us informed, it is a great new feature for hxc!

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff »

Image

6*13 font !
:D

Post Reply