Updating code is not working!!!
-
I'm trying to upload code to the board using the Pycharm with Micropython plugin. The Expansion does not respond.
Connecting to COM7 Uploading files: 0% (0/1) C:\dev\source\personal\embedded\pycom\blink\boot.py -> boot.py b'Traceback (most recent call last):\r\n File "boot.py", line 12, in <module>\r\nKeyboardInterrupt: \r\nPybytes library: v0.9.0\r\nStarting UART...\r\n' Traceback (most recent call last): File "C:\Users\abc\.PyCharmCE2018.2\config\plugins\intellij-micropython/scripts/microupload.py", line 138, in <module> main(sys.argv[1:]) File "C:\Users\abc\.PyCharmCE2018.2\config\plugins\intellij-micropython/scripts/microupload.py", line 79, in main files.put(remote_path, fd.read()) File "C:\Users\abc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\ampy\files.py", line 157, in put self._pyboard.enter_raw_repl() File "C:\Users\abc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\ampy\pyboard.py", line 192, in enter_raw_repl raise PyboardError('could not enter raw repl') ampy.pyboard.PyboardError: could not enter raw replI have a demo to do with this stuff, please help.
-
@averri Hi, any reason you're not using Pymakr with Atom or VSCode?
-
@dan I have done a factory reset (connecting G28 pin to the +3.3v). After that, I was able to upload the code again.
I had tried Pymakr with VisualStudio, it was not working fine. The Pymakr with Atom is working, but I prefer to use the Pycharm, the IDE is much better in many aspects.
-
@averri Why don't you use ftp?
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login