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

    LoPy4 Firmware upgrade impossible

    Scheduled Pinned Locked Moved LoPy
    lopy4firmware upgradproblem
    23 Posts 3 Posters 5.1k 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.
    • robert-hhR Offline
      robert-hh @dicktonyboy
      last edited by

      @dicktonyboy to some extend it is here:
      https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html
      In step 4, it says: reconnect
      That is equivalent to being connected and pushing reset. My experience is, that reconnecting not always brings the device into proper dowload mode, put pushing reset does.
      Did it work now?

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dicktonyboy @robert-hh
        last edited by

        @robert-hh Wow your support is faster than I'm allowed to rely (limit 600s). I'm not using a expansion board but this set up https://github.com/keptenkurk/pyTTNmap/blob/master/documentation/Schematics.jpg . I need a few moments to clear my desk (Thanks for this great response btw )

        1 Reply Last reply Reply Quote 0
        • D Offline
          dicktonyboy
          last edited by

          No - this is where we came in. Note that I cant have Putty and the firmware updater program both running on Com7 simultaneously. Just running the updater produces the failure originally reported.

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

            @dicktonyboy Sure. Putty is just for confirming for being in the update state. Then you must close putty and start the updater.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dicktonyboy @robert-hh
              last edited by

              @robert-hh grand kids have arrived - must play grandpa for a moment -will get back to you with the results Thanks for all of your help.

              1 Reply Last reply Reply Quote 1
              • D Offline
                dicktonyboy
                last edited by

                This board will NOT flash. Even trying lower speeds it does not correctly switch modes. The blue heartbeat led stops as it should when the pin is grounded but nothing more.

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

                  @dicktonyboy So did you see the message "waiting for download" in Putty, if you do the download preparation steps, or not?

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dicktonyboy @dicktonyboy
                    last edited by

                    @robert-hh No just the original message I posted - repeated several times and can you remove this annoying restriction that pops up each time I reply please

                    Error

                    As a new user, you can only post once every 600 second(s) until you have earned 3 reputation - please wait before posting again
                    .

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

                      @dicktonyboy If you do not see the message, then something may be wrong with P2 aka GPIO0. The sequence of messages you see is also strange.

                      Remark. I gave you 3 reputations. So the delay should be gone.

                      D 2 Replies Last reply Reply Quote 0
                      • D Offline
                        dicktonyboy @robert-hh
                        last edited by

                        @robert-hh Well this is very weird as to all intents and purposes everything else is functioning correctly. I am new to this - and this is my first LoPy project. I'm running TTN Cardiff and wanted to provide the locals with a signal strength mapping project. https://youtu.be/-H-W76OMkyY?t=16s I feel so much cleaner with my new-found reputation - thank you for that!

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dicktonyboy @robert-hh
                          last edited by

                          @robert-hh I've no ideaa whether this is of an help but the response to:-

                          C:\Users\dicktonyboy>ampy -p com7 ls
                          flash

                          and the response to:-
                          C:\Users\dicktonyboy>ampy -p com7 ls /flash
                          main.py
                          sys
                          lib
                          cert
                          boot.py
                          Location History.json
                          AdafruitIO.py
                          filer
                          umqtt.py
                          project.pymakr
                          lopylcd.mpy
                          micropygps.mpy
                          micropygps.py

                          I can't delete the bottom three files or Location History.json (probably due to the space in the name)

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

                            @dicktonyboy If you have the REPL prompt, you can always reformat the internal file system with uos.mkfs().
                            But updating requires the device to be in upload mode. Sorry if I'm asking the obvious again, but are you sure that you connected P2 to GND. That's the 4th Pin from the edge close to the reset button, next to TX. Strapping it low sometime causes the RGB LED to switch colors.

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              dicktonyboy @robert-hh
                              last edited by

                              @robert-hh double and triple checked - correct. :)

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

                                @dicktonyboy You could check, whether P2 is connected at least to the RGB Led. It is one of the connections faced to the LoPy Shield, opposite to P2.
                                0_1526890777128_lopy.jpg

                                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