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

    How to REALLY solve the firmware update failures

    Scheduled Pinned Locked Moved LoPy
    15 Posts 4 Posters 5.3k 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.
    • X Offline
      Xykon administrators
      last edited by

      A few comments:

      Make sure you close down PyMakr (else you get permission denied)

      This only applies if you use PyMakr to connect via serial port.

      Make sure you have no other devices connected like a TTN Uno or other Arduino as it confuses the upgrader

      I didn't have any problems with other devices connected... it would be interesting to know what problems you encountered.

      Make sure you have PyMakr installed

      You don't need to install PyMakr. I've never installed it on Windows. You can use the Python 2.7 from the updater if you don't have it installed already.

      Open a window command box (cmd) in Administrator mode (!)

      This was not necessary for me in Windows 7 or Windows 10. Which windows version are you using?

      Christian Ehlers

      1 Reply Last reply Reply Quote 1
      • A Offline
        AntonioValente
        last edited by

        Hi,

        It is possible to do firmware update with a FTDI cable (3.3V)? - I'm using Windows 10.
        It is necessary to connect CTS and RTS?

        Thanks,
        Valente

        X 1 Reply Last reply Reply Quote 0
        • X Offline
          Xykon administrators @AntonioValente
          last edited by Xykon

          @AntonioValente said in How to REALLY solve the firmware update failures:

          It is possible to do firmware update with a FTDI cable (3.3V)? - I'm using Windows 10.

          Yes.

          It is necessary to connect CTS and RTS?

          No.

          Christian Ehlers

          1 Reply Last reply Reply Quote 0
          • X Offline
            Xykon administrators
            last edited by

            It is possible to do firmware update with a FTDI cable (3.3V)? - I'm using Windows 10.

            I need to modify this somewhat. Your FTDI cable alone might not provide enough current to power the LoPy at 3.3V.

            If you have a module that has both 3.3V and 5V power output then you can power the LoPy with 5V at VIN. If it is a cable that has only VCC (at 3.3V) you might need an additional power supply.

            Christian Ehlers

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

              My cable have 5V of power supply ans 3.3V communications.
              I can get serial communications (115200 baudrate) and get a prompt ">>" but I can't do a firmware update neither a wireless connection through my PC running W10.
              Any ideia?

              Thanks,
              Valente

              1 Reply Last reply Reply Quote 0
              • X Offline
                Xykon administrators
                last edited by

                Do you have a multimeter to check the current used by the LoPy? I can see the LoPy using up to 200mA during boot when powered through VIN at 5V.

                It might be that even the 5V output of your particular cable does not provide enough current for the LoPy.

                Christian Ehlers

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

                  I have connected through an Arduino board and I can connect -
                  by wireless (I have to place a fixed IP address - solved);
                  and by COM port.
                  Also, I can run Python in Pymakr with the two modes (Wi-Fi and COM) - a simple test program to change RGB LED color.
                  The only thing I can't do is firmware upgrade. Since I have a new LoPy device I don't know if it is necessary to do a firmware upgrade.

                  Thanks,
                  Valente

                  A X 2 Replies Last reply Reply Quote 0
                  • A Offline
                    abilio @AntonioValente
                    last edited by

                    Hi @AntonioValente, you definitely need to upgrade your firmware in order to properly select your country LoRa frequency, patch several important bugs and get new features. If you haven't, please check here. There you will find the official upgrade tools for upgrading the boards.

                    If you have any issue with it, feel free to start a new thread.

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      Xykon administrators @AntonioValente
                      last edited by

                      @AntonioValente said in How to REALLY solve the firmware update failures:

                      The only thing I can't do is firmware upgrade.

                      Did you connect P2 to GND and reset the module before attempting the firmware upgrade?

                      Christian Ehlers

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

                        No. My mistake!
                        I just have done the firmware upgrade and everything works fine.
                        Thanks!

                        I will need to work with the I2C module. Where I can find LoPy pinout and I2C library documentation?

                        Thanks again,
                        Valente

                        X 1 Reply Last reply Reply Quote 0
                        • X Offline
                          Xykon administrators @AntonioValente
                          last edited by

                          @AntonioValente said in How to REALLY solve the firmware update failures:

                          I will need to work with the I2C module. Where I can find LoPy pinout and I2C library documentation?

                          See here and further down:

                          P9 - SDA Bus 0
                          P10- SCL Bus 0

                          I'm currently testing a 24LC64 eeprom and no external pullup resistors are needed.

                          Christian Ehlers

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

                            NOTE: this is an old thread with outdated information. Please use the official upgrade tool instead:
                            https://docs.pycom.io/pycom_esp32/pycom_esp32/firmware.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