-
Notifications
You must be signed in to change notification settings - Fork 48
Guru Meditation Error after soft reset #326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
you cannot do a soft reset. Soft reset only resets the software and not the hardware so what happens is when the drivers start back up for the display and attempt to reattach to the GPIO pins you get the core panic. |
What's the official way to restart after changing the code then? |
yes |
Any idea how to hack Thonny to do a machine.reset() after saving a file, instead of a soft reset? |
search the discussions in this repo. I modified the files needed in Thonny and posted them in a discussion with instructions on how to apply them,. I didn't test the code so it may need to be modified some to get it to work properly. but you are more then welcome to give it a test and see what happens |
Describe the bug
After doing a soft reset with CTRL-D or machine.soft_reset(), I get the following error:
But: boot.py and main.py are executed without a problem.
When running the current code file from Thonny with "Run current script", I get the error:
Expected behavior
Soft reset without error.
**Exact make and model number of the MCU that you are compiling for or the firmware is running on. **
For ESP32 MCU's The PSRAM and FLASH SPI type, quad SPI or octal SPI.
Windows 10, WSL v2
python3 make.py esp32 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=ili9341 INDEV=xpt2046
The text was updated successfully, but these errors were encountered: