Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Pymakr 1.1.13 does not work with VSCode 1.60.0

    Scheduled Pinned Locked Moved Software Tools
    24 Posts 11 Posters 197 Views 11 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jchernandez @Meric NESSANGE
      last edited by

      @Meric-NESSANGE Hello, how can I upload files to a pycom board through mpremote? My atom and pymakr updated automatically and now no working anymore :/

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @jchernandez
        last edited by robert-hh

        @jchernandez mpremote has a --help option. For copying files, you have to use the cp subcommand. So as example for copying a file to the board:

        mpremote connect /dev/ttyUSB0 cp myfile.py :myfile.py
        or just
        mpremote connect /dev/ttyUSB0 cp myfile.py :
        for using : as a shortcut for the baord's local directory and . for the PC's one. Copying back similar as:
        mpremote connect /dev/ttyUSB0 cp :myfile.py myfile.py
        or
        mpremote connect /dev/ttyUSB0 cp :myfile.py .

        The device names at Windows are similar COM3, COM4, .... Shortcuts are:
        u0 for connect /dev/tty/USB0

        Unfortunately the mount command of mpremote does not work with the PyCom version of MicroPython. That version is too old.

        To run a local script without copying it to the board use the run command. If you do not enter a command after the connect, mpremote opens a REPL session.

        And before I forget it: With Pycom devices and WiFi active you can always use FTP for copying files. A good FTP client is FileZilla. But some file managers allow using FTP paths as well. User name is micro, password is python.

        J B 2 Replies Last reply Reply Quote 1
        • J Offline
          jchernandez @robert-hh
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • B Offline
            Bernice McCarthy Banned @robert-hh
            last edited by Bernice McCarthy

            @robert-hh said in Pymakr 1.1.13 does not work with VSCode 1.60.0:

            @jchernandez mpremote has a --help option. For copying files, you have to use the cp subcommand. So as example for copying a file to the board:

            mpremote connect /dev/ttyUSB0 cp myfile.py :myfile.py
            or just
            mpremote connect /dev/ttyUSB0 cp myfile.py :
            for using : as a shortcut for the baord's local directory and . for the PC's one. Copying back similar as:
            mpremote connect /dev/ttyUSB0 cp :myfile.py myfile.py
            or
            mpremote connect /dev/ttyUSB0 cp :myfile.py .

            The device names at Windows are similar COM3, COM4, .... Shortcuts are:
            u0 for connect /dev/tty/USB0

            Unfortunately the mount command of mpremote does not work with the PyCom version of MicroPython. That version is too old.

            To run a local script without copying it to the board use the run command. If you do not enter a command after the connect, mpremote opens a REPL session cat mario

            And before I forget it: With Pycom devices and WiFi active you can always use FTP for copying files. A good FTP client is FileZilla. But some file managers allow using FTP paths as well. User name is micro, password is python.

            you can review the .py file, i think it has that problem

            1 Reply Last reply Reply Quote 0

            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
            • 1
            • 2
            • 2 / 2
            • First post
              Last post

            Pycom on Twitter

            Pycom