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

    Initial OTA firmware update - Howto?

    Scheduled Pinned Locked Moved GPy
    gpyfirmware
    2 Posts 2 Posters 439 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.
    • J Offline
      jadowdl
      last edited by

      I finally got my GPy board in the mail today, and was super excited, but it seems to be missing some of the libraries mentioned in the docs. For instance, LTE is missing from network, which is kind of a big deal for this device. I'm guessing I need to do a firmware upgrade - the version that shipped is "release 1.10.1.b1". But like a fool I didn't realize I needed to buy an expansion board to use the standard update process for linux/mac/windows, and it's going to be at least a week in the mail getting here. In the meantime I see that there are supposedly OTA updates supported, but I've lost all day to trying to trigger one without success. Specifically, I guessed out the url for GPy's release 1.18.0 from the downloads site and have appimg.bin from its .tar.gz, but I can't seem to get it to take. I've tried both FTP upload to /flash/sys/appimg.bin, and separately writing custom code that calls ota_start, ota_write a bunch of times on the 1256432 bytes pulled over network, and finishes with ota_end, with no error; but in both cases when the device restarts it always comes back up at 1.10.1.b1. I think I need to tie P2 to GND to invoke bootloader mode, but then I lose the FTP+telnet means of talking to the device I've been using. Relative embedded noob here, some hand holding appreciated.

      robert-hhR 1 Reply Last reply Reply Quote -1
      • robert-hhR Offline
        robert-hh @jadowdl
        last edited by robert-hh

        @jadowdl You do not need an expansion board. Almost any USB/UART bridge and a few cables will do. You just have ot take care that the USB/UART bridge can supply 5V while the UART signals are at 3.3v. If you already have a REPL prompt through USB, then you are almost set. The only additional step for upload is to connect P2 to GND and pzsh reset.
        About Pin numbers, look here:https://docs.pycom.io/chapter/datasheets/development/gpy.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 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom