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 continues to restart and then stops !!!

    Scheduled Pinned Locked Moved LoPy
    lopyrebootupdate
    19 Posts 3 Posters 4.3k 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 @james
      last edited by

      @james That's bad. So it is rebooting again over & over?
      Can you go back to a previous firmware version?

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

        I tried with version 1.6.0.b1 and everything seems to be ok.
        I got one in the forum just to try.

        I attach you an image
        some idea?

        thank you
        regards
        0_1504262448454_lopy-err03.png

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

          The LoPy_868-1.7.9.b1.tar.gz version is part and remains of:
          0_1504263081738_lopy-err4.png

          The LoPy_868-1.7.9.b1.tar.gz as the last one, keep restarting.

          regards

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

            @james Try to upgrade the loader first, and then the firmware again. There was some forth & back from 1.7.9b1 to 1.7.9b3 with the flash frequency.

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

              @robert-hh in what way to update the loader ???
              Regards

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

                @james I assumed you used the pycom upgrader from here:
                https://pycom.io/downloads/
                In that case, delete the one already on your computer and reinstall it.
                If you used the developement environment, just update from github and redo a make and make flash. And be sure to use a LoPy image for the L01 module.
                B.t.w: There is a new firmware version out there.

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

                  @robert-hh
                  I downloaded the last and tried but nothing,
                  I am preparing the development environment now, so far I did not need it for what I'm doing.

                  But where do I find the firmware for the LY01 version of lopy ??
                  So far i just launched the update, and downgrade I unsure the versions for lopy 868 but not l01, maybe the problem might be this.

                  Thank you
                  Regards

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

                    @robert-hh
                    I've updated the latest version ...
                    it stays silent
                    0_1504280055339_lopy-err05.png

                    Thank's
                    Regards

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

                      @james As far as I know, the difference between L01 and LoPy is the form factor and whether antenna and power regulator are on board. L01:
                      https://pycom.io/product/l01/
                      LoPy:
                      https://pycom.io/hardware/lopy-specs/
                      The frequency mode 868 or 915 us defined by the firmware image you load. The question I have is: How do you interface to you L01. Do you have a kind of adapter or

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

                        @robert-hh
                        I connected the L01 module equal to Lopy with a base later sent by pycom ..
                        their development base because I had a problem with lora then discovered it was a bug firmware.

                        A usb ftdi module is attached to the base.
                        in fact I do not know if unlike the LoPy no OEM lacks pullup qulche that can cause this ..
                        in real life until long ago I did not have problems ... everything worked pretty regularly ...

                        I attach you a photo:
                        0_1504281432969_20170901_175108.jpg

                        the two jumper are related to the safeboot and the upgrades,
                        then I mounted a reset key that is in reality and is already on the module

                        I also have some mounted only with the necessary pins without any base but the same
                        (only power, antennas, and serial)

                        I also compiled everything from sources but the result is the same

                        excuse for my easy english...

                        Thank's
                        Regards

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

                          @james That setup looks good. It's. strange that version 1.6 works, but 1.7.9 or 1.8.0 not. So I'm out of my tips now. Maybe someone from Pycom could have another hint, especially about the stack dump values.

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

                            @robert-hh
                            I tried with 1.6.7.b1 but nothing, continue restart

                            Thanks a thousand though for your help :-)
                            Regards

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmarcelino @james
                              last edited by jmarcelino

                              @james
                              For the L01 I think you need to build your own toolchain (the xtensa compiler and build chain) from a special branch

                              https://github.com/espressif/crosstool-NG/tree/xtensa-1.22.x-ext_ram_patch

                              Here's instructions how to build the toolchain: http://esp-idf.readthedocs.io/en/latest/get-started/linux-setup-scratch.html

                              Note: In order to get the psram version, in the instructions at the 'git clone' command, replace 'xtensa-1.22.x' with 'xtensa-1.22.x-ext_ram_patch"

                              This is because the L01 is not all like the LoPy, it has a 4MB RAM chip (hence the psRAM branch) and a new revision of the ESP32.

                              Once that's done you should be able to compile the firmware using this new buildchain

                              J 3 Replies Last reply Reply Quote 0
                              • J Offline
                                james @jmarcelino
                                last edited by

                                @jmarcelino
                                As soon as I can try to compile toolchains from the git you have reported and firmware and see what happens.
                                Thank you
                                Regards

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  james @jmarcelino
                                  last edited by

                                  @jmarcelino
                                  I have recompiled with the branch ext_ram, after the flash the module remains in position as in the picture below and no longer signs of life.

                                  do you have any idea about this !!!
                                  Thank you

                                  Regards

                                  0_1504511621820_Lopy-err06.png

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    james @jmarcelino
                                    last edited by

                                    @jmarcelino , @robert-hh

                                    After the flash is deleted and the refresh seems to work with the latest release ...
                                    we hope well..

                                    Thanks to everyone for help
                                    Regards

                                    0_1504513400848_lopy-ok.png

                                    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