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

    Instructions for upgrading Pytrack / LoPy

    Scheduled Pinned Locked Moved Firmware
    lopy
    25 Posts 5 Posters 9.1k Views 5 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.
    • B Offline
      bucknall @hjl
      last edited by

      Hi @hjl,

      We'll be releasing an update for our firmware update tool (later this month) that will automatically let you update via the pytrack/pysense.

      For the time being, you can try this method to update the lopy via the Pytrack -

      1. Open the Firmware Update Tool and set the speed to low speed.
      2. Ensure that GND and P2 (G23) are connected
      3. Reset the LoPy (press the reset button on the LoPy)

      It's a little difficult to do at the moment so we're planning to make it easier but with a bit of practice, this method does work!

      Thanks,

      Alex

      Developer Evangelist - Pycom

      H 1 Reply Last reply Reply Quote 1
      • J Offline
        jmarcelino @hjl
        last edited by jmarcelino

        @hjl
        That means the LoPy is not in firmware update mode.

        You do need to start it (power up or reset) mounted on the Pytrack and with the P23-GND connection in place.

        On the Pytrack that is difficult because you either need to precariously "touch" the a bit of wire to the pins (risking a short-circuit), use test "grabber" clips to grab onto the pins which not everyone has, or place the LoPy on a breadboard and then run jumper wires between the pins on the Pytrack to the corresponding LoPy pins on the breadboard (just 5V power, GND, P0 and P1 should be enough)

        1 Reply Last reply Reply Quote 1
        • H Offline
          hjl
          last edited by

          I use the 'grabbers'. The Pycom Updater doesn't seem to work unfortunately. And now I can confirm that I am in the right mode:

          0_1501754148945_Screen Shot 2017-08-03 at 11.55.20.png

          And I have some progress:

          0_1501754167128_Screen Shot 2017-08-03 at 11.53.32.png

          But the monitor gives this:

          0_1501754269611_Screen Shot 2017-08-03 at 11.57.29.png

          So I think something went wrong while upgrading?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jcaron @hjl
            last edited by

            @hjl using the same method but at 57600 usually works for me. Not sure if that makes any difference.

            H 2 Replies Last reply Reply Quote 0
            • H Offline
              hjl @jcaron
              last edited by

              @hjl Tried different rates as well..! 0_1501956916246_IMG_2350.JPG

              H 1 Reply Last reply Reply Quote 0
              • H Offline
                hjl @bucknall
                last edited by

                @bucknall The preconfigured serial port in the updater tools doesn't match my serial port. 0_1501957170445_Screen Shot 2017-08-05 at 20.18.23.png

                0_1501957182479_Screen Shot 2017-08-05 at 20.18.37.png

                cu.
                tty.

                difference...? I connect with an adapter through a USB-C port.

                J 1 Reply Last reply Reply Quote 0
                • H Offline
                  hjl @hjl
                  last edited by

                  @hjl @bucknall @jmarcelino any ideas?

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

                    @hjl
                    You usually get a cu. and tty. port on macOS (actually it's a BSD thing, so the same for FreeBSD and other *nixes) they should be effectively the same thing other than historical differences.

                    To be honest I never managed to upgrade the firmware using the Pytrack on high or low speed - neither worked - but I haven't tried in latest Pytrack firmware.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bucknall
                      last edited by

                      Hi @hjl,

                      Apologies for the slow reply, I've been out of office for the last few days.

                      I've just tried the update procedure with a Pysense and LoPy, without any problems. I'll try it again with a Pytrack but the firmware is practically identical for the two shields.

                      Have you updates the firmware on your Pytrack Shield? If you're using an older version of the firmware then this might be preventing you from updating.

                      Thanks,

                      Alex

                      Developer Evangelist - Pycom

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        hjl @bucknall
                        last edited by

                        @bucknall Hi, I've use the dfu-util to upgrade it with the 0.0.4 version and that seemed to be going OK..

                        H 1 Reply Last reply Reply Quote 1
                        • H Offline
                          hjl @hjl
                          last edited by

                          @bucknall But still experiencing upgrade problems for the lopy..

                          B 1 Reply Last reply Reply Quote 0
                          • B Offline
                            bucknall @hjl
                            last edited by

                            Hi @hjl,

                            What seems to be the issue? Is it still not going in firmware upgrade mode?

                            Developer Evangelist - Pycom

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              hjl @jcaron
                              last edited by

                              @bucknall I am failing at this point.. Staying in bootloader means I am in firmware upgrade mode, right?

                              B 1 Reply Last reply Reply Quote 0
                              • B Offline
                                bucknall @hjl
                                last edited by

                                @hjl If you use the Pymakr Plugin or a Serial Terminal to view the output from your device when you boot up (with pins GND and G23 connected), you will see a message like this appear:

                                0_1502873747457_Screen Shot 2017-08-16 at 09.55.19.png

                                This means your device is correctly going into firmware update mode.

                                Now to use the Firmware Update Tool, you must unplug the USB cable from your computer and plug it into another port (sometimes Windows/Mac/Linux, do not release the serial address). Ensure that the jumper wire is in exactly the same position as when you saw the message appear above.

                                Now run the Firmware Upgrade Tool and 'un-select' the box for High speed Transfer.

                                This should then run successfully. Let me know if that helps!

                                Thanks,

                                Alex

                                Developer Evangelist - Pycom

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

                                  For those using a Pysense for upgrade, there's actually a much simpler way to connect GND and G23: just connect pins 1 and 5 (GND and EXT_IO0) on the external I/O header.

                                  I suppose it's the same on the Pytrack?

                                  C 1 Reply Last reply Reply Quote 2
                                  • C Offline
                                    cinezaster @jcaron
                                    last edited by cinezaster

                                    @jcaron I can confirm this for PyTrack!

                                    H 1 Reply Last reply Reply Quote 2
                                    • H Offline
                                      hjl @cinezaster
                                      last edited by

                                      @cinezaster @jcaron thanks guys, I'll try that!

                                      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
                                      • 2
                                      • 1 / 2
                                      • First post
                                        Last post

                                      Pycom on Twitter

                                      Pycom