tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Are there any benefits of using this new ESP32-WROOM-32D design over the one people have previously been using, save not needing a board?
A couple of low hanging fruit, these two memtests from Jotego could use the existing Memtest image:
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
A couple of low hanging fruit, these two memtests from Jotego could use the existing Memtest image:
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
https://github.com/jotego/jtbin/blob/ma ... 210108.rbf
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
...do you know the corenames ?
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
@Moondandy:
If you already own a tty2oled that fits your need, there is no benefit using the ESP32-WROOM-32D design.
The design comes in handy if you:
-don't want additional adapter PCB
-want USB connector on the backside
-need additional connectors for hardware extension using I2C/SPI
If you already own a tty2oled that fits your need, there is no benefit using the ESP32-WROOM-32D design.
The design comes in handy if you:
-don't want additional adapter PCB
-want USB connector on the backside
-need additional connectors for hardware extension using I2C/SPI
Find my projects on Github: https://github.com/dtimber/
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Yes, they are jtsdram48 and jtsdram96
Thanks for clarifying d.ti!
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Gameboy2Pultrawide could use the game boy 2 player image as well, you can grab that one from here:
viewtopic.php?f=20&p=31281#p31281
Is currently at the bottom of the sheet.
viewtopic.php?f=20&p=31281#p31281
Is currently at the bottom of the sheet.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
jtsdram48 and jtsdram96 are done.
You can find here https://github.com/venice1200/MiSTer_tt ... s/XBM_Menu
some alternative MENU Pictures for your /media/fat/tty2oledpics/pri Folder.
//Edit
New Picture for Choplifter by RealLarry
You can find here https://github.com/venice1200/MiSTer_tt ... s/XBM_Menu
some alternative MENU Pictures for your /media/fat/tty2oledpics/pri Folder.
//Edit
New Picture for Choplifter by RealLarry
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
I've been observing some strange interactions between my tty2oled and other hardware in my MiSTer setup recently and after chatting about it on the discord it was suggested I post about it here.
MiSTer Configuration:
128MB RAM
Digital IO board v1.2
USB Hub v2.1
- K400+ keyboard dongle
- bluetooth dongle
- 2.4GHz M30 controller dongle
- tty2oled (TTGO-T8 with SSD1322 on 6" USB cable)
MT32-pi (on 6" USB cable)
Wired ethernet connection
HDMI via CEC blocker to Sony sounder and LG OLED55B8
The MiSTer, MT32-pi and tty2oled are all running the most up to date software releases as of this morning 27/8/21
First problem:
With the tty2oled connected and running, at boot the M30 controller is unresponsive, but if I disconnect and reconnect the M30 dongle it works. Rebooting the MiSTer displays the same behaviour, controller is unresponsive until the dongle is replugged. With the tty2oled unit disconnected the behaviour is not observed.
Second problem:
With the tty2oled connected and running, spurious level meter activity is sometimes observed on the MT32-pi. This can be a single meter rising and falling or all meters showing lots of activity, eventually followed by a "sysex overload" message and the MT32-pi appearing to reboot. d0pefish stated this was down to something "wiggling" the serial port pin that the MT32-pi uses to communicate with the MiSTer. Others suggested it may be down to RF interference from a noisy OLED board on the tty2oled, so I connected it up via a 3m USB extender cable, moved the tty2oled to the opposite side of the room, and still observed the strange meters activity.
As a further experiment, while the meters were moving without any MT32-pi audio activity I disconnected the tty2oled from the USB cable and the behaviour persisted. I took this further and reset the MiSTer using the button on the Digital IO board and the meter activity persisted until the MT32-pi was initialised.
At one point while cycling through cores to precipitate the behaviour the MT32-pi display became completely corrupted and shifted. Again, d0pefish attributed this to corruption of the i2c data connection between the pi and the display and suggested RF interference.
I'm not looking for a fix, as I hardly use the tty2oled to be honest, but wanted to present my experience in case someone else has similar issues or there's an obvious solution fix. MT32-pi and tty2oled both use serial communications, although the MT32-pi connects directly rather than via a USB serial device, so I'm really not sure.
MiSTer Configuration:
128MB RAM
Digital IO board v1.2
USB Hub v2.1
- K400+ keyboard dongle
- bluetooth dongle
- 2.4GHz M30 controller dongle
- tty2oled (TTGO-T8 with SSD1322 on 6" USB cable)
MT32-pi (on 6" USB cable)
Wired ethernet connection
HDMI via CEC blocker to Sony sounder and LG OLED55B8
The MiSTer, MT32-pi and tty2oled are all running the most up to date software releases as of this morning 27/8/21
First problem:
With the tty2oled connected and running, at boot the M30 controller is unresponsive, but if I disconnect and reconnect the M30 dongle it works. Rebooting the MiSTer displays the same behaviour, controller is unresponsive until the dongle is replugged. With the tty2oled unit disconnected the behaviour is not observed.
Second problem:
With the tty2oled connected and running, spurious level meter activity is sometimes observed on the MT32-pi. This can be a single meter rising and falling or all meters showing lots of activity, eventually followed by a "sysex overload" message and the MT32-pi appearing to reboot. d0pefish stated this was down to something "wiggling" the serial port pin that the MT32-pi uses to communicate with the MiSTer. Others suggested it may be down to RF interference from a noisy OLED board on the tty2oled, so I connected it up via a 3m USB extender cable, moved the tty2oled to the opposite side of the room, and still observed the strange meters activity.
As a further experiment, while the meters were moving without any MT32-pi audio activity I disconnected the tty2oled from the USB cable and the behaviour persisted. I took this further and reset the MiSTer using the button on the Digital IO board and the meter activity persisted until the MT32-pi was initialised.
At one point while cycling through cores to precipitate the behaviour the MT32-pi display became completely corrupted and shifted. Again, d0pefish attributed this to corruption of the i2c data connection between the pi and the display and suggested RF interference.
I'm not looking for a fix, as I hardly use the tty2oled to be honest, but wanted to present my experience in case someone else has similar issues or there's an obvious solution fix. MT32-pi and tty2oled both use serial communications, although the MT32-pi connects directly rather than via a USB serial device, so I'm really not sure.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Thanks for reporting this.
I have two systems with external powerred USB Hub's v2.1 and never had problems while my tty2oled is connected.
One system has an MT32pi connected as well. Never saw "Self Meter Moving".
Which "2.4GHz M30 controller dongle" do you use?
I have two systems with external powerred USB Hub's v2.1 and never had problems while my tty2oled is connected.
One system has an MT32pi connected as well. Never saw "Self Meter Moving".
Which "2.4GHz M30 controller dongle" do you use?
- RealLarry
- Top Contributor
- Posts: 883
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 386 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
I'd a similar issue some days ago after finishing and testing my MiSTer-AjSTer setup. 'till finishing up the whole setup (including mt32-pi by USB cable via user port and tty2oled) I've used a MeanWell GST40A05-P1J power supply and this was working fine. But after completing the setup with the official USB hub (Y-cable from power supply to MiSTer and hub) I could measure voltage drops down to 4.7V on one line (4.8V went fine, depending on moonphase and used drugs). Swapped the power supply against a MeanWell RS-25-5 set to 5.1V (and it's doing this and nothing other) all problems are gone and whole setup is running stable since then.WiteWulf wrote: ↑Fri Aug 27, 2021 2:32 pmSecond problem:
With the tty2oled connected and running, spurious level meter activity is sometimes observed on the MT32-pi. This can be a single meter rising and falling or all meters showing lots of activity, eventually followed by a "sysex overload" message and the MT32-pi appearing to reboot. d0pefish stated this was down to something "wiggling" the serial port pin that the MT32-pi uses to communicate with the MiSTer. Others suggested it may be down to RF interference from a noisy OLED board on the tty2oled, so I connected it up via a 3m USB extender cable, moved the tty2oled to the opposite side of the room, and still observed the strange meters activity.
USB hub supplies BT, WiFi, Keyboard, Mouse, Joystick and tty2oled - MiSTer supplies mt32-pi
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
After I updated one of my MiSTer's with "Update All" today (Release 20210825) the tty2oled stops working.
I had to run the Updater again to get the Scripts back onto the MiSTer and I had to rename
/etc/init.d/S60tty2oled to /etc/init.d/S99tty2oled to get it working again.
Are there others with this problem?
I had to run the Updater again to get the Scripts back onto the MiSTer and I had to rename
/etc/init.d/S60tty2oled to /etc/init.d/S99tty2oled to get it working again.
Are there others with this problem?
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Whichever one comes with the 8bitdo 2.4GHz M30 controller, one of these:
You do not have the required permissions to view the files attached to this post.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
That's interesting, my PSU is pretty good, although I've not measured voltage on rails within the system. I've put my inline USB meter on the tty2oled, though, and it's only pulling 0.08A, so I'd have to be *very* unlucky for that to be causing the problems I think.RealLarry wrote: ↑Fri Aug 27, 2021 3:35 pm
I'd a similar issue some days ago after finishing and testing my MiSTer-AjSTer setup. 'till finishing up the whole setup (including mt32-pi by USB cable via user port and tty2oled) I've used a MeanWell GST40A05-P1J power supply and this was working fine. But after completing the setup with the official USB hub (Y-cable from power supply to MiSTer and hub) I could measure voltage drops down to 4.7V on one line (4.8V went fine, depending on moonphase and used drugs). Swapped the power supply against a MeanWell RS-25-5 set to 5.1V (and it's doing this and nothing other) all problems are gone and whole setup is running stable since then.
USB hub supplies BT, WiFi, Keyboard, Mouse, Joystick and tty2oled - MiSTer supplies mt32-pi
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Have you tried to swap/change the order of the USB Plugs?
Do you have MT32pi Problems with or without the tty2oled because you wrote
while the meters were moving without any MT32-pi audio activity I disconnected the tty2oled from the USB cable and the behaviour persisted.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
@WiteWulf:
What happens if you do the following:
- disconnect the MT32-pi
- power up your setup
- connect the MT32-pi
I also think that your problems are related to your power supply. Because there is no power sequencing on the 5V rail the inrush current during startup can be quite high. This can lead to a momentary voltage drop. Maybe this causes an unexpected behaviour during startup of Raspberry Pi and 8bitdo 2.4 GHz dongle.
What happens if you do the following:
- disconnect the MT32-pi
- power up your setup
- connect the MT32-pi
I also think that your problems are related to your power supply. Because there is no power sequencing on the 5V rail the inrush current during startup can be quite high. This can lead to a momentary voltage drop. Maybe this causes an unexpected behaviour during startup of Raspberry Pi and 8bitdo 2.4 GHz dongle.
Find my projects on Github: https://github.com/dtimber/
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Double check this as well
https://github.com/MiSTer-devel/Main_MiSTer/issues/297Incompatibilites with 8-bitdo m30 controllers / adapters and USB hub board v2.1 when other devices are plugged in
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
With MiSTer Release 20210829 everything works normal again for me.venice wrote: ↑Fri Aug 27, 2021 3:36 pm After I updated one of my MiSTer's with "Update All" today (Release 20210825) the tty2oled stops working.
I had to run the Updater again to get the Scripts back onto the MiSTer and I had to rename
/etc/init.d/S60tty2oled to /etc/init.d/S99tty2oled to get it working again.
Are there others with this problem?
Sorry for the confusion my but my MiSTer running the 20210825 Release still need /etc/init.d/S99tty2oled as Init Script.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
For the 2nd time since I have the Mister, a update_all update broke tty2oled and Xon Driver, both times, I had to run the update tty2oled script to install it back again, AND run the Xon Driver option in the pre-installed scripts to enable xbox controller support again.venice wrote: ↑Mon Aug 30, 2021 8:56 amWith MiSTer Release 20210829 everything works normal again for me.venice wrote: ↑Fri Aug 27, 2021 3:36 pm After I updated one of my MiSTer's with "Update All" today (Release 20210825) the tty2oled stops working.
I had to run the Updater again to get the Scripts back onto the MiSTer and I had to rename
/etc/init.d/S60tty2oled to /etc/init.d/S99tty2oled to get it working again.
Are there others with this problem?
Sorry for the confusion my but my MiSTer running the 20210825 Release still need /etc/init.d/S99tty2oled as Init Script.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
This is a known issue and we are working on something more persistent.stefer09 wrote: ↑Mon Aug 30, 2021 12:40 pm For the 2nd time since I have the Mister, a update_all update broke tty2oled and Xon Driver, both times, I had to run the update tty2oled script to install it back again, AND run the Xon Driver option in the pre-installed scripts to enable xbox controller support again.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
The renaming part, i didn't have to do though.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Which Release did you install?
After my manual update to the current Release 20210829 tty2oled works again with "/etc/init.d/S60tty2oled".
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Well didn't really "install" since my initial install months ago... i ran mister's update_all, that broke tty2oled, like last time i ran the tty2oled update script and when I check now, I see it's /etc/init.d/S60tty2oled
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
RealLarry has asked to include the tty2oled Updater into update_all which fix this issue automatically
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
I just ran the update script and was told I needed the newest version of the .ini so I went and grabbed that but am still getting the message.
Worth noting that the newest version still says 1.4 at the top:
Worth noting that the newest version still says 1.4 at the top:
# Version 1.4
#
# Copyright (c) 2021 ojaksch, venice
#
# v1.5 New Options CCSCRIPT
# Add "-echo" to TTYPARAM
# Add PICTURE_REPOSITORY
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Also, looking at the default settings I just went and changed those to what I wanted, but might be worth setting some of these to yes as default for the average user. Average person probably does want the script to be kept updated and to overwrite pictures with the new ones, and also grab the text images for when there isn't a graphical one.
# Userdata
CONTRAST="200" # Set/send your Contrast from 0..255, default by Arduino Sketch = 200
ROTATE="no" # Set to "yes" if you want the Display rotated by 180 degrees
SCRIPT_UPDATE="yes" # Set to "yes" if you want to update the tty2oled Scripts by the "Updater"
USBMODE="yes" # Set to "yes" if you use the USB Mode Sketch, set to "no" for SD or Standard Version
OVERWRITE_PICTURE="yes" # Set to "yes" if you want to overwrite existing Pictures if they're updated upstream
USE_TEXT_PICTURE="yes" # Set to "yes" if you want to download the Text-Pictures-Version, default is no
USE_US_PICTURE="no" # Set to "yes" if you want the US Version of the Pictures, default is "no"
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
v1.4 is the actual stable.
Everything I add to the next stable version is already in the INI file. That's the reason why you see v1.5.
Do you still get "update" messages after the update?
The next version will get more active defaults.
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
I had swapped the .ini file for the new one and it still gave me the message I couldn't update as it wouldn't be safe, so deleted the ini, ran the script to get a new one, then edited it again with my settings and is working fine again. All good this end now.
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
I had a thought for a possible script, I am not sure how doable it would be, but it could be useful to have a cleanup script. Running it would check the files in the folder against what is in the repo and flag up which ones are in the drive but not in the repo (i.e. not used). Maybe an optional command to delete the unused ones if that is doable.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Hi everyone! I have issues with my tty2oled. I updated Mister and the tty2oled is not working. I deleted and installed again but i don't know what's happening. It seems load the core and i can see the core name in txt but after a few seconds the screen goes black.
Any clues?
Any clues?
- RealLarry
- Top Contributor
- Posts: 883
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 386 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
According to the photo it looks like that you have updated tty2oled as well, but are using an older sketch on your ESP. I'd update that, too...jawler wrote: ↑Thu Sep 09, 2021 8:28 am Hi everyone! I have issues with my tty2oled. I updated Mister and the tty2oled is not working. I deleted and installed again but i don't know what's happening. It seems load the core and i can see the core name in txt but after a few seconds the screen goes black.
Any clues?