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

    Firmware Update Fails

    Scheduled Pinned Locked Moved WiPy 2&3
    wipy 2.0debianupdate failed
    41 Posts 7 Posters 21.0k Views 7 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 @szatmari60
      last edited by robert-hh

      @szatmari60 You can use any USB or WiFi terminal which gives you a REPL prompt, like screen, minicom, picocom, telnet, putty,...
      Once you have that prompt, enter:

      from machine import Pin
      g23 = Pin("G23", mode=Pin.IN, pull=Pin.PULL_UP)
      g23.value()
      

      It should tell you the level of the Port. If it is not 0, when connected to GND, then something is wrong.

      1 Reply Last reply Reply Quote 1
      • S Offline
        szatmari60 @jmarcelino
        last edited by

        @jmarcelino

        thank you for conversation

        I figured out

        from machine import Pin
        p_in = Pin('P23', mode=Pin.IN)
        p_in()

        0

        J robert-hhR 2 Replies Last reply Reply Quote 0
        • J Offline
          jmarcelino @szatmari60
          last edited by

          @szatmari60
          Can you follow the example @robert-hh posted please, it's more reliable in case the wire is broken because his example sets the pin as PULL_UP.

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

            @szatmari60 P23 is not G23. Actuall you have to connect GPIO0 and GND.
            0_1490690060795_index.jpg

            1 Reply Last reply Reply Quote 0
            • S Offline
              szatmari60 @jmarcelino
              last edited by

              Thanks a lot!
              I am an IDIOT!
              I mismatched G23 with P23

              Is OK!!! '1.6.9.b1'

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

                @szatmari60 To be honest, I 've fallen in that trap too once. The numbering scheme of Pycom is VERY CONFUSING!

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  szatmari60 @robert-hh
                  last edited by

                  Thank you very much for your patience again!!
                  Have a nice day!

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mike632t @bucknall
                    last edited by

                    @bucknall
                    Still no change (tried on a separate machine the other day), plan on attending the meetup on Thurdsay - hopefully there will be someone there with a laptop and a working updater! Not fussed if there isn't, should be an interesting evening - I hope.

                    Mike T.

                    Mike T.

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

                      @mike632t Sure! I'll be there to help you out! Interested in chatting about your experience and where you want to take your project!

                      See you on Thursday!

                      Cheers

                      Developer Evangelist - Pycom

                      M 2 Replies Last reply Reply Quote 0
                      • M Offline
                        mike632t @bucknall
                        last edited by

                        @bucknall Found this post https://forum.pycom.io/post/5716

                        I assume it will work for upgrades as well as downgrades..?

                        Mike T.

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mike632t @bucknall
                          last edited by

                          @bucknall
                          Thanks for your help the other evening - I'm up and running now, though I'm no closer to being able to update the firmware myself.

                          For linux users I have a (useful?) bash script that beings up a console window and then waits up to 15s for me to plugin the device (that way I see any boot messages). I don't know if this will work on OSX as I don't have a Mac.

                          I need to update my blog post as I've recently modified the script to allows me to select the which serial device to connect to and baud rate to use.

                          Mike T.

                          Mike T.

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

                          Pycom on Twitter

                          Pycom