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

    Cannot connect to REPL after firmware upgrade

    Scheduled Pinned Locked Moved Issues & Bugs
    4 Posts 2 Posters 278 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.
    • P Offline
      PikWay
      last edited by

      Hi,
      I was using gPy + pytrack without issues, but decided to upgrade firmare (both - pytack and gpy)
      Pytrack went fine:
      sudo dfu-util -D pytrack_0.0.8.dfu
      dfu-util 0.9

      Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
      Copyright 2010-2016 Tormod Volden and Stefan Schmidt
      This program is Free Software and has ABSOLUTELY NO WARRANTY
      Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

      Match vendor ID from file: 04d8
      Match product ID from file: f014
      Opening DFU capable USB device...
      ID 04d8:f014
      Run-time device DFU version 0100
      Claiming USB DFU Runtime Interface...
      Determining device status: state = dfuIDLE, status = 0
      dfu-util: WARNING: Runtime device already in DFU state ?!?
      Claiming USB DFU Interface...
      Setting Alternate Setting #0 ...
      Determining device status: state = dfuIDLE, status = 0
      dfuIDLE, continuing
      DFU mode device DFU version 0100
      Device returned transfer size 64
      Copying data from PC to DFU device
      Download [=========================] 100% 16384 bytes
      Download done.
      state(2) = dfuIDLE, status(0) = No error condition is present
      Done!

      Also gpy firmawe upgrade went fine (using firmware upgrade tool v1.16.0).

      Unfortunatelly now my VisualStudioCode hangs on
      Connecting to /dev/ttyACM0...

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

        @PikWay Can you connect with other tools like picocom or screen?

        P 1 Reply Last reply Reply Quote 1
        • P Offline
          PikWay
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • P Offline
            PikWay @robert-hh
            last edited by

            @robert-hh
            Hi Robert,
            I've deleted my custom code from the device (using ampy) and I'm now able to connect to it again.
            Checking what was causing it to hang.

            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