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

    LoPy 1 does not boot

    Scheduled Pinned Locked Moved LoPy
    deadresetdebug
    19 Posts 5 Posters 3.3k 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.
    • peterkzP Offline
      peterkz @robert-hh
      last edited by peterkz

      @robert-hh Measured voltages seem correct:

      VIn - GND = 5.2V
      3V3 - GND = 3.31V
      RST - GND = 3.29V

      But this is very weird. After measuring I was about to write that the LoPy seems dead but then I see the blue flashing light come on and now it booted! Did not touch it for several minutes and did not change anything?

      Sorry to bother you all. Not sure what changed (metal fragment short?, stuck reset button?)

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

        @peterkz That looks good. Again, if you connect your device to the terminal (atom), connect G23 to GND, and push reset. Then you shouls see a message like:

        ets Jun  8 2016 00:22:57
        
        rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
        waiting for download
        
        peterkzP J 2 Replies Last reply Reply Quote 0
        • peterkzP Offline
          peterkz @robert-hh
          last edited by peterkz

          @robert-hh Weird but I'm back at it not booting properly again after a couple of days. Did not use it since last time.

          Measuring voltages I now get:

          VIn - GND = 5.2V
          3V3 - GND = 1.29V
          RST - GND = 1.3V

          2V missing. Do I have a broken voltage regulator somewhere?

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

            @peterkz

            Have you perhaps changed USB cables or USB ports, its possible that one of these is faulty and not delivering enough current to the module.

            peterkzP 1 Reply Last reply Reply Quote 0
            • peterkzP Offline
              peterkz @seb
              last edited by

              @seb Tried different cables but still the same voltages. I am thinking I should send this back to where I bought it.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jclo13 @robert-hh
                last edited by jclo13

                @robert-hh, what does the lopy expect to download?, I have a similar problem, well I made a mistake, I was trying to mount the sd and it appears an os.error, so y put the code in the boot.py file and I restarted the lopy, now I cant access, I think there is a booting problem, I tried connecting G23 to GND and pushing reset and appears the message, Is there a way to reset it to the factory default manually?

                </
                rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                ets Jun 8 2016 00:22:57

                rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                configsip: 0, SPIWP:0xee
                clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
                mode:DIO, clock div:1
                load:0x3fff9028,len:8
                load:0x3fff9030,len:1060
                load:0x4009fa00,len:0
                ho 12 tail 0 room 4
                load:0x4009fa00,len:14084
                entry 0x400a05d4
                Traceback (most recent call last):
                File "boot.py", line 8, in <module>
                OSError: the requested operation failed
                Traceback (most recent call last):
                File "main.py", line 8
                SyntaxError: invalid syntax
                MicroPython v1.8.6-849-86da809 on 2018-01-17; LoPy with ESP32
                Type "help()" for more information.

                thank you in advance.

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

                  @jclo13 If you connect P12 to 3.3v and push reset, boot.py and main.py are not executed on boot. Then you could try to modify boot.py & main.py, or just rename them. The last resort is to erase flash or just the file system, and the updater.py tool allows to do that.

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jclo13 @robert-hh
                    last edited by

                    @robert-hh thank you very much, it worked!!!, I use the telnet connections, in the other hand I am having problems whit the com port, It doesn't connect, when I pushed the reset button it boots but I can´t write anything.

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

                      @jclo13 Do you see not message from the com port? Then the cable may be bad. If you see only the output from the unit, but cannot type, then check the jumpers on the expansion board (if you use one).

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jclo13 @robert-hh
                        last edited by

                        @robert-hh thank you, I reinstalled ATOM and checked the jumpers on the expansion board and the problem solved. thank you

                        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