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 do a hard factory reset?

    Scheduled Pinned Locked Moved LoPy
    2 Posts 1 Posters 2.8k Views 2 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
      moenad
      last edited by

      I have an import main in my boot.py file which seems to have caused me a lot of issues. I'm not familiar with micropython, so I read somewhere you need to import main.py into boot.py to fix it but it turned out it's not needed anymore with the new micropython versions.

      Currently I get the following with Pymakr:

      Connecting to a Pycom device
      Connected
      Error while communicating to a pycom device

      The following with rshell:

      Connecting to /dev/tty.usbserial-DQ008Y9O ...

      and if I try on boot directly with rshell or ampy I get:

      could not enter raw repl

      I tried to enter safeboot, rgb led flashed orange and it seems it worked, but with all that I get the same issue.

      All have the latest firmwares installed, and latest version of pymakr installed.

      One more thing that could've been the issue is that I was trying to power on 2 of the 3 lopys with 3.3v without the expansion, plugging them in VIN and GND. After I did that, serial stopped working.

      Given that I already posted, I'd like to mention the following, forgive me if i'm being a bit harsh.
      I decided to use my lopys today because the documentation was lacking months ago and it still does. I had to dig everywhere to see how to set up a lora gateway, it's the only reason I backed you guys. I don't a shit about the 3$ esp32 chip and BLE, the only single reason of backing you was for the lora gateway. I'm also pretty sure a lot here share the same point.
      To be honest, I really disliked what you did in your last move. You couldn't wait to finish all the missing documentation and updates needed for Lopy? rather than going for another kickstarter campaign (Fipy)? I didn't back you for this exact reason.

      Regards.

      1 Reply Last reply Reply Quote 0
      • M Offline
        moenad
        last edited by

        I managed to fix it now. I had to telnet to the ip, it was buggy as hell though, I had to keep pressing ctrl+c for couple of times until it finally worked and I soft factory erased it after. Nevertherless, you should mention how to do a hardware factory reset in the documentation.

        Now with the Lopy i'm trying as a nano gateway, the same code mentioned in a post on the forum, just printing ACK if it managed to connect to the gateway, it'll stop after few minutes for some unknown reasons.

        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