Open arduino12 opened 8 months ago
Do you see this same behavior on 8.2.9?
Yes on both 8.2.9 and 9.0.0, Made a video of running the code above: (first time I run it- it work and draw a small rect, after I press ENTER and on every next run - showing white vertical lines):
https://github.com/adafruit/circuitpython/assets/11454280/a04b629f-8e08-4192-bcfc-32ca9bc83588
Please post a picture. The video file is corrupt.
Here is a screenshot from the video on this page:
Let me know if I can provide more help :)
I ran into the same problem on the two Feather ESP32-S2 boards I have. I narrowed down the regression to something that happened between these two UF2
files:
adafruit-circuitpython-adafruit_feather_esp32s2-en_US-8.2.0-beta.1.uf2
[WORKS]adafruit-circuitpython-adafruit_feather_esp32s2-en_US-8.2.0-rc.0.uf2
[FAILS]I tested by installing the UF2, running the code, saving the same code back to the device (forcing a soft-reboot). As mentioned above, the initial load works, but forcing the soft-reboot causes the vertical lines to display.
CircuitPython version
Code/REPL
Behavior
Display works on the first time, But after pressing ENTER - it is re-initialized and the bug occurs.
Running the code again won't work either- the only way to fix it is with a hardware-reset to the board.
Description
Bug occurs only on ESP32-S2 (it seems to draw the REPL text for a split second before the white vertical lines), on my ESP32-S3 it works as expected.
I tried using
DigitalInOut
on GPIOs,gc.collect()
,supervisor.reload()
,I tried adding to code.py:
status_bar.console = False
,status_bar.display = False
.. Nothing seems to fix it - only a hardware-reset (or a__import__('microcontroller').reset()
).Same thing here: https://github.com/adafruit/circuitpython/issues/8303#issuecomment-1836480620
It makes it hard to develop the code since a hardware-reset is needed before every re-run.
Additional information
No response