Device is busy or does not respond. Your options: #15835
Replies: 5 comments 4 replies
-
I've never seen this message. What software are you using that prints this message? Which esp32 device are you using? Do you get this message on your first connection with a newly flashed micropython firmware or after some other steps? |
Beta Was this translation helpful? Give feedback.
-
I am using thonny ide, trying to test R307s fingerprint but getting such
error from yesterday.
…On Thu, 12 Sep 2024, 07:37 glenn20, ***@***.***> wrote:
I've never seen this message. What software are you using that prints this
message? Which esp32 device are you using? Do you get this message on your
first connection with a newly flashed micropython firmware or after some
other steps?
—
Reply to this email directly, view it on GitHub
<#15835 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2YIIH36GCPIED6XGFIC6RTZWDZM7AVCNFSM6AAAAABOCEHXBWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRSGA3TMNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Ok, that message must be generated by thonny, I too have never seen it from micropython. You might get more info on what it means from thonny forums or similar. |
Beta Was this translation helpful? Give feedback.
-
What firmware have you installed on your board? CircuitPython or MicroPython? You probably need to install CircuitPython. If you have CircuitPython firmware, you need to select CircuitPython (generic) as the interpreter in Thonny. Or you can close your Thonny IDE completely and try to connect to your board using any terminal application on your PC. Do you get the REPL prompt? |
Beta Was this translation helpful? Give feedback.
-
The error message came from Thonny. Thonny tries to use UART to transfer files, but to do this, the REPL must be usable. So if your program runs in a loop directly after the boot, it's difficult to time the reset at the right point. If I do experiments, I use a Jumper to activate the main program execution. main.py from machine import Pin, Signal
def main():
"""
Busy-busy loop, should make it impossible for Thonny to do anything.
"""
while True:
while True:
pass
if __name__ == "__main__":
# https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf
# https://docs.micropython.org/en/latest/library/machine.Signal.html
jumper = Signl(Pin(4, mode=Pin.IN, pull=Pin.PULL_UP), invert=True)
# run main() only, if jumper is low == GPIO4 connected to GND
if jumper.value():
del jumper
main() If GPIO4 is used already, then try another pin which is next to a GND pin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Device is busy or does not respond. Your options:
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
How to resolve this ?
Tried updating interpretor several time but didn't work
Beta Was this translation helpful? Give feedback.
All reactions