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

    Failed Firmware Update (Pysense)

    Scheduled Pinned Locked Moved Discussion
    6 Posts 3 Posters 42 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.
    • E Offline
      Elias Tapia
      last edited by

      This happens in the last step when running the comnad:
      sudo dfu-util -D pysense_0.0.8.dfu

      shows this:
      Captura de Pantalla 2021-03-24 a la(s) 11.48.11.png

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        peterp @Elias Tapia
        last edited by

        @Elias-Tapia I think I've heard of this before in the context of some problem between Mac OS and dfu-util. I can't remember the exact details, but do you have another computer available? That would be the simplest workaround

        E 1 Reply Last reply Reply Quote 0
        • G Offline
          Gijs
          last edited by

          You can find the complete context of this issue here: https://github.com/pycom/pycom-micropython-sigfox/issues/422. There is a workaround for macOS, but as my colleague mentioned, using a different operating system is the easiest solution

          1 Reply Last reply Reply Quote 1
          • E Offline
            Elias Tapia @peterp
            last edited by

            @peterp I don't have any other computer. I tried to downgrade the libusb to 1.0.22, but it seems to be a conflict with the dependency of dfu-util obviously it downloads the libusb 1.0.24. Any advice?

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gijs
              last edited by Gijs

              The fix is included in the master branch of libusb, though there has not been a release yet. It seems they're planning to release 1.0.25 before april (though that is not a guarentee), so either upgrade to the latest master version by building the libusb yourself, or sit tight for the next version to release. Unfortunately we do not have a better solution at this time, other than the ones mentioned above.

              Btw, any OS other than macOS would do the trick, so Im guessing a Virtual Machine would be appropriate as well (though I have not tried it that way yet). You could also use something like a raspberry pi.

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                peterp @Gijs
                last edited by peterp

                @Gijs said in Failed Firmware Update (Pysense):

                Im guessing a Virtual Machine would be appropriate as well (though I have not tried it that way yet)

                Indeed, I've heard a report of windows in virtual box on mac os works. I would assume other guest-OS/VM combos to work as well

                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