-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
My CLUE board is experiencing some phantom input and is going into the REPL when a program is done running without input from me. I suspect the two are related.
Test setup:
MacBook Pro 13" w/ touchbar running Mojave 10.14.6 (18G87)
Micro USB cable from adafruit: https://www.adafruit.com/product/4148
CalDigit TS3 Plus Thunderbolt 3 Dock
I was testing Dylan's code by copying over files using cp -R from his repo, as well as some libs from the bundle. When it first occurred I hadn't used an editor to write anything to the drive
- Dylan's code exits because I don't have all the libs
- I get the
Press any key to enter REPL. Use CTRL-D to reload.
a bit after it adds
Auto-reload be on. Put er files on USB to weigh anchor, er' bring'er about t' the REPL t' scuttle
After 30 seconds it repeats the "Press any key to enter the REPL use CTRL-D to reload.
- without any input from me it goes into the REPL after approximately 30 seconds.
, and I see the following (transcribed, may be some minor typos)
"
Adafruit CircuitPython 4.0.0-beta.4-1-27-g67440acd3 on 2020-02-03; Adafruit CLUE nRF52840 Express with nRF52840
>>>
raw REPL; CTRL-B to exit
>
I've tried a few more times and sometimes the timing or order is different, but the end result is always that I end up in the raw REPL. The big issue is that writing to the drive by saving an edit to code.py does not reload
I believe I reproduced it on a CP BLE though it's less certain because it doesn't have a screen to send REPL output to. The behavior I saw was that the previously loaded program that was flashing the neopixels stopped.
I left my clue plugged in over night and saw the following in the morning:

I reset it to test again and saw this which mentions a keyboard interrupt:

Of course now that I've taken the time to create this ticket I can't reproduce it anymore. I'm not sure what I may have changed between this morning and now but things seem to be working ok for now 🤷♂
I'll keep trying to reproduce it again