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 firmware update

    Scheduled Pinned Locked Moved WiPy 2&3
    17 Posts 9 Posters 4.5k Views 9 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.
    • L Offline
      livius @jcrfonera
      last edited by

      @jcrfonera
      you can only upgrade by UART
      ftp is curently not supported

      think about people first, then computers

      1 Reply Last reply Reply Quote 1
      • J Offline
        jcrfonera
        last edited by

        @livius
        Thank you for your answer, but it is the same as Xykon Nov 9, 2016

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          livius @jcrfonera
          last edited by

          @jcrfonera
          still bootloader is modified from version to version
          until that ftp update will be not possible

          think about people first, then computers

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

            @livius
            thanks for your reply.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jasonriedy
              last edited by

              The security aspects are... interesting to say the least. For my use, firmware updates in the LoRa window signed by some key under our control could be useful. And we have physical possession for a while before deployment but would like to extend the ability for updates to other bee keepers. This is an open area of practice/research in general. (Also not my area, so perhaps others know of the right mechanisms.)

              1 Reply Last reply Reply Quote 0
              • N Offline
                noobiemcfoob Pybytes Beta
                last edited by

                The updater doesn't work for me. I can connect via ftp but using the updater I get "Connecting... failure!" I have tried several computers and cables.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  acheesehead @livius
                  last edited by

                  @livius said in OTA firmware update:

                  @jcrfonera
                  still bootloader is modified from version to version
                  until that ftp update will be not possible

                  Does that imply that once the bootloader is stable, then OTA firmware update via FTP will be supported? This feature would be very important to us, unless the firmware becomes so stable that it is not changed appreciably.

                  Are there any plans to replace FTP and Telnet with scp and ssh? This is somewhat important to us.

                  1 Reply Last reply Reply Quote 1
                  • A Offline
                    arthurlutz @jmarcelino
                    last edited by

                    @jmarcelino said in OTA firmware update:

                    @admiral99
                    I don't have a breakout board either, just use a cheap (£1) USB-serial TTL adapter.

                    Just make sure it supports and it's set to 3.3v

                    I'm having trouble updating the firmware with my FTDI232, the REPL on pymakr works fine (in 5V), trying the update setup I'm switching to 3.3v, it should still be connected to VIN ou should it be connected to the 3.3 V pin ?

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

                      @arthurlutz
                      You really have to check your adapter, many 3.3V level TTL FTDI232 adapters - in fact the official FTDI-branded cable does that - deliver 5V on V+ so you should connect that one to Vin. Some have a pin marked 5V.

                      That's probably what you want because most adapters can't deliver enough power on their 3.3V output to power the Py boards, the regulator is too weak.

                      However any adapter should be set to 3.3V voltage level signals. That means TX and RX must use 3.3V.

                      If you do have a FTDI-style adapter that can deliver enough current on 3.3V (suggest 500mA) you can connect it to the 3.3V pin directly on the Py board.

                      Read closely before you buy and then if possible test it before using it.

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

                        FTDI 232-3V3 cable works.

                        http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf

                        @jmarcelino said in OTA firmware update:

                        @arthurlutz
                        You really have to check your adapter, many 3.3V level TTL FTDI232 adapters - in fact the official FTDI-branded cable does that - deliver 5V on V+ so you should connect that one to Vin. Some have a pin marked 5V.

                        That's probably what you want because most adapters can't deliver enough power on their 3.3V output to power the Py boards, the regulator is too weak.

                        However any adapter should be set to 3.3V voltage level signals. That means TX and RX must use 3.3V.

                        If you do have a FTDI-style adapter that can deliver enough current on 3.3V (suggest 500mA) you can connect it to the 3.3V pin directly on the Py board.

                        Read closely before you buy and then if possible test it before using it.

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

                          Specific part number is TTL-232R-3V3.

                          @acheesehead said in OTA firmware update:

                          FTDI 232-3V3 cable works.

                          http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf

                          @jmarcelino said in OTA firmware update:

                          @arthurlutz
                          You really have to check your adapter, many 3.3V level TTL FTDI232 adapters - in fact the official FTDI-branded cable does that - deliver 5V on V+ so you should connect that one to Vin. Some have a pin marked 5V.

                          That's probably what you want because most adapters can't deliver enough power on their 3.3V output to power the Py boards, the regulator is too weak.

                          However any adapter should be set to 3.3V voltage level signals. That means TX and RX must use 3.3V.

                          If you do have a FTDI-style adapter that can deliver enough current on 3.3V (suggest 500mA) you can connect it to the 3.3V pin directly on the Py board.

                          Read closely before you buy and then if possible test it before using it.

                          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