ESP32 - Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
Re: ESP32 - Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
Have you examined esp_now_init()? Maybe the USB connection isn't a red herring and it's actually the issue itself. Perhaps there's something relevant in that function that could offer a clue as to where to look next...
- aremmell
-
- Posts: 10
- Joined: Wed Dec 06, 2023 9:20 pm
Re: ESP32 - Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
I have as far as I can with the Boot Trace listed earlier, but it gives very little information. This is the latest Boot Trace output and its clearly pointing at esp_now_init:
Code: Select all
Exception:Error:
??:?:::0x40121b6c:esp_now_init
/builds/idf/crosstool-NG/.build/HOST-i686-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memset.S:61:::0x4008a6c8:__memset_aux
/builds/idf/crosstool-NG/.build/HOST-i686-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memset.S:69:::0x4008a6cd:__memset_aux
??:?:::0x40121b69:esp_now_init
C:\Users\Chris\source\repos\cmcooper1971\I2S Test Project/I2S Test Project.ino(156): error 0x400d4cca:InitESPNow()
C:\Users\Chris\source\repos\cmcooper1971\I2S Test Project/I2S Test Project.ino(687): error 0x400d62e9:setup()
c:\\Users\\Chris\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.14\\cores\\esp32\/main.cpp(42): error 0x400de29a:loopTask(void*)
0x40078000: ?? ??:0
??:?:::0x40080400:_init
0x400805f0: ?? ??:0
-
- Posts: 10
- Joined: Wed Dec 06, 2023 9:20 pm
Re: ESP32 - Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
Hi All,
It seems that I didn't check input power properly enough and in short, I was being stupid.
Basically for anyone reading this, I wasn't supplying enough voltage to the 5V input of the ESP DEV board, which meant it was dropping out when initialising the ESP_NOW_INIT.
Explanation:
Although described as a low drop out regulator, the onboard AMS1117 3.3V regulator requires 4.8V of input or higher when more current is being used. Although I was supplying 5v, this wasn't enough when the ESP_NOW_INIT started and it caused the DEV board to reboot. Applying voltage higher than 6V solved the problem.
Please see:
http://www.advanced-monolithic.com/pdf/ds1117.pdf
Please bear in mind that I had other circuitry being powered, including the 3.3V rail to the Class D Amplifier.
It seems that I didn't check input power properly enough and in short, I was being stupid.
Basically for anyone reading this, I wasn't supplying enough voltage to the 5V input of the ESP DEV board, which meant it was dropping out when initialising the ESP_NOW_INIT.
Explanation:
Although described as a low drop out regulator, the onboard AMS1117 3.3V regulator requires 4.8V of input or higher when more current is being used. Although I was supplying 5v, this wasn't enough when the ESP_NOW_INIT started and it caused the DEV board to reboot. Applying voltage higher than 6V solved the problem.
Please see:
http://www.advanced-monolithic.com/pdf/ds1117.pdf
Please bear in mind that I had other circuitry being powered, including the 3.3V rail to the Class D Amplifier.
Who is online
Users browsing this forum: No registered users and 57 guests