tty2oled Troubleshooting

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
BrainStrain
Posts: 2
Joined: Sat Aug 12, 2023 6:33 am
Has thanked: 1 time

tty2oled Troubleshooting

Unread post by BrainStrain »

Hi all,

Sorry if this is the wrong place to post.

I am having trouble getting anything to display on the oled
Parts used -
-3.12 256*64 SSD1322 SPI OLED Display
-ESP32-DevKitC

I followed the wiki. Only snag is the wiki doesn't mention anything about FastLED library but I installed as it is mentioned in the latest usb sketch & is required to compile. But does show this in the log when verifying -

"In file included from C:\Users\test\Desktop\tty2oled\sketch\libraries\FastLED\src/FastLED.h:75,
from C:\Users\test\Desktop\tty2oled\sketch\MiSTer_SSD1322_USB\MiSTer_SSD1322_USB.ino:163:
C:\Users\test\Desktop\tty2oled\sketch\libraries\FastLED\src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

Still uploads after this message.

I did try the old monochrome version which does not use FastLED but I still do not get any display after flash.

Here is the last part of the upload log of latest usb version-

Code: Select all

[u]esptool.py v4.5.1
Serial port COM14
Connecting...............
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: d8:b5:21:aa:6c:3d
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00074fff...
Compressed 18992 bytes to 13112...
Writing at 0x00001000... (100 %)
Wrote 18992 bytes (13112 compressed) at 0x00001000 in 0.3 seconds (effective 493.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 231.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 718.0 kbit/s)...
Hash of data verified.
Compressed 410224 bytes to 242817...
Writing at 0x00010000... (6 %)
Writing at 0x000161e1... (13 %)
Writing at 0x0001c35e... (20 %)
Writing at 0x0002757c... (26 %)
Writing at 0x0003383c... (33 %)
Writing at 0x00038eb2... (40 %)
Writing at 0x0003e705... (46 %)
Writing at 0x00043e1c... (53 %)
Writing at 0x00049631... (60 %)
Writing at 0x0004e8dc... (66 %)
Writing at 0x00055053... (73 %)
Writing at 0x0005d68a... (80 %)
Writing at 0x00064eb7... (86 %)
Writing at 0x0006a35b... (93 %)
Writing at 0x0006f5ed... (100 %)
Wrote 410224 bytes (242817 compressed) at 0x00010000 in 3.7 seconds (effective 879.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...[/u]

I've made an album showing how wiring is currently setup. I redid the wire setup to match the diagram wiring colours so it is easier to follow.

RqRSKJu.jpeg
PIzHhwS.jpeg
GeEj947.jpeg
HPVAeOL.jpeg
ZRtGCzX.jpeg
k1zSDS9.jpeg
N2Bw60C.jpeg

I have tried latest Arduino suite & 1.8.16 used the in wiki.

Maybe another perspective can see something I am failing to see.

Thank you for the support

You do not have the required permissions to view the files attached to this post.
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 Troubleshooting

Unread post by RealLarry »

Better to use the corresponding thread here.
Wiring is looking ok at first look. The "pragma message" when compiling yourself can be ignored...patch pending.
In your Arduino IDE you have set your board to "ESP32 Dev Module" but are using a "ESP DevKitC v4", right? Then you have to set your board to "Wemos Lolin 32".

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
BrainStrain
Posts: 2
Joined: Sat Aug 12, 2023 6:33 am
Has thanked: 1 time

Re: tty2oled Troubleshooting

Unread post by BrainStrain »

RealLarry wrote: Sat Aug 12, 2023 9:08 am

Better to use the corresponding thread here.
Wiring is looking ok at first look. The "pragma message" when compiling yourself can be ignored...patch pending.
In your Arduino IDE you have set your board to "ESP32 Dev Module" but are using a "ESP DevKitC v4", right? Then you have to set your board to "Wemos Lolin 32".

Thank you RealLarry that was indeed the correct solution. Now working fine & can send commands with the correct response.

I had tested some example sketches that worked with board set to ESP32 Dev Module so I probably would not have found the solution myself.

I hope this helps someone in the future

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 Troubleshooting

Unread post by RealLarry »

BrainStrain wrote: Sat Aug 12, 2023 12:05 pm
RealLarry wrote: Sat Aug 12, 2023 9:08 am

Better to use the corresponding thread here.
Wiring is looking ok at first look. The "pragma message" when compiling yourself can be ignored...patch pending.
In your Arduino IDE you have set your board to "ESP32 Dev Module" but are using a "ESP DevKitC v4", right? Then you have to set your board to "Wemos Lolin 32".

Thank you RealLarry that was indeed the correct solution. Now working fine & can send commands with the correct response.

I had tested some example sketches that worked with board set to ESP32 Dev Module so I probably would not have found the solution myself.

I hope this helps someone in the future

Nothing to thank for - you are welcome. And some users have had this "issue" already a few times, so nothing new ;)
As always and normal: If you think you'd everything done correctly but it isn't working, you overlooked something. Even after a 2nd and 3rd revisit.

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 Troubleshooting

Unread post by venice »

BrainStrain wrote: Sat Aug 12, 2023 12:05 pm

Thank you RealLarry that was indeed the correct solution. Now working fine & can send commands with the correct response.

I had tested some example sketches that worked with board set to ESP32 Dev Module so I probably would not have found the solution myself.

I hope this helps someone in the future

Hi,
could you please double check the following tty2oled wiki page and tell me if you miss something that needs to be documented.

https://github.com/venice1200/MiSTer_tt ... o-Settings

//Edit
Please mark the thread as „Solved“.

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

Post Reply