Page 47 of 50
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Sat Jun 08, 2024 5:51 pm
by venice
A note for the ESP32 self-compiling guys,
don‘t update your ESP32 Package to v3.x.
There are some API changes made from v2 to v3 which need some source code fixes before the ESP Package v3 can be used.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Sat Jun 08, 2024 6:52 pm
by AngelicLiver
kupoRGB wrote: ↑Sat Jun 08, 2024 3:48 pm
Are there any premade cases available with cut out slots for a tty2oled screen? I am going to be converting my MMS build into a JAMMIX build and would love to implement a screen like all of you awesome people. The GitHub has amazing examples, but I can’t find any information on the cases people have and how they modified them. I love Venice’s build!
Any help is appreciated, thanks!
Not that I am aware of. I have one of my MiSTer setups in a mini ITX case, I used a dremel/rotary tool to cut out a slot in the aluminium and 3D printed a bezel/frame to mount the screen.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Sun Jun 09, 2024 12:50 am
by kupoRGB
AngelicLiver wrote: ↑Sat Jun 08, 2024 6:52 pm
Not that I am aware of. I have one of my MiSTer setups in a mini ITX case, I used a dremel/rotary tool to cut out a slot in the aluminium and 3D printed a bezel/frame to mount the screen.
Okay great, I may have to get your 3D print file for a bracket!
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Mon Jun 10, 2024 7:21 am
by neogeo81
Anyone knows why i get this now? I didn't change anything, just had it not connected for a longer time.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Mon Jun 10, 2024 7:26 am
by RealLarry
neogeo81 wrote: ↑Mon Jun 10, 2024 7:21 am
Anyone knows why i get this now? I didn't change anything, just had it not connected for a longer time.
We haven't changed anything since 12/2023. Try another USB cable and reboot, these are mostly the culprits.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Mon Jun 10, 2024 9:03 am
by neogeo81
RealLarry wrote: ↑Mon Jun 10, 2024 7:26 am
neogeo81 wrote: ↑Mon Jun 10, 2024 7:21 am
Anyone knows why i get this now? I didn't change anything, just had it not connected for a longer time.
We haven't changed anything since 12/2023. Try another USB cable and reboot, these are mostly the culprits.
Nope, it isn't the cable unfortunately. Any other suggestions?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Mon Jun 10, 2024 9:25 am
by RealLarry
neogeo81 wrote: ↑Mon Jun 10, 2024 9:03 am
RealLarry wrote: ↑Mon Jun 10, 2024 7:26 am
neogeo81 wrote: ↑Mon Jun 10, 2024 7:21 am
Anyone knows why i get this now? I didn't change anything, just had it not connected for a longer time.
We haven't changed anything since 12/2023. Try another USB cable and reboot, these are mostly the culprits.
Nope, it isn't the cable unfortunately. Any other suggestions?
Yes, a bunch of What I'm wondering of is why your update says "Version of your tty2oled device is 0 ...". Maybe something hindered the update and your device is now borked.
Transfer the attachment to your MiSTer (best is /tmp), extract it there and run it:
Code: Select all
cd /tmp
7za x local_flasher.7z
bash ./local_flasher.sh esp8266 stable
If you want to stay at the "Testing" version - as shown in your photo - use testing instead of stable as 2nd parameter.
You should see some output then, like
Using BuildVer 230702
esptool.py v3.3.2
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: xx:xx:xx:xx:xx:xx
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x00053fff...
Flash params set to 0x024f
Compressed 340704 bytes to 248593...
Wrote 340704 bytes (248593 compressed) at 0x00000000 in 3.6 seconds (effective 754.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
for a successful update. Reboot MiSTer and report...
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Mon Jun 10, 2024 11:59 am
by neogeo81
RealLarry wrote: ↑Mon Jun 10, 2024 9:25 am
neogeo81 wrote: ↑Mon Jun 10, 2024 9:03 am
RealLarry wrote: ↑Mon Jun 10, 2024 7:26 am
We haven't changed anything since 12/2023. Try another USB cable and reboot, these are mostly the culprits.
Nope, it isn't the cable unfortunately. Any other suggestions?
Yes, a bunch of What I'm wondering of is why your update says "Version of your tty2oled device is 0 ...". Maybe something hindered the update and your device is now borked.
Transfer the attachment to your MiSTer (best is /tmp), extract it there and run it:
Code: Select all
cd /tmp
7za x local_flasher.7z
bash ./local_flasher.sh esp8266 stable
If you want to stay at the "Testing" version - as shown in your photo - use testing instead of stable as 2nd parameter.
You should see some output then, like
Using BuildVer 230702
esptool.py v3.3.2
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: xx:xx:xx:xx:xx:xx
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x00053fff...
Flash params set to 0x024f
Compressed 340704 bytes to 248593...
Wrote 340704 bytes (248593 compressed) at 0x00000000 in 3.6 seconds (effective 754.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
for a successful update. Reboot MiSTer and report...
Antonio pointed out that the chip is corrupted. I just ordered a new one.
Do you know how i can flash a new chip with the tty2oled software?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Mon Jun 10, 2024 12:21 pm
by RealLarry
neogeo81 wrote: ↑Mon Jun 10, 2024 11:59 am
Antonio pointed out that the chip is corrupted. I just ordered a new one.
Hmm, we never had such an issue with a fried chip, but if it's one of his products and he's saying to...!?
Do you know how i can flash a new chip with the tty2oled software?
Since you already have an existing setup at MiSTer, the same way as I described before. The script is doing the same thing as the installer or updater of tty2oled, which you also can use.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Tue Jun 11, 2024 10:09 am
by neogeo81
RealLarry wrote: ↑Mon Jun 10, 2024 12:21 pm
neogeo81 wrote: ↑Mon Jun 10, 2024 11:59 am
Antonio pointed out that the chip is corrupted. I just ordered a new one.
Hmm, we never had such an issue with a fried chip, but if it's one of his products and he's saying to...!?
Do you know how i can flash a new chip with the tty2oled software?
Since you already have an existing setup at MiSTer, the same way as I described before. The script is doing the same thing as the installer or updater of tty2oled, which you also can use.
so i don't need to flash it beforehand with the arduino app like in the github page described?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Tue Jun 11, 2024 12:35 pm
by RealLarry
neogeo81 wrote: ↑Tue Jun 11, 2024 10:09 am
so i don't need to flash it beforehand with the arduino app like in the github page described?
Not necessarily. With the Arduino App you control the (ie your) source code and some hardware option of your ESP.
Same for the installer of the github repo: Just connect a virgin ESP, run the installer and you get the firmware installed to your ESP together with all needed software parts on your MiSTer.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Tue Jun 11, 2024 1:40 pm
by venice
@neogeo81
Try to re-flash your ESP like RealLarry wrote.
But use stable.
This prevents from problems with broken code even this happens never before.
Did you order an ESP32 Device now?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 7:13 am
by neogeo81
RealLarry wrote: ↑Tue Jun 11, 2024 12:35 pm
neogeo81 wrote: ↑Tue Jun 11, 2024 10:09 am
so i don't need to flash it beforehand with the arduino app like in the github page described?
Not necessarily. With the Arduino App you control the (ie your) source code and some hardware option of your ESP.
Same for the installer of the github repo: Just connect a virgin ESP, run the installer and you get the firmware installed to your ESP together with all needed software parts on your MiSTer.
By running the installer you mean just run the update tty2oled script on the mister?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 7:15 am
by neogeo81
venice wrote: ↑Tue Jun 11, 2024 1:40 pm
@neogeo81
Try to re-flash your ESP like RealLarry wrote.
But use stable.
This prevents from problems with broken code even this happens never before.
Did you order an ESP32 Device now?
I can't reflash it with the stable as the script says fatal error: serial noise or corruption. see my screenshot above.
I ordered the same chip but with USB-C:
ESP8266 NodeMcu-CH340-V3
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 9:05 am
by RealLarry
neogeo81 wrote: ↑Wed Jun 12, 2024 7:13 am
RealLarry wrote: ↑Tue Jun 11, 2024 12:35 pm
neogeo81 wrote: ↑Tue Jun 11, 2024 10:09 am
so i don't need to flash it beforehand with the arduino app like in the github page described?
Not necessarily. With the Arduino App you control the (ie your) source code and some hardware option of your ESP.
Same for the installer of the github repo: Just connect a virgin ESP, run the installer and you get the firmware installed to your ESP together with all needed software parts on your MiSTer.
By running the installer you mean just run the update tty2oled script on the mister?
That or download and run the installer alone. Or just the loal_flasher.sh. But I would use the latter imho, when having an existing and working setup on MiSTer. Straight forward...flash, reboot, done.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 10:43 am
by venice
neogeo81 wrote: ↑Wed Jun 12, 2024 7:15 am
…
I ordered the same chip but with USB-C:
ESP8266 NodeMcu-CH340-V3
Try to get an ESP32 based device.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 10:47 am
by RealLarry
venice wrote: ↑Wed Jun 12, 2024 10:43 am
neogeo81 wrote: ↑Wed Jun 12, 2024 7:15 am
…
I ordered the same chip but with USB-C:
ESP8266 NodeMcu-CH340-V3
Try to get an ESP32 based device.
Absolutely correct. Even if you are going to get a new ESP, head over to an ESP32. More power, more RAM, more joy.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 11:41 am
by neogeo81
RealLarry wrote: ↑Wed Jun 12, 2024 9:05 am
neogeo81 wrote: ↑Wed Jun 12, 2024 7:13 am
RealLarry wrote: ↑Tue Jun 11, 2024 12:35 pm
Not necessarily. With the Arduino App you control the (ie your) source code and some hardware option of your ESP.
Same for the installer of the github repo: Just connect a virgin ESP, run the installer and you get the firmware installed to your ESP together with all needed software parts on your MiSTer.
By running the installer you mean just run the update tty2oled script on the mister?
That or download and run the installer alone. Or just the loal_flasher.sh. But I would use the latter imho, when having an existing and working setup on MiSTer. Straight forward...flash, reboot, done.
so just swap the chip, plug it into the mister and launch the tty2oled updater?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 11:43 am
by neogeo81
RealLarry wrote: ↑Wed Jun 12, 2024 10:47 am
venice wrote: ↑Wed Jun 12, 2024 10:43 am
neogeo81 wrote: ↑Wed Jun 12, 2024 7:15 am
…
I ordered the same chip but with USB-C:
ESP8266 NodeMcu-CH340-V3
Try to get an ESP32 based device.
Absolutely correct. Even if you are going to get a new ESP, head over to an ESP32. More power, more RAM, more joy.
But would it fit into the already existing pins bracket?
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 11:53 am
by RealLarry
neogeo81 wrote: ↑Wed Jun 12, 2024 11:41 am
so just swap the chip, plug it into the mister and launch the tty2oled updater?
Yes. Should work after launching the updater. It tries to identify the connected chip, should see that there no version information available and offers you to download and install the latest firmware - as you posted yourself above.
neogeo81 wrote: ↑Wed Jun 12, 2024 11:43 am
RealLarry wrote: ↑Wed Jun 12, 2024 10:47 am
venice wrote: ↑Wed Jun 12, 2024 10:43 am
Try to get an ESP32 based device.
Absolutely correct. Even if you are going to get a new ESP, head over to an ESP32. More power, more RAM, more joy.
But would it fit into the already existing pins bracket?
No. The ESP32 board requires an other PCB (and maybe housing), but it is worth to go that way.
The ESP8266 was used at the beginning of this project and is (was) working fine, but lacks of CPU power and RAM, so it is pretty sure that all further development of tty2oled disrespects the ESP8266 in favor to the ESP32.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 12:09 pm
by neogeo81
RealLarry wrote: ↑Wed Jun 12, 2024 11:53 am
neogeo81 wrote: ↑Wed Jun 12, 2024 11:41 am
so just swap the chip, plug it into the mister and launch the tty2oled updater?
Yes. Should work after launching the updater. It tries to identify the connected chip, should see that there no version information available and offers you to download and install the latest firmware - as you posted yourself above.
neogeo81 wrote: ↑Wed Jun 12, 2024 11:43 am
RealLarry wrote: ↑Wed Jun 12, 2024 10:47 am
Absolutely correct. Even if you are going to get a new ESP, head over to an ESP32. More power, more RAM, more joy.
But would it fit into the already existing pins bracket?
No. The ESP32 board requires an other PCB (and maybe housing), but it is worth to go that way.
The ESP8266 was used at the beginning of this project and is (was) working fine, but lacks of CPU power and RAM, so it is pretty sure that all further development of tty2oled disrespects the ESP8266 in favor to the ESP32.
I understand. I am not savy enough with sodering, so i would have need to buy a complete new one from antonio for 65 euros. Which is more then the 3 euros i paid for the new ESP8266. Maybe later i will upgrade to the new build.
But thanks anyway for the extensive help!
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 12:16 pm
by RealLarry
neogeo81 wrote: ↑Wed Jun 12, 2024 12:09 pm
I understand. I am not savy enough with sodering, so i would have need to buy a complete new one from antonio for 65 euros. Which is more then the 3 euros i paid for the new ESP8266. Maybe later i will upgrade to the new build.
But thanks anyway for the extensive help!
You are welcome!
Where are you located? Europe or "rest of the world"? Chances are high that I'm having some spare/naked ESP32 PCBs you could get for postage costs. And soldering an ESP32 to the PCB is a beginner's task as there are only pins "to connect". No small and fiddly parts.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Wed Jun 12, 2024 8:33 pm
by kupoRGB
What is the best way to do a fresh install of the tty2oled script? I had previously modded the .ini file to work with another screen related MiSTer project and now I want to convert it back in order to use a tty2oled screen.
Thanks!
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 3:29 am
by RealLarry
kupoRGB wrote: ↑Wed Jun 12, 2024 8:33 pm
What is the best way to do a fresh install of the tty2oled script? I had previously modded the .ini file to work with another screen related MiSTer project and now I want to convert it back in order to use a tty2oled screen.
Thanks!
A quick "refresh" would be to delete the edited file tty2oled-user.ini and to rerun update_tty2oled.sh afterwards.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 5:09 am
by venice
kupoRGB wrote: ↑Wed Jun 12, 2024 8:33 pm
….to work with another screen related MiSTer project …
For „other“ Screens you can use
https://github.com/venice1200/MiSTer_tty2x
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 6:53 am
by neogeo81
RealLarry wrote: ↑Wed Jun 12, 2024 12:16 pm
neogeo81 wrote: ↑Wed Jun 12, 2024 12:09 pm
I understand. I am not savy enough with sodering, so i would have need to buy a complete new one from antonio for 65 euros. Which is more then the 3 euros i paid for the new ESP8266. Maybe later i will upgrade to the new build.
But thanks anyway for the extensive help!
You are welcome!
Where are you located? Europe or "rest of the world"? Chances are high that I'm having some spare/naked ESP32 PCBs you could get for postage costs. And soldering an ESP32 to the PCB is a beginner's task as there are only pins "to connect". No small and fiddly parts.
I am in europe, CH.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 7:24 am
by RealLarry
neogeo81 wrote: ↑Thu Jun 13, 2024 6:53 am
RealLarry wrote: ↑Wed Jun 12, 2024 12:16 pm
neogeo81 wrote: ↑Wed Jun 12, 2024 12:09 pm
I understand. I am not savy enough with sodering, so i would have need to buy a complete new one from antonio for 65 euros. Which is more then the 3 euros i paid for the new ESP8266. Maybe later i will upgrade to the new build.
But thanks anyway for the extensive help!
You are welcome!
Where are you located? Europe or "rest of the world"? Chances are high that I'm having some spare/naked ESP32 PCBs you could get for postage costs. And soldering an ESP32 to the PCB is a beginner's task as there are only pins "to connect". No small and fiddly parts.
I am in europe, CH.
I'm having some spare PCBs left, indeed:
See here for an overview. It's up to you to choose and buy your favorite ESP32.
Postage would be €1,10 to Switzerland (10g per PCB, normal letter up to 20g)
ESP32s.jpg
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 9:28 am
by neogeo81
RealLarry wrote: ↑Thu Jun 13, 2024 7:24 am
neogeo81 wrote: ↑Thu Jun 13, 2024 6:53 am
RealLarry wrote: ↑Wed Jun 12, 2024 12:16 pm
You are welcome!
Where are you located? Europe or "rest of the world"? Chances are high that I'm having some spare/naked ESP32 PCBs you could get for postage costs. And soldering an ESP32 to the PCB is a beginner's task as there are only pins "to connect". No small and fiddly parts.
I am in europe, CH.
I'm having some spare PCBs left, indeed:
See here for an overview. It's up to you to choose and buy your favorite ESP32.
Postage would be €1,10 to Switzerland (10g per PCB, normal letter up to 20g)
ESP32s.jpg
oh cool. so i would only need to soder the pins of the esp32 and the pins to the display? all set correctly connection wise?
Would it fit in the actual 3d printed case i already have?
PXL_20240613_092724634.jpg
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 9:38 am
by RealLarry
neogeo81 wrote: ↑Thu Jun 13, 2024 9:28 amoh cool. so i would only need to soder the pins of the esp32 and the pins to the display? all set correctly connection wise?
Correct.
Would it fit in the actual 3d printed case i already have?
Dunno without exact measurements! But I'm in doubt because the existing housing/PCB has four screws to connect, which are missing at our PCBs.
Re: tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Posted: Thu Jun 13, 2024 11:28 am
by neogeo81
RealLarry wrote: ↑Thu Jun 13, 2024 9:38 am
neogeo81 wrote: ↑Thu Jun 13, 2024 9:28 amoh cool. so i would only need to soder the pins of the esp32 and the pins to the display? all set correctly connection wise?
Correct.
Would it fit in the actual 3d printed case i already have?
Dunno without exact measurements! But I'm in doubt because the existing housing/PCB has four screws to connect, which are missing at our PCBs.
ok so i could keep the screen and need to print a new case. are there 3d printer files for fitting cases?