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.
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.
kupoRGB wrote: ↑Sat Jun 08, 2024 3:48 pmAre 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.
AngelicLiver wrote: ↑Sat Jun 08, 2024 6:52 pmNot 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!
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...
RealLarry wrote: ↑Mon Jun 10, 2024 9:25 amYes, 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, likeUsing 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?
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.
RealLarry wrote: ↑Mon Jun 10, 2024 12:21 pmHmm, 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?
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.
@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?
RealLarry wrote: ↑Tue Jun 11, 2024 12:35 pmNot 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?
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
neogeo81 wrote: ↑Wed Jun 12, 2024 7:13 amRealLarry wrote: ↑Tue Jun 11, 2024 12:35 pmNot 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.
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.
RealLarry wrote: ↑Wed Jun 12, 2024 9:05 amneogeo81 wrote: ↑Wed Jun 12, 2024 7:13 amRealLarry wrote: ↑Tue Jun 11, 2024 12:35 pmNot 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?
But would it fit into the already existing pins bracket?
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.
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.
RealLarry wrote: ↑Wed Jun 12, 2024 11:53 amYes. 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.
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!
neogeo81 wrote: ↑Wed Jun 12, 2024 12:09 pmI 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.
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.
For „other“ Screens you can use
RealLarry wrote: ↑Wed Jun 12, 2024 12:16 pmneogeo81 wrote: ↑Wed Jun 12, 2024 12:09 pmI 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.
neogeo81 wrote: ↑Thu Jun 13, 2024 6:53 amRealLarry wrote: ↑Wed Jun 12, 2024 12:16 pmneogeo81 wrote: ↑Wed Jun 12, 2024 12:09 pmI 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:
2x ESP32-DevKitcC-V4
3x TTGO-T8
4x Lolin32/Wemos Lolin32
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)
RealLarry wrote: ↑Thu Jun 13, 2024 7:24 amneogeo81 wrote: ↑Thu Jun 13, 2024 6:53 amRealLarry wrote: ↑Wed Jun 12, 2024 12:16 pmYou 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:
2x ESP32-DevKitcC-V4
3x TTGO-T8
4x Lolin32/Wemos Lolin32
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?
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?