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

    lopy4 sleep issues

    Scheduled Pinned Locked Moved LoPy
    3 Posts 2 Posters 36 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.
    • K Offline
      kjm
      last edited by kjm

      My latest lopy4 came with version 1.18.2.r1 firmware. It had a problem with machine.sleep(10000)

      TypeError: function takes 0 positional arguments but 1 were given
      

      but deepsleep worked with the current falling to near zero.

      When I upgraded the firmware to 1.20.0.rc13 the problem with machine.sleep(10000) is fixed but deepsleep current is 28mA.

      Does anybody know where I can get a copy of the 1.18.2.r1 firmware? I can tolerate the bug with machine.sleep but I really need deepsleep current to be lower than 28mA

      1 Reply Last reply Reply Quote 0
      • K Offline
        kjm
        last edited by kjm

        Unreal! lopy4 with

        release='1.18.2.r1', version='v1.8.6-849-e0fb68e on 2018-11-26'
        

        deepsleeps with uA stdby current but with

        release='1.18.2.r1', version='v1.8.6-849-d6b3616 on 2019-02-22'
        

        the deepsleep current is 28mA. How is this possible?

        I really need a copy of the 2018-11-26 version. I tried https://software.pycom.io/downloads/LoPy4.html but that's the 2019-02-22 version too.

        IS there a way to get a copy of the 2018-11-26 firmware out of a lopy4?

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gijs
          last edited by

          I do not know of the difference between the firmwares, but you could use the git hash to find the exact one in the source (At least, I think that is supposed to work..)

          I believe this is the one you are looking for: https://github.com/pycom/pycom-micropython-sigfox/tree/7bc2e5cdd34b79c5fa9f493f3df831f57b0b12ce
          You can follow the instructions in the readme to compile one for yourself (check for the pybytes version, that is the one updated in this commit, among other things)

          For the actual issue, I have no clue tbh

          Gijs

          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