I have tried this on two ESP32 dev boards on a windows 10 and windows 11 PC running Arduino IDE 2.2.1 and after uploading a sketch using that function the ESP 32 reboots repeatedly. I was able to downgrade the AppData/Local/Arduino15/packages/Esp32/hardware/Esp32 back to 2.0.11 and everything works as it did before… is this a known issue or do I need to do a reinstall?
BTW … the serial monitor reports Guru Mediation error: Core 1 panic’ed (LoadProhibited). Exception handled.
I have tried this on two ESP32 dev boards on a windows 10 and windows 11 PC running Arduino IDE 2.2.1 and after uploading a sketch using that function the ESP 32 reboots repeatedly. I was able to downgrade the AppData/Local/Arduino15/packages/Esp32/hardware/Esp32 back to 2.0.11 and everything works as it did before… is this a known issue or do I need to do a reinstall?
BTW … the serial monitor reports Guru Mediation error: Core 1 panic’ed (LoadProhibited). Exception handled.
With over 50 years of computer experience, the only valid reason for doing a reinstall is a hard drive failure or malware. The invalid reasons are much higher, and so far, you don't appear to qualify for that. 2.011 is the CURRENT release, what do you think you were using prior to rolling back to 2.0.11?
Since this is a Board issue and NOT library, it's extremely unlikely you have encountered a genuine issue that the Espressif team did not catch. I am not saying it's impossible, but very unlikely.
If you tell me the file you are trying to compile (I assume it's a library sample), I will try it on my machine to see if the problem follows the board release or the hardware.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
I have the same issue with both sketches attached
This is the update prompt I get before the Boards update
This is the directory structure before the update
This is the directory structure after the update
Here is the results of uploading the sketch after the update
if I put the old file structure in place the sketch works again (and I am prompted to perform the update again).
@bob55 It compiles fine for me. Show me your 'Additional Boards' entry in prefs. It looks like you are picking up a Beta 2.1.12
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
This is my additional boards entry
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
I have tried it with three different ESP32 boards.... it is only the sketches using audio.connecttohost that is causing the issue
@bob55 Here is mine, I think this is the 'official' version.
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Remember, I compiled the code you posted and it is fine.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bob55 I am really concerned you are showing me the library structure. There is never a need to go there, and most users never know it is there. I hope you are using the IDE to Install and Remove.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Thanks… I will give that on a try… the code compiles in both board versions… but if you look at the serial monitor during execution - that’s where I see the reboots.
It’s not a big deal… this is just a hobby for me….
@bob55 Just in case, here is a picture of how to do a 'remove' of a given version of board, of course you will need to follow that up with an install (pic included)
BTW, there is NO 2.0.12 !!!
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
I think you may have installed the Arduino ESP32 Boards which is at 2.0.12 whereas the Expressive ESP32 board latest is 2.0.11. As you called yours a development board then I guess its a plain old Expressive board which will not be suitable for the Arduino ESP32 board firmware.
If indeed you do an Arduino ESP 32 board and the latest board update gives you grief, then the best place to raise the concern is the Arduno forums.
Thanks.... I think you are correct....I've been lucky not to have any issue to this point.
@byron Here is the current versions for both esp32 entries.
These are from the 'official' boards repository I documented earlier. Both are still at 2.0.11. Maybe you are using the beta boards site?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@bob55 Here is the link to the espressif documentation where I got the 'stable' boards link from.
https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Here is the current versions for both esp32 entries.
These are from the 'official' boards repository I documented earlier. Both are still at 2.0.11. Maybe you are using the beta boards site?
Nope, here is the official board repository on my mac.