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 shows up with alternative USB ID so dfu-util fails

    Scheduled Pinned Locked Moved Issues & Bugs
    pytrack usb
    5 Posts 2 Posters 1.4k 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.
    • N Offline
      nicbkw
      last edited by

      0_1516356171979_243dde43-2e43-48a6-841b-10c5e7279256-image.png
      Note that USB ID shows as 04D8:F013 and the firmware image update is for 04D8:F014

      So, even if I supply the detected USB ID, dfu-util fails

      dfu-util-static.exe -device 04D8:F013 -D pytrack_0.0.8.dfu
      dfu-util 0.9

      Match product ID from file: f014
      No DFU capable USB device available

      Windows 10 Pro, build 1709 on a Toshiba Portege laptop...

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

        If it's says F013 it's not in DFU mode. Make sure you are pressing the button on the Pytrak as you plug into USB. Then you only have 6 seconds while the board is in DFU mode.

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          nicbkw @jmarcelino
          last edited by

          @jmarcelino - thanks for the quick reply. Using Zadig, I have managed to see the Pytrack as an unknown device with USB ID 04D8:F014. However, when I follow the inistructions and press button, connect USB, wait 1 second, release button wait one second, run dfu-util, I see this:

          dfu-util-0.9-win64>dfu-util-static.exe -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
          Cannot open DFU device 04d8:f014
          No DFU capable USB device available

          If I wait until I hear the USB disconnect as the Pytrack leaves dfu mode then I see

          dfu-util-0.9-win64>dfu-util-static.exe -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
          No DFU capable USB device available

          So, what might be causing dfu-util to report "...Cannot open DFU device 04d8:f014..."? - thanks!

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jmarcelino @nicbkw
            last edited by jmarcelino

            @nicbkw
            You need to use Zadig to set the 04D8:F014 device as libusbK driver, if it's unknown it won't work. You need to follow the steps from https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.htm

            Alternatively an easier solution might be to install the Pytrack DFU Windows driver I made a while ago for the PyTrack: http://metavurt.net/software/drivers/PyTrack_DFU.zip

            Most people have had success with this.

            Once the driver issue is solved dfu-util should work.

            1 Reply Last reply Reply Quote 0
            • N Offline
              nicbkw
              last edited by

              I could not get this to work on Windows whatever I tried. Switched to Mac and dfu-util worked first time...

              Thanks - for anyone else reading this trail, forget Windows, try Mac :-)

              1 Reply Last reply Reply Quote 1

              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