7565 views|4 replies

1

Posts

0

Resources
The OP
 

Raspberry Pi PICO keeps reporting the error "Device is busy or does not respond. Your options:" [Copy link]

 

When using thonny IDE to connect to pico, it will show

Device is busy or does not respond. Your options:

- wait until it completes current work;
- use Ctrl+C to interrupt current work;
- use Stop/Restart to interrupt more and enter REPL.

Then the stop button doesn't work. The following error is reported. Does anyone know how to fix this?

ERROR thonny.plugins.micropython.backend: Crash in backend
Traceback (most recent call last):
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/micropython/backend.py", line 135, in __init__
self._prepare_after_soft_reboot(clean)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/micropython/backend.py", line 154, in _prepare_after_soft_reboot
self._execute_without_output(script)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/micropython/backend.py", line 545, in _execute_without_output
raise ManagementError(script, out, err)
thonny.plugins.micropython.backend.ManagementError: Problem with a management command

SCRIPT:

class __thonny_helper:
try:
import uos as os
except ImportError:
import os
import sys
import builtins

# for object inspector
inspector_values = dict()
@classmethod
def print_repl_value(cls, obj):
global _
if obj is not None:
cls.builtins.print('[object_link_for_thonny=%d]' % id(obj), repr(obj), '', sep='')
_ = obj

@classmethod
def print_mgmt_value(cls, obj):
cls.builtins.print('<thonny>', repr(obj), '</thonny>', sep='', end='')

@staticmethod
def repr(obj):
try:
s = repr(obj)
if len(s) > 50:
s = s[:50] + "..."
return s
except Exception as e:
return "<could not serialize: " + str(e) + ">"

@classmethod
def listdir(cls, x):
if hasattr(cls.os, "listdir"):
return cls.os.listdir(x)
else:
return [rec[0] for rec in cls.os.ilistdir(x) if rec[0] not in ('.', '..')]


@classmethod
def getcwd(cls):
if hasattr(cls, "getcwd"):
return cls.os.getcwd()
else:
# micro:bit
return ""

@classmethod
def chdir(cls, x):
return cls.os.chdir(x)

@classmethod
def rmdir(cls, x):
return cls.os.rmdir(x)


STDOUT:

board info:

board name: Raspberry Pi Pico with RP2040
micropython version: 1.15.0

buildin modules

__main__ gc uasyncio/funcs uos
_boot machine uasyncio/lock urandom
_onewire math uasyncio/stream ure
_rp2 micropython ubinascii uselect
_thread onewire ucollections ustruct
_uasyncio rp2 uctypes usys
builtins uarray uerrno utime
cmath uasyncio/__init__ uhashlib uzlib
ds18x20 uasyncio/core uio
framebuf uasyncio/event ujson
Plus any modules on the filesystem

system freq: 125 MHz

memory: 192064

Disk size:
total: 1441792
free: 1417216


STDERR:


Backend terminated or disconnected. Use 'Stop/Restart' to restart.

Latest reply

I am also using esp32-cam, how did you solve it?   Details Published on 2021-8-20 16:13
 
 

1w

Posts

25

Resources
2
 

Is the firmware downloaded?

 
 
 

6593

Posts

0

Resources
3
 

The device is busy or unresponsive. This situation is also related to the driver

 
 
 

2

Posts

0

Resources
4
 
I also encountered this problem when I downloaded the firmware on ESP32 cam
 
 
 

1

Posts

0

Resources
5
 
an Nancheng published on 2021-5-30 10:48 I also encountered this problem when I downloaded the firmware on ESP32 cam

I am also using esp32-cam, how did you solve it?

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list