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

    OTA and jacking my system

    Scheduled Pinned Locked Moved Discussion
    2 Posts 2 Posters 31 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
      netskink
      last edited by

      I'm using the OTA sample code. The OTA sample server and client worked initially. When I switched to implementing the code in my existing code, it fails when it trys to rename non existant files. No worries. I patched that problem. The other problem is more difficult to solve. I've noticed that now when I try to load new code to the device directly, it appears that it does not do a full upload of all files. It seems that files which are saved locally are not recognized as needing update. How to resolve this?

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

        I believe this has to do with OTA versioning.. The OTA server will create a manifest for which version the device has to update to a new one. If you delete the current OTA version folder in the servers' file structure, the manifest will (Should) upload all files from the new version. You can check this yourself by asking for the manifest described in this section: https://docs.pycom.io/updatefirmware/ota/#how-to-use.

        If you enter a non-exisiting current version, it should only display 'new' files..
        Im not a big fan of the current OTA updating system as its confusing and not really user friendly in my experience,
        Please do let us know what you would like to see improved!
        Best,
        Gijs

        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