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

    [SOLVED] Unable to upgrade PyTrack/FiPy firmware using Pycom Upgrade

    Scheduled Pinned Locked Moved Firmware
    3 Posts 2 Posters 172 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.
    • A Offline
      amkrup
      last edited by amkrup

      I've been trying to upgrade my PyTrack + FiPy using the Pycom Upgrade tool that is available but every time I try to connect the board I keep getting "Could not connect to the board".
      Tried changing the baud settings and check uncheck the different settings but to no avail.

      USB-driver is installed and I can access the device using REPL and also upload/download/run files without any problems at all but upgrading the firmware to get a SigFox Device ID and PAC is not working.

      Using zadig and df-util also successfully updated the board so I'm clueless why I cannot upgrade.

      os.uname() returns following:

      sysname='FiPy', nodename='FiPy', release='1.20.1.r3', version='v1.11-58398d3 on 2019-12-12', machine='FiPy
      with ESP32', lorawan='1.0.2', sigfox='1.0.1', pybytes='1.3.0'
      

      I also don't seem to have a SigFox Device ID nor PAC as they come back as:

      SigFox DeviceID:  b'ffffffff'
      SigFox PAC:  b'ffffffffffffffff'
      

      when using following code:

      # print Sigfox Device ID
      print("SigFox DeviceID: ", binascii.hexlify(sigfox.id()))
      
      # print Sigfox PAC number
      print("SigFox PAC: ", binascii.hexlify(sigfox.pac()))
      

      Any ideas?

      EDIT: Solved in https://forum.pycom.io/topic/5788/solved-v2-register-sigfox-returning-response-registersigfoxdevice-is-missing-some-arguments/5

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

        The port must not be used by something else your IDE.

        You may run into problems on a device with a high load.. In such a case, open the IDE, stop the script with ctrl-c, close the IDE and start the udate programm. But mind your watchdog. Your device may boot into high load again ;)

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

          Was able to update the device using "Flash from local file" and using Fipy-1.18.3.tar which flashed successfully and I got to the confirmation page saying DeviceID, LoRa Mac etc. but SigFox ID and PAC-fields are missing...

          Is there any other way to get the SigFox ID's in order to register the device on SigFox Backend?

          Had to downgrade from 1.20.1.r3 to 1.18.3 due to rtc.ntp_sync-simply not working using 1.20.1.r3

          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