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

    Pytrack firmware update fails

    Scheduled Pinned Locked Moved Issues & Bugs
    firmware updatepytrack
    6 Posts 3 Posters 1.5k Views 3 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.
    • B Offline
      buw
      last edited by

      I get a "dfu-util: Lost device after RESET?" after initiating "dfu-util --device 05ac:8bcd -D ./pytrack_0.0.8.dfu".
      I am running Mac OS X, brewing the dfu-utils. The update of a wipy 2 with an Extension Board was successful.
      Any idea?

      The full output is:
      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/

      Deducing device DFU version from functional descriptor length
      Opening DFU capable USB device...
      ID 05ac:8bcd
      Run-time device DFU version 0100
      Claiming USB DFU Runtime Interface...
      Determining device status: state = appIDLE, status = 0
      Device really in Runtime Mode, send DFU detach request...
      Resetting USB...
      Deducing device DFU version from functional descriptor length
      dfu-util: Lost device after RESET?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @buw
        last edited by

        @buw there’s a timing issue to achieve the upgrade which is not necessarily obvious.

        What usually works for me is have the command ready in terminal, press and hold the button, plug in the USB port (on the computer, usually much easier), release button, wait 1 or 2 seconds, hit return. If it doesn’t work, try again.

        1 Reply Last reply Reply Quote 0
        • B Offline
          buw
          last edited by

          Thanks jcaron for confirming this. I was not really aware of this but operated as you proposed. So I am still not successful.
          Just to note: In the meantime I have tried to run the example code for the acc. sensor. It does not work and shows up with an I2C error. This is probably what I should have expected with the WiPy being updated and the PyTrack operating still with the old firmware.

          1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb
            last edited by

            The method I've found works best for me is as follows:

            1. Disconnect the board from USB and remove the **Py board
            2. prepare the dfu command in your terminal but don't press enter
            3. Press and hold the button on the Pysense/Pytrack
            4. Insert the USB
            5. wait a couple seconds
            6. run the dfu command

            You may need to try the above process a couple times to get it work, but this always seems to work the best for me.

            1 Reply Last reply Reply Quote 0
            • B Offline
              buw
              last edited by

              @seb: Thanks a lot! This time, the update process did not throw any error message. My fault was that I did not remove the **Py board.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jcaron @buw
                last edited by

                @buw I'm surprised that made a difference, I have nearly always upgraded Pysense boards with a module on. But whatever works for you!

                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