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

    PySense not recognised as DFU device

    Scheduled Pinned Locked Moved Issues & Bugs
    pysensefirmware upgradpytrack
    8 Posts 5 Posters 2.7k Views 6 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.
    • philwilkinsonP Offline
      philwilkinson
      last edited by

      Very similar problem to that previously discussed on the PyTrack
      Re: PyTrack not recognised as DFU device
      The thread for the PyTrack did not seem to find a resolution.

      I am using a RasPi3 and trying to upgrade the firmware on my PySense to pysense_0.0.8.dfu.
      On initially connecting the PySense to the RasPi I ran
      dmesg | grep ttyUSB
      and it picked up the PySense

      I then followed the instructions on the Pycom website. Reconnecting the PySense with the button pressed; wait for 1 second, then release and then ran
      dfu-util -D pysense_0.0.8.dfu

      this returned

      dfu-util 0.8

      Match vendor ID from file: 04d8
      Match product ID from file: f011
      dfu-util: Cannot open DFU device 04d8:f011
      dfu-util: No DFU capable USB device available

      the previous thread had some discussion about drivers. I am supposed to install something to allow me to upgrade the firmware?

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

        @philwilkinson
        Sounds like a permissions problem, you probably need to run dfu-util with sudo.

        sudo dfu-util -D pysense_0.0.8.dfu

        should work after you enter your password.

        A 1 Reply Last reply Reply Quote 0
        • philwilkinsonP Offline
          philwilkinson
          last edited by

          Oh yes, that would be a good idea...!
          Sorry about that. Rather basic error. Apologies but thanks @jmarcelino for responsing.
          Phil

          1 Reply Last reply Reply Quote 0
          • R Offline
            regines
            last edited by

            I'm having the same problem but for me using sudo doesn't help.

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

              @regines
              Are also seeing “dfu-util: Cannot open DFU device 04d8:f011”?

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                regines @jmarcelino
                last edited by

                @jmarcelino No, this line doesn't show up here. I only get the first two plus the fourth line.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Tombee
                  last edited by Tombee

                  Just received Pysense 1718001136 from Digikey today and connected LoPy 1711004932.
                  Identical problem with dfu-util not recognizing the Pysense.
                  Installed on Windows10 the driver using Zadig and selected libusbK as the driver. Successful.
                  opened Cmd window and ran dfu-util -D pysense_0.0.8.dfu
                  the identical 5 line response as above.

                  F:\Development\LoPy>dfu-util-static.exe -D pysense_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: f011
                  Cannot open DFU device 04d8:f011
                  No DFU capable USB device available

                  I loaded Atom 1.23.3 x64 and it won't connect with 192.168.4.1 - Connection error: Error: Login timed out

                  I was able to connect to LoPy through the Pysense USB using Tera-Term on Com11 and run micropython.

                  Jun 8 2016 00:22:57
                  rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
                  ets Jun 8 2016 00:22:57
                  rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
                  configsip: 0, SPIWP:0x00
                  clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
                  mode:QIO, clock div:2
                  load:0x3fff9010,len:8
                  load:0x3fff9018,len:812
                  ho 0 tail 12 room 4
                  load:0x40078000,len:3692
                  load:0x4009f000,len:944
                  entry 0x4009f1f0
                  rtc v134 Oct 20 2016 12:36:18
                  XTAL 40M
                  I (818) phy: phy_version: 246, Nov 18 2016, 17:30:07, 0, 0

                  tcpip_task_hdlxxx : 3ffe800c, prio:18,stack:2048
                  frc2_timer_task_hdl:3ffe9a24, prio:22, stack:2048
                  I (1514) wifi: pp_task_hdl : 3ffec27c, prio:23, stack:8192
                  mode : softAP(24:0a:c4:02:5b:bd)
                  dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1)
                  MicroPython v1.8.6-237-g9d21f17 on 2016-12-15; LoPy with ESP32

                  I noticed that the Zadig driver indicates the USB-ID is 04D8 F012 - Not the F011 that dfu is looking for.

                  What next?

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Ali Bakir @jmarcelino
                    last edited by

                    @jmarcelino Thank, with sudo It works !!

                    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