When connecting an ESP8266 mini board which is requipped with an FTDI USB to serial chip, the IDE does not seems not very stable and results eventually in a blank screen .
The initial download goes well and it generally all works for a while.
The only way to get out of it is to kill the Arduino IDE process.
Operating System: WIndows 11
Version of FTDI Driver: 2.12.36.4 (same issue also detected with driver version 2.12.28)
Arduino IDE version: 2.3.3 (same issue also detected on version 2.3.2)
I have a strong suspicion that the blank screen (and freezing of the Arduino IDE) hence has to do with the way the USB/Serial communication is handled in case of the FTDI chipset.
This was tested on different computers by different students, different USB cables and mutiple ESP8266 boards
(When ESP8266 mini boards with the CH340 USB to serial chip are used, things are stable with version 3.5 or 3.7 of the ch340 driver)
Open the Arduino IDE installation folder. ⓘ The default installation location is at one of the following paths:
C:\Program Files\Arduino IDE
C:\Users\<username>\AppData\Local\Programs\Arduino IDE
(where <username> is your Windows username) If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
A context menu will open.
Select "Open PowerShell window here" from the menu.
Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
Type the following command:
& ".\Arduino IDE"
Press the Enter key.
Debug output should now be printed to the PowerShell window as Arduino IDE starts.
Wait for Arduino IDE to finish starting.
Perform whatever actions are required to put the IDE into the bad "blank screen" state.
Switch back to the PowerShell window.
Press the Ctrl+Shift+A keyboard shortcut.
This will select all the text in the PowerShell window.
Press the Ctrl+C keyboard shortcut.
This will copy the contents of the PowerShell window to the clipboard.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the "Reply" button to post the output.
Please let me know if you have any questions or problems while following those instructions.
For my feeling, 2.3.4 can't be worse than 2.3.3. I haven't experienced your specific problem so can't say for sure. I also haven't been working with 2.3.4 much as I only updated yesterday.
@padebo1965 you never provided the logs. Please follow the instructions I provided in post #4 and the forum helpers will take a look to see if we can identify the cause of the problem.
I spent a few months with this horrible problem, when I deleted the directory: ~/.config/arduino-ide/ it went back to normal.
A few days later, the black screen returned, everything ran under the black screen. When I hover the mouse, I sometimes see shadows and see the mouse changing, and I can click on some things. And I see the IDE updating board packages, etc; on logs.
I decided to analyze the structure of ~/.config/arduino-ide/ and I applied changes one by one, until I found it. In my case, ~/.config/arduino-ide/GPUCache is the villain. I delete it, and reopen Arduino IDE 2. Everything always goes back to perfect.
Here is my contribution: If you have this issue: "black screen" when opening Arduino IDE 2, delete ~/.config/arduino-ide/GPUCache . I don't know where it is in Windows, but it's easy to find.
GPUCache will be rebuild. I think it is a problem with GPU Driver update. (Not verified)