tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by lunch_box »

lunch_box wrote: Tue Aug 16, 2022 8:17 am Hi all, I have put together my tty2oled and connected it to my mister.

When I run the update script, I get this message “could not connect to interface. Please check usb connection and run script again”

Where am I going wrong? Also My screen does not power up, but I assume I need to update the ttgo8 first?

Thanks

Edit. I have looked through the thread and I typed lsusb into f9 menu on my mister, and the device does not show up. I’m stumped!
Hello all, still having no joy.

this is what i get after following the trouble shooting guide

/root# dmesg | grep tty
[ 0.196689] printk: console [ttyS0] disabled
[ 0.196778] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 48, base_baud = 6250000) is a 16550A
[ 0.196925] printk: console [ttyS0] enabled
[ 0.197833] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 49, base_baud = 6250000) is a 16550A
[ 1.247504] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

anyone able to assist before I just lob the whole lot in the bin :lol: my patience is gone with it

thanks in advance
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by LamerDeluxe »

lunch_box wrote: Thu Sep 08, 2022 9:57 am
lunch_box wrote: Tue Aug 16, 2022 8:17 am Hi all, I have put together my tty2oled and connected it to my mister.

When I run the update script, I get this message “could not connect to interface. Please check usb connection and run script again”

Where am I going wrong? Also My screen does not power up, but I assume I need to update the ttgo8 first?

Thanks

Edit. I have looked through the thread and I typed lsusb into f9 menu on my mister, and the device does not show up. I’m stumped!
Hello all, still having no joy.

this is what i get after following the trouble shooting guide

/root# dmesg | grep tty
[ 0.196689] printk: console [ttyS0] disabled
[ 0.196778] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 48, base_baud = 6250000) is a 16550A
[ 0.196925] printk: console [ttyS0] enabled
[ 0.197833] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 49, base_baud = 6250000) is a 16550A
[ 1.247504] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

anyone able to assist before I just lob the whole lot in the bin :lol: my patience is gone with it

thanks in advance
I see ttyACM0 in your log, is that also the device set in your ini file? It is ttyUSB0 by default. I have to use ttyACM0 there as my board uses a different chip because of the chip shortage. Looks like yours could be the same.
lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by lunch_box »

LamerDeluxe wrote: Thu Sep 08, 2022 10:29 am
lunch_box wrote: Thu Sep 08, 2022 9:57 am
lunch_box wrote: Tue Aug 16, 2022 8:17 am Hi all, I have put together my tty2oled and connected it to my mister.

When I run the update script, I get this message “could not connect to interface. Please check usb connection and run script again”

Where am I going wrong? Also My screen does not power up, but I assume I need to update the ttgo8 first?

Thanks

Edit. I have looked through the thread and I typed lsusb into f9 menu on my mister, and the device does not show up. I’m stumped!
Hello all, still having no joy.

this is what i get after following the trouble shooting guide

/root# dmesg | grep tty
[ 0.196689] printk: console [ttyS0] disabled
[ 0.196778] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 48, base_baud = 6250000) is a 16550A
[ 0.196925] printk: console [ttyS0] enabled
[ 0.197833] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 49, base_baud = 6250000) is a 16550A
[ 1.247504] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

anyone able to assist before I just lob the whole lot in the bin :lol: my patience is gone with it

thanks in advance
I see ttyACM0 in your log, is that also the device set in your ini file? It is ttyUSB0 by default. I have to use ttyACM0 there as my board uses a different chip because of the chip shortage. Looks like yours could be the same.
Ahh ok, how do I do that? sorry if that is a daft question :)
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Add the device /dev/ttyACM0 to the file /media/fat/tty2oled/tty2oled-user.ini.
All changes in /media/fat/tty2oled/tty2oled-system.ini will be overwritten by the updater.

See https://github.com/venice1200/MiSTer_tt ... n#ini-file Option TTYDEV.

Can we have photos from the used hardware.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by lunch_box »

I think I have already tried that

#
# File: "/media/fat/tty2oled/tty2oled-user.ini" User INI file
#

# The values in this file overrides the defaults in "/media/fat/tty2oled/tty2oled-system.ini"

#TTYDEV="/dev/ttyACM0"

still no joy :(
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

lunch_box wrote: Thu Sep 08, 2022 10:51 am I think I have already tried that

#
# File: "/media/fat/tty2oled/tty2oled-user.ini" User INI file
#

# The values in this file overrides the defaults in "/media/fat/tty2oled/tty2oled-system.ini"

#TTYDEV="/dev/ttyACM0"

still no joy :(

Code: Select all

#TTYDEV="/dev/ttyACM0"
is wrong as the Option is not used.

Code: Select all

TTYDEV="/dev/ttyACM0"
without the leading "#" is correct.

The leading "#" is for commenting out the option.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

lunch_box
Posts: 14
Joined: Sat Jun 27, 2020 7:15 am

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by lunch_box »

venice wrote: Thu Sep 08, 2022 10:53 am
lunch_box wrote: Thu Sep 08, 2022 10:51 am I think I have already tried that

#
# File: "/media/fat/tty2oled/tty2oled-user.ini" User INI file
#

# The values in this file overrides the defaults in "/media/fat/tty2oled/tty2oled-system.ini"

#TTYDEV="/dev/ttyACM0"

still no joy :(

Code: Select all

#TTYDEV="/dev/ttyACM0"
is wrong as the Option is not used.

Code: Select all

TTYDEV="/dev/ttyACM0"
without the leading "#" is correct.

The leading "#" is for commenting out the option.
I could kiss you!! It worked, thank you so much both, for your help :)
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by LamerDeluxe »

Awesome! I'm happy to hear that! Enjoy your cool TTY2OLED display!
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Great!
Remember to provide some photos and some more hardware infos.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

New! Hot! Sexy! Free chicks and beer! Erm, no, unfortunately, not. But even hot!
General purpose update script for tty2xxx displays (including i2c2oled and update_all)
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

It was JTFriday last Friday and a new Core appeared: Karate Champ (Patreons only for now), so here it is what we need for a rainy Sunday.
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Update your tty2oled Installation to get a new version of the Daemon Script which supports MiSTer SAM in a better way.

Changes:
If the file „/tmp/tty2oled_sleep“ exists on your MiSTer the tty2oled Daemon doesn‘t do anything until the file is removed.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

robng15
Posts: 26
Joined: Mon May 25, 2020 8:17 am
Has thanked: 1 time
Been thanked: 5 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by robng15 »

Here is my setup... quite comprehensive now.... 1Tb HDD, ttyoled, mt32-pi... HUGE screen...
IMG_20220918_115428.jpg
IMG_20220918_115421.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Bunker
Posts: 84
Joined: Sun Jan 02, 2022 10:29 am
Has thanked: 46 times
Been thanked: 10 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by Bunker »

robng15 wrote: Mon Sep 26, 2022 6:38 am

Here is my setup... quite comprehensive now.... 1Tb HDD, ttyoled, mt32-pi... HUGE screen...

That looks awesome! where can i buy the stuff to make my own ttyoled with case like that?

robng15
Posts: 26
Joined: Mon May 25, 2020 8:17 am
Has thanked: 1 time
Been thanked: 5 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by robng15 »

I purchased mine directly from Antonio Villena, at https://www.antoniovillena.es/store/product/tty2oled/ although they are out of stock at this instance. Excellent seller, quick processing and dispatch.
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

robng15 wrote: Mon Sep 26, 2022 6:38 am ... HUGE screen...
...with Mega-Big-Pixels :mrgreen:

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Hi Guys,
I added a new ScreenSaver into the testing Version of the tty2oled Display FW.
If you like to test this new ScreenSaver, you neeed at first update your tty2oled installation to get the new Daemon Script and the updated tty2oled-system.ini file.

After this add the following lines to your tty2oled-user.ini file

Code: Select all

SCREENSAVER_SCREEN_STARS="yes"
TTY2OLED_FW_TESTING="yes"
and save it.

After a reboot, run the updater again and update your tty2oled Display with the testing FW Version 221001T.

Wait until the Screensaver appears and let me know what you think about :mrgreen:
Post a picture if you like.

Report problems here.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Hi@all,
I released the new Stable tty2oled FW Version 221006.
Run "The Updater" to get available Script and INI Updates and the latest Display FW.

Changes:
  • New Screensaver "Stars"
    To activate the new Screensaver add the line

    Code: Select all

    SCREENSAVER_SCREEN_STARS="yes"
    to your tty2oled-user.ini file.
  • New Command "CMDSWSAVER,[0/1]"
    Just Switching the Screensaver easily on or off
  • New Command "CMDSHSYSHW"
    Shows Hardware & Software Infos on Screen
  • New Arduino Code Option "XOTA"
    Disable/Enable the "OverTheAir" FW Update functionality.
    The Pre-Compiled FW Version doesn't include OTA by default as we have "The Updater".
    The size of the ESP32 binary file decreased from 68 to 28 percent.

If you run "testing" on your system, remove the line

Code: Select all

TTY2OLED_FW_TESTING="yes"
from your tty2oled-user.ini file before you run "The Updater".

Report Problems here.

Note, as we have MGL files now, we may remove the US Picture Support from the tty2oled Scripts.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

UScr00ge
Posts: 18
Joined: Wed Jul 08, 2020 1:01 am
Location: USA
Has thanked: 3 times
Been thanked: 4 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by UScr00ge »

I ran the update and now I get a black screen on my ESP8266 tty2oled. The firmware update seemed to work fine, but now my tty2oled boots with the tty2oled logo but then goes to a black screen, never showing the MiSTer logo.

Core logos are also not functioning anymore .... just have a black screen after loading a core or arcade game. But once MiSTer SAM starts up automatically, I get this hot mess:
blackscreen-mister-sam.png
You do not have the required permissions to view the files attached to this post.
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Give us some details about your Device.
Do you build it by yourself or do you bought it?

I have successfully tested the Build with my 8266 but this is a selfmade system.

Let‘s first see to get your system working again, then we double check SAM.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

I am sorry to say but it looks like the update with the new Screensaver Module is too much for the 8266 as I see similar stability problems.

8266 User should not Update to 221006 if the Update is offered.

I will Rollback the build system to the last stable.
If the Rollback is done you need to downgrade your tty2oled display.

//Edit
Rollback to the last working stable v220723 is done.

ESP8266 Users on v221006 should do the following...

Make Sure MiSTer SAM is not started.
Open the MiSTers Command line via CLI or SSH and type:

Code: Select all

root# cd /media/fat/tty2oled/
/media/fat/tty2oled# wget https://raw.githubusercontent.com/venice1200/MiSTer_tty2oled/main/installer.sh
/media/fat/tty2oled# ./installer FORCE
to get Version v220723 back onto the device.
SAM should then work as before.

//Edit2
I will release a fix soon but the ESP8266 will not get the new Screensaver Feature as it causes stabilty issues because of not enough free system resources.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

phillai
Posts: 27
Joined: Wed Feb 03, 2021 11:35 pm
Has thanked: 5 times
Been thanked: 4 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by phillai »

UScr00ge wrote: Fri Oct 07, 2022 1:26 pm I ran the update and now I get a black screen on my ESP8266 tty2oled. The firmware update seemed to work fine, but now my tty2oled boots with the tty2oled logo but then goes to a black screen, never showing the MiSTer logo.

Core logos are also not functioning anymore .... just have a black screen after loading a core or arcade game. But once MiSTer SAM starts up automatically, I get this hot mess:

blackscreen-mister-sam.png
I had the same problem. I just deleted the tty2oled folder and redownloaded it again and it all works fine now!
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Are you running testing? That doesn't matter!

Great that you got it working again.

If you do a full reinstall create a backup of your tty2oled-user.ini file before you delete the folder ;)

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by LamerDeluxe »

Finally got around to testing the new starfield screen-saver, really cool! It looks very smooth. Would it be possible to have the stars fade in from the distance? Would be fun to have some more classic graphical screen-savers.
User avatar
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 Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by venice »

Hi@all,
I am Sorry about the issues with the 8266 Displays and the last "stable" :shock:

I released a new Stable tty2oled FW Version 221009 which doesn't include the new Screensaver "Stars" for the 8266.
Run "The Updater" to get available Script and INI Updates and the latest Display FW.

Changes:
  • New Screensaver "Stars“ but only for ESP32 based devices."
    To activate the new Screensaver add the line

    Code: Select all

    SCREENSAVER_SCREEN_STARS="yes"
    to your tty2oled-user.ini file.
  • New Command "CMDSWSAVER,[0/1]"
    Just Switching the Screensaver easily off or on
  • New Command "CMDSHSYSHW"
    Shows Hardware & Software Infos on Screen
  • New Arduino Code Option "XOTA"
    Disable/Enable the "OverTheAir" FW Update functionality for the ESP32.
    The Pre-Compiled FW Version doesn't include OTA by default as we have "The Updater".
    The size of the ESP32 binary file decreased from 68 to 28 percent.
If you run "testing" on your system, remove the line

Code: Select all

TTY2OLED_FW_TESTING="yes"
from your tty2oled-user.ini file before you run "The Updater".

I have tested especially with the 8266 and it was working fine for me.

Report Problems here.

Important Note!
My tty2oled Code uses more or less all of the available 8266 dynamic memory.
Means new and "bigger" features will only be added to ESP32 based devices.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

Wake up! Heads up! These are the latest pictures I did...
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
UScr00ge
Posts: 18
Joined: Wed Jul 08, 2020 1:01 am
Location: USA
Has thanked: 3 times
Been thanked: 4 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by UScr00ge »

The revised update seems to be working great now on my 8266 ... thanks for the quick fix venice!
Reg
Posts: 126
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 63 times
Been thanked: 34 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by Reg »

Can anyone help me find the Championship Sprint and Super Sprint cores please - didn't know they were around ?
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

Reg wrote: Sun Oct 16, 2022 9:04 am Can anyone help me find the Championship Sprint and Super Sprint cores please - didn't know they were around ?
Easy: they aren't existing. These games are Atari System 1 and System 2 boards, but for now only a somewhat
working core for System 1 is available.
We are far beyond the core list with our pictures :)
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Unread post by RealLarry »

New stuff for future cores!
montage.jpg
You do not have the required permissions to view the files attached to this post.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply