Ever since I got two new ESP32 boards, the IDE crashes, not every time but fairly often. Also some sketches are not working properly! Last week one sketch printed out in my MAC Terminal Humidity, Temperature C and Temperature F every 5 seconds, now it prints once and just sits there. I am on IDE 2.3.6, should I upgrade to a later version, is this likely to overwrite something that may be corrupt?
It is definitely worth a try. You can always switch back to Arduino IDE 2.3.6 if you decide that for some reason you prefer that over the latest version.
I cannot find previous versions of the IDE on the website, can you point me in the right direction before I try the upgrade?
Thanks
You can find them on github: Releases · arduino/arduino-ide · GitHub
Which ESP boards are they? There are a umber of variants. Link? Picture?
Which board are you selecting in boards manager?
Is it only those particular two ESP boards that cause the IDE to crash?
Has the sketch been modified and a new version uploaded, or is it still the same code?
Have you tried a different USB cable?
Which operating system are you working on?
Does the IDE crash during a particular event such as uploading a sketch, resetting the board, receiving serial output on the Serial Monitor, or debugging?
Will be interesting to see whether version 2.3.8 or 2.3.10 solves it.
Here is the link:
I am selecting the ESP32 Dev board.
Yes it only crashes with those boards so far
The sketch has not been modified at all and I have tried different USB cables and different boards, none of them will work. I am on macOS Tahoe 26.5.1
Seems to be random, never had the app crash before this.
I will upgrade and see what happens. Do I need to do a full uninstall of my existing version before I install a new version?
By any chance do you have ESP32 boards in your additional URLs entry in preferences? If you do remove them and restart the IDE. They have not been needed for a while now.
Only the original esp8266 URL, should I remove that one?
No need; it's not for ESP32.
Any chance that you did update the ESP32 board package and/or libraries. Updates of the ESP32 cores often have undesired side effects.
There was an update of ESP32 by Espressif to version 3.3.10, I was on 3.3.8. I removed 3.3.10 and reinstalled 3.3.8 but no difference.
Obviously not an Espressif part or any other common aftermarket ESP that I have ever seen.
Who knows what is under the tin case.
No. That is not necessary.
Something a bit iffy me thinks!
If I was going to bet I would say that is a total fake. What functionality do you need, I mainly order the SEEED XIAO now for anything serious. Order direct from SEEED and you know it's legit. Be sure of what you want and read carefully, there is a comparison chart somewhere but I stumble on it and can't tell you more than that.
Otherwise if you need a bigger pin footprint, try Aliexpress or Amazon if you have deep pockets and order from 3 or 4 suppliers.
@sonofcy I dare say you are correct but I have hears that a lot of people have success with them. Anyway, I will order SEEED XAIO Boards, however to highlight my issue here is an old sketch that did work with one of the substandard ESP32-C3s.
//Serial Printing to Mac Terminal - Test
//Use ls /dev/tty.* to find port
//Use screen /dev/tty.<port name> <baud rate>
#include <Ansiterm.h>
#define VT100_h
#define BLINK "\033[5m"
#define OFF "\033[0m"
#define CLS "\033[2J"
Ansiterm ansi;
void setup() {
Serial.begin (38400);
Serial.print (CLS);
}
void loop() {
ansi.home();
//Serial.print (CLS);
delay (3000);
ansi.setBackgroundColor(BLACK);
ansi.setForegroundColor(GREEN);
Serial.println ("");
Serial.println ("Terminal Test 2026");
Serial.println ("");
delay (3000);
Serial.print (BLINK);
ansi.setBackgroundColor(RED);
ansi.setForegroundColor(WHITE);
Serial.print ("Test Terminal Printing");
Serial.println (" and Colours");
Serial.print (OFF);
ansi.setBackgroundColor(YELLOW);
ansi.setForegroundColor(BLACK);
delay (3000);
Serial.println ("");
Serial.print ("Amber warning");
Serial.println (" Beware");
Serial.println ("");
Serial.print ("Reset");
Serial.println (" Immediately");
Serial.print (OFF);
ansi.setBackgroundColor(BLACK);
ansi.setForegroundColor(GREEN);
delay (10000);
//Serial.print (CLS);
ansi.setBackgroundColor(GREEN);
ansi.setForegroundColor(BLACK);
Serial.println ("");
Serial.println ("Normal Operation ");
Serial.println ("Safe to resume!");
Serial.print (OFF);
ansi.setBackgroundColor(BLACK);
ansi.setForegroundColor(GREEN);
delay (5000);
Serial.print (CLS);
}
If I connect it to an UNO it works fine with the board and port connected in the IDE
Matching the Terminal Run command, with the appended baud rate.
However if I connect an ESP32-C3 to the IDE
and the Terminal end
It does not work at all saying no such directory of file exists. I used ls /dev.tty.* to ensure the run command was correct and the board shows up no problem. I think there is something corrupted somewhere but I haven't a clue where. The way things are going, I may just have to factory reset my Mac and start again!
I’d just update the IDE it’s safe and won’t overwrite anything. This doesn’t sound like corruption, more like an ESP32 or connection issue. If it prints once and stops, the board’s probably crashing or getting stuck. Try updating, reinstalling the ESP32 package, checking the board/port, and maybe swapping the USB cable.
Don't do that, the problem is with the boards. I have no idea what you are doing so I can't comment further other than to say are you sure that us supposed to work with both an UNO and an ESP32? Some esp32's have different interfaces connected to the USB slot, I would do a little investigating on that front.





