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

    Boot Mode through software?

    Scheduled Pinned Locked Moved LoPy
    lopy
    9 Posts 4 Posters 1.1k Views 4 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.
    • M Offline
      misterlisty
      last edited by

      Is it possible to reboot the lopy into a boot mode without hardware pins? eg i have a script that running which i want to stop remotely.

      robert-hhR sebS 2 Replies Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @misterlisty
        last edited by robert-hh

        @misterlisty machine.reset()?
        in v1.16.0.b1 also Ctrl-F on the console (Telnet or USB)

        M 1 Reply Last reply Reply Quote 0
        • sebS Offline
          seb @misterlisty
          last edited by

          @misterlisty
          Which boot mode are you referring to? Do you want just a simple reboot, safe boot or the firmware update mode?

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            misterlisty @seb
            last edited by

            @seb safe boot

            sebS 1 Reply Last reply Reply Quote 0
            • sebS Offline
              seb @misterlisty
              last edited by

              @misterlisty

              As of firmware 1.16.0.b1 you can press Ctrl+F in either the UART or telnet terminal and the device will reboot into safe mode, this cannot be done programmatically though, although this wouldn't be difficult to add if you need it.

              robert-hhR M 2 Replies Last reply Reply Quote 0
              • M Offline
                misterlisty @robert-hh
                last edited by

                @robert-hh cant use cntrl-f in visual code :(

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

                  @seb Something like machine.safe_boot()

                  1 Reply Last reply Reply Quote 1
                  • M Offline
                    misterlisty @seb
                    last edited by

                    @seb Isn't the tenet just sending a characater string when you press cntrl-f?

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

                      This post is deleted!
                      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