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

    VSCode pymakr upload fails?

    Scheduled Pinned Locked Moved Pymakr
    3 Posts 2 Posters 65 Views 2 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.
    • M Offline
      Manu Lange
      last edited by Manu Lange

      I am really struggling to get reliable use of the pymakr extension for VSCode. I am only extremely occasionally able to upload a project. My project has roughly 50 python files and is 200-300KB.

      Attached are some screen grabs. I also have a PicoScope on the TX line (PC perspective, so "P0" on the Fipy) on the right hand side.

      Please see attached me interacting with the device via a terminal and no response from the upload button: I can't insert the URL as it is flagged as spam and I can't attach it because it is too small!

      And then after some vigerous resetting and restarting VSCode it starts uploading (seen on the picoscope) and then just stops.

      failed-upload.gif

      I'm on VSCode version 1.67.2 and Pymakr version v2.12.3 and Pycom MicroPython 1.20.3.b4 [v1.11-95ab8f63] on 2021-09-10; FiPy with ESP32

      This is incredibly frustrating! Can you help resolve this and / or provide a simple CLI tool for uploading a project folder?! The extension is / has been very unreliable.

      I am using the Fipy wired up as shown here: https://development.pycom.io/gettingstarted/programming/usbserial/ (No expansion board).

      1 Reply Last reply Reply Quote 0
      • Jakob Rosenberg 0J Offline
        Jakob Rosenberg 0
        last edited by

        Hi @Manu-Lange, thanks for reporting this.

        The quiet upload has been fixed and is available in the next patch. You can try it in the Pymakr preview.

        I have never seen a device stop mid-upload. If you're able to share the sources files, I'll be happy to see if I can replicate the issue.

        In settings->pymakr->debug->log level you can increase the level of logging, though in the event of a failed upload, I don't think it's a matter of log verbosity.

        I've given your issue high priority, so we can get it solved ASAP. For now I'll try create a randomized project in the ~ 50 files / 300 kb range. If you have any information that you think might expedite the solution, please let me know.

        1 Reply Last reply Reply Quote 0
        • Jakob Rosenberg 0J Offline
          Jakob Rosenberg 0
          last edited by

          I did a test with a ~550kb project consisting of 75 files using Pymakr - Preview. I was unable to reproduce any issues, but will do some further testing tomorrow. There could be room for performance improvements for existing files.

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

          Pycom on Twitter

          Pycom