Skip to content
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

Crashes when uploading example code #13

Open
RaspberryPiDude314 opened this issue Jul 26, 2022 · 0 comments
Open

Crashes when uploading example code #13

RaspberryPiDude314 opened this issue Jul 26, 2022 · 0 comments

Comments

@RaspberryPiDude314
Copy link

RaspberryPiDude314 commented Jul 26, 2022

I'm experiencing a problem with the prebuilt firmware, and due to computer limitations I cannot build it myself. I've noticed whenever I attempt to upload either any example code listed or a small snippet of code simply starting LVGL and the watch that it will crash exactly every other time, and serial communication will be impossible. Thonny crashes with this error message. I was unable to find anything about this error message online, except for one in German about the Raspberry Pi Pico.
image
After this message, the code will run locally, but serial messages sent to or from the device will not work. Attempting to send serial data back to Thonny will result in the same error. Running code again from Thonny will result in a crash and reboot with no code running on the device. (Hence, "works every other time")
Crash message the second time:
image
Followed immediately by a reboot.
This has been tested uploaded to the ESP32 by multiple computers running different instances of Thonny, to the same result.
(Tested: MacOS and Windows)

Code snippet used:

import lvgl as lv
import ttgo
# Init watch
watch = ttgo.Watch()
power = watch.pmu
tft = watch.tft
# Init lvgl
lv.init()
watch.lvgl_begin()

Other scripts not using LVGL or TTGO do not experience this problem, and work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant