Thonny micropython W600 602 errors.
See original GitHub issueI am trying to get A W600 thumb drive with micropython running but i keep getting errors in Thonny. Anybody got an idea what went wrong here?
MicroPython v1.10-282-g6a9b3cb-dirty on 2019-09-17; WinnerMicro module with W600
Type "help()" for more information.
ERROR thonny.plugins.micropython.backend: Crash in backend
Traceback (most recent call last):
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 130, in __init__
self._prepare(clean)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 149, in _prepare
self._prepare_helpers()
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 196, in _prepare_helpers
self._execute_without_output(script)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 544, in _execute_without_output
out, err = self._execute(script, capture_output=True)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 518, in _execute
self._execute_with_consumer(script, consume_output)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py", line 548, in _execute_with_consumer
self._submit_code(script)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py", line 524, in _submit_code
self._connection.read_all_expected(expected_echo, timeout=WAIT_OR_CRASH_TIMEOUT)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\connection.py", line 117, in read_all_expected
assert expected == actual, "Expected %r, got %r" % (expected, actual)
AssertionError: Expected b'\nclass __thonny_helper:\n try:\n import uos as os\n except ImportError:\n import os\n import sys\n\n # for object inspector\n inspector_values = dict()\n last_repl_values = []\n @classmethod\n def print_repl_value(cls, obj):\n ', got bytearray(b'\r\nclass __thonny_helper:\r\n try:\r\n import uos as os\r\n except ImportError:\r\n import os\r\n import sys\r\n\r\n # for object inspector\r\n inspector_values = dict()\r\n last_repl_values = []\r\n @classmethod\r\n def print_repl_value(cls')
Traceback (most recent call last):
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 130, in __init__
self._prepare(clean)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 149, in _prepare
self._prepare_helpers()
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 196, in _prepare_helpers
self._execute_without_output(script)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 544, in _execute_without_output
out, err = self._execute(script, capture_output=True)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\backend.py", line 518, in _execute
self._execute_with_consumer(script, consume_output)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py", line 548, in _execute_with_consumer
self._submit_code(script)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\bare_metal_backend.py", line 524, in _submit_code
self._connection.read_all_expected(expected_echo, timeout=WAIT_OR_CRASH_TIMEOUT)
File "C:\Users\a\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\micropython\connection.py", line 117, in read_all_expected
assert expected == actual, "Expected %r, got %r" % (expected, actual)
AssertionError: Expected b'\nclass __thonny_helper:\n try:\n import uos as os\n except ImportError:\n import os\n import sys\n\n # for object inspector\n inspector_values = dict()\n last_repl_values = []\n @classmethod\n def print_repl_value(cls, obj):\n ', got bytearray(b'\r\nclass __thonny_helper:\r\n try:\r\n import uos as os\r\n except ImportError:\r\n import os\r\n import sys\r\n\r\n # for object inspector\r\n inspector_values = dict()\r\n last_repl_values = []\r\n @classmethod\r\n def print_repl_value(cls')
Backend terminated or disconnected. Use 'Stop/Restart' to restart.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[W600] IO pins not working
I have an Air602 that I am using to report sensor data over wifi. ... network import utime from machine import Pin with...
Read more >Getting Started with Thonny MicroPython (Python) IDE for ...
We've discovered some common problems and error messages that occur with Thonny IDE. Usually restarting your ESP with the on-board EN/RST button fixes...
Read more >Untitled
Tony gallegos facebook, Schein iceberg metaphor, Wheaten maran hatching eggs for sale, ... Freeware runtime error fixer, Sofia the first queen miranda, ...
Read more >Untitled
Promise brand shoes wholesale, Apologize piano sheet music tony dao, ... Van gogh les irises, Apple error code 4016, Escabeau telescopique 6m.
Read more >mu-editor/general
2021-01-02 10:50:51,375 - root:114(run) INFO: Python path: ['C:\Program ... other (non esp) micropython devices like the W600(air602) or the STM32 boards?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed under #1516, will be released in Thonny 3.3.2 (hopefully in a week)
Oh, this one is actually a bit different. W600 seems to add extra
\r
-s in the echo.