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 + FiPy setup on Win7

    Scheduled Pinned Locked Moved Issues & Bugs
    pytrackfirmwareinstallationerror
    24 Posts 7 Posters 8.9k Views 7 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.
    • S Offline
      sandipg
      last edited by sandipg

      Hi,
      I'm trying to install the Pytrack firmware as a first step to getting my new FiPy up and running. I followed the instructions from https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.html

      Using Zadig, I got the firmware driver installed - 0_1514154338768_install_driver.png .

      However, when I later try to dfu-util to install the firmware, I get the below error:

      C:\Users\Sandip\Downloads>dfu-util-static.exe -D pytrack_0.0.8.dfu
      dfu-util 0.8

      Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
      Copyright 2010-2014 Tormod Volden and Stefan Schmidt
      This program is Free Software and has ABSOLUTELY NO WARRANTY
      Please report bugs to dfu-util@lists.gnumonks.org

      Match vendor ID from file: 04d8
      Match product ID from file: f014
      Cannot open DFU device 04d8:f014
      No DFU capable USB device available

      I am on Win 7.

      Thanks in advance for your assistance!

      ~Sandip

      J S 2 Replies Last reply Reply Quote 1
      • J Offline
        jmarcelino @sandipg
        last edited by jmarcelino

        @sandipg said in Pytrack firmware install fails:

        Hi Sandip,

        We're looking to simplify this process, instead of Zadig could you try the Pytrack DFU driver I posted a while ago? http://metavurt.net/software/drivers/PyTrack_DFU.zip

        Also as explained in the update instructions

        https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.htm

        make sure you are pressing the button on the Pytrack before connecting it to USB and then run dfu-util within 7 seconds of doing so (it's best of have the command typed in and ready to press Enter)

        Let me know if this works for you. Thanks!

        1 Reply Last reply Reply Quote 0
        • S Offline
          sandipg
          last edited by

          Hi @jmarcelino ,

          Thanks for your reply. It worked like a charm!

          Cheers,
          Sandip

          1 Reply Last reply Reply Quote 1
          • S Offline
            sandipg
            last edited by

            A short follow-up question:
            I'm proceeding with updating the firmware on the FiPy module (with PyTrack) as described in https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html#second

            When I run the Pycom firmware update tool, it says I need to conect the device to the computer using a 3.3V USB-UART adapter. I'd like to know the specifications of the adapter that should be used, for ex. 4-Pin, 6-Pin etc..

            Even better would be a link to the product since I will have to buy it separately now.

            ~Sandip

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

              Hi @sandipg

              The PyTrack acts the USB-UART adapter in your case, you don't need anything external.

              Sorry if the text caused confusion, I'll mark that for a future clarification.

              1 Reply Last reply Reply Quote 0
              • S Offline
                sandipg
                last edited by

                Hi @jmarcelino ,

                Thanks for your response. When I proceed with the Firmware update, it fails due to no connections.

                First, I cannot see the COM port in the drop down list (no device is detected when I connect the Pytack+Fipy via USB to the computer):

                0_1514371555429_pycom_update_fail.png

                I select FiPy in the next Window, which leads to:

                0_1514371601582_pycom_update_fail2.png

                Please let me know how to get this up and running. Thanks!

                ~Sandip

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

                  @sandipg
                  Can you check if you have the right driver? Maybe it changed where it shouldn't.

                  After connecting the Pytrack normally (don't press the button) run Zadig again, go to Options -> enable "List All Devices" then choose Pytrack from the drop down list.

                  Should show something like this. If not please post what driver is show in the "Driver" box.

                  0_1514372140351_Screen Shot 2017-12-27 at 10.54.11.png

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sandipg
                    last edited by

                    Here is the screenshot (The driver is missing)
                    0_1514375278329_zadig.png

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

                      @sandipg
                      Thanks, I think you may be missing the Windows 7 drivers?

                      Please follow the steps at:
                      https://docs.pycom.io/chapter/pytrackpysense/installation/drivers.html

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sandipg
                        last edited by

                        Thanks @jmarcelino .

                        I'd like to know the general order of installation: First I updated the firmware on the PyTrack, followed by the same on the FiPy as described in https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html#second

                        Is this the right way?

                        Or do I need to follow the steps in Section 4.2 and install also the software/libraries on the PyTrack before moving on to the FiPy?

                        Whenever I follow the first option (as laid out in Ch 1), I cannot see the COM port of the PyTrack+FiPy when I run the Pycom Firmware Update tool. (Even after installing the Win 7 driver)

                        Has anyone managed to get PyTrack + FiPy running in Windows? If yes, please share what you did.

                        Thanks!

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

                          @sandipg
                          Thank you for your patience, I do realise this can be confusing. The correct order for Windows 7 should be:

                          1. Update Pytrack firmware

                          2. Install Windows 7 drivers for Pytrack

                          You should have a new COM port on Device Manager at this point.

                          1. Unplug the devices. Physically put the Fipy onto the Pytrack and plug back into your USB port

                          2. Install and run the Pycom Firmware Updater (which currently only updates the the FiPy, LoPy, etc it doesn't update expansion boards like the Pytrack/Pysense)

                          3. Select the COM port which appeared in step 2

                          C S 2 Replies Last reply Reply Quote 0
                          • C Offline
                            crumble @jmarcelino
                            last edited by

                            @jmarcelino If you are working on a HowTo, add this, please:

                            If your Pytrack is not detected on Windows 7 as a COM device after a pytrack firmware update, deinstall the dfu drive.

                            If you are from spain an like to give us the Windows users a xmas gift, you still have some days to set up a minimalistic linux or *BSD virtual machine with all needed drivers for pytrack/pysense updates. Booting a VM is much easier than doing all this strange dfu driver Voodoo on windows.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sandipg @jmarcelino
                              last edited by

                              @jmarcelino Thanks again.

                              It works well until Step 3. With the FiPy on, Win 7 fails to detect the board (no COM port is visible). When I unplug the FiPy and connect just the PyTrack board, I can see the COM port. To double check if the firmware is still installed, I ran Zadig with just the PyTrack connected and this time it shows the driver installed.

                              So now the problem is that when the FiPy is connected to PyTrack, Win7 fails to detect the board (no COM port is visible).

                              How do I proceed?

                              J C 2 Replies Last reply Reply Quote 0
                              • J Offline
                                jmarcelino @sandipg
                                last edited by

                                @sandipg
                                Sorry for all basic question but can I ask if the FiPy is plugged the right way around (with the LED and reset button on top of the Pytrack USB connector) and all pins are correctly seated?

                                S 1 Reply Last reply Reply Quote 0
                                • C Offline
                                  crumble @sandipg
                                  last edited by

                                  @sandipg

                                  How do I proceed?

                                  Your pytrack is still deteced as an dfu and not com device. The dfu device will be visible only for 7 seconds. Open device manager, pug out pytrack, plug in again. If you see your device pop up as a dfu device:

                                  • open the device manger
                                  • select show all devices (or be really quick, the device will be visible for 7 seonds)
                                  • open dfu devices
                                  • right click on the pytrack device
                                  • select properties/details/drivers
                                  • click on deinstall
                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jmarcelino @crumble
                                    last edited by

                                    @crumble
                                    Really appreciate you trying to help but in this case @sandipg already seen the Pytrack as a COM port device, it's just when he tries with the FiPy.

                                    Also there is no need to remove the DFU driver as it's very convenient to have it for future upgrade. I can assure you it works without doing so, the DFU driver expects a different USB ID which only active when you press the button.

                                    So please don't remove the DFU driver that is not really a valid long term solution. Perhaps it worked for you in a specific case, maybe if you used Zadig it set the regular device with the wrong driver, but if you use the drivers I posted below this should not happen.

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sandipg @jmarcelino
                                      last edited by

                                      @jmarcelino Yes it is plugged in correctly. All the pins are fit snugly.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Sat @sandipg
                                        last edited by

                                        @sandipg Did this work for you?

                                        I am having the same issue. PyTrack is seen as a COM device. However, we I add the FiPy module to PyTrack I cannot see it as a COM device.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sandipg @Sat
                                          last edited by

                                          @sat Yes it worked when I used the drivers provided by @jmarcelino

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            stefan85e @sandipg
                                            last edited by stefan85e

                                            @sandipg Make sure you have the device in DFU mode...
                                            I tryied this many times sometimes It took me like 10 try to get the code in... also make sure you are in the right folder but it looks like you are in the right folder...

                                            =======================================

                                            Using DFU-util with Pytrack and Pysense
                                            In order to put Pyrack or Pysense in DFU mode, press and hold the button on the Pytrack/Pysense board whilst powering on the board (connecting the USB cable).
                                            Press the button and keep it held
                                            Next plug-in the USB cable to the host computer and wait 1 second before releasing the button.
                                            After this you will have approximately 7 seconds to run the DFU-util tool. -> This step you might have to do many times for it to work...

                                            https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.html

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

                                            Pycom on Twitter

                                            Pycom