ESP32 "Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled."
Posted: Mon Sep 25, 2023 6:18 am
I have a question about the operation of ESP32 after uploading code in the Arduino IDE environment.
This problem has been bothering me for several weeks.
Let me first describe my environment:
OS version: Windows 10 Pro 22H2 (19045.3324)
Arduino version: 1.8.13
Board Manager ESP32 version: 2.0.13 (by Espressif System)
The problem is described as follows:
This code was developed in 2021 using "DOIT ESP32 DEVKIT V1" and everything was working fine at that time.
Recently, I needed to copy a system and purchased two development boards "NodeMCU-32S" and "ESP32 DevKit V1" through the Internet for program upload.
After the upload was completed, I found through the Serial Monitor window that "the system booted repeatedly and continued to output register dumps" and the message "Guru Meditation Error: Core 1 Panic'ed (IllegalInstruction). Exception was unhandled" was displayed. Found in these messages.
The source code and the screenshots of Serial monitor output message are attached.
I would like to know:
1. What’s wrong with Code?
2. How should I deal with it?
This problem has been bothering me for several weeks.
Let me first describe my environment:
OS version: Windows 10 Pro 22H2 (19045.3324)
Arduino version: 1.8.13
Board Manager ESP32 version: 2.0.13 (by Espressif System)
The problem is described as follows:
This code was developed in 2021 using "DOIT ESP32 DEVKIT V1" and everything was working fine at that time.
Recently, I needed to copy a system and purchased two development boards "NodeMCU-32S" and "ESP32 DevKit V1" through the Internet for program upload.
After the upload was completed, I found through the Serial Monitor window that "the system booted repeatedly and continued to output register dumps" and the message "Guru Meditation Error: Core 1 Panic'ed (IllegalInstruction). Exception was unhandled" was displayed. Found in these messages.
The source code and the screenshots of Serial monitor output message are attached.
I would like to know:
1. What’s wrong with Code?
2. How should I deal with it?