For a test, I installed Thonny on Windows/64 to use my existing Python 3.8. When connected to the Badger 2040 there is the option (bottom right) to set “MicroPython (Raspberry Pi Pico)” which I’ve taken. However, when trying to connect I get:
ERROR thonny.plugins.micropython.backend: Crash in backend
Traceback (most recent call last):
File “c:\tools\python38\lib\site-packages\thonny\plugins\micropython\backend.py”, line 131, in init
self._process_until_initial_prompt(clean)
File “c:\tools\python38\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py”, line 201, in _process_until_initial_prompt
self._interrupt_to_raw_prompt()
File “c:\tools\python38\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py”, line 420, in _interrupt_to_raw_prompt
self._write(INTERRUPT_CMD)
File “c:\tools\python38\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py”, line 533, in _write
self._connection.write(data)
File “c:\tools\python38\lib\site-packages\thonny\plugins\micropython\serial_connection.py”, line 83, in write
size = self._serial.write(data)
File “c:\tools\python38\lib\site-packages\serial\serialwin32.py”, line 325, in write
raise SerialTimeoutException(‘Write timeout’)
serial.serialutil.SerialTimeoutException: Write timeout
Backend terminated or disconnected. Use ‘Stop/Restart’ to restart.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
MicroPython v1.18-dirty on 2022-03-04; Pimoroni Badger2040 2MB with RP2040
Type “help()” for more information.
(I don’t know how to stop the above from wrapping)
Any ideas? I would be more convenient to use this Windows system.
Thanks,
David