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

    Cannot Connect to Modem when NOT using Atom?

    Scheduled Pinned Locked Moved FiPy
    3 Posts 2 Posters 146 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.
    • D Offline
      DavidGW
      last edited by

      Hi all,

      I'm using multiple FiPy + Expansion Board 3.1, all running 1.20.2.rc6, and cellular firmware LR5.1.1.0-41065.

      So far, I have 3 sets up and running. Two of them are working well, however the third has an issue where calling lte = LTE() results in a "Couldn't connect to Modem!" error. Frustratingly, this always happens when running the device on a USB battery, or when running connected to my computer without Atom open.

      When Atom IS open, it almost always works. It also appears that it works if I open a UART connection to the Pycom device on my host computer.

      I'm setting up a fourth FiPy + Expansion board to see if it has the same problem.

      I've tried running lte.factory_reset() in Atom, but no change.

      One of the ones that is working now did not before, but this was fixed by updating from 1.20.2.rc3 to rc6.

      I'm hoping for any suggestions on how to proceed. For example, is there any way of clearing and re-uploading the modem firmware from scratch? Fortunately, as it appears to work with an open UART connection, this isn't a roadblock to my project, however it is weird and is something I'd like to solve.

      P.S. before you ask, I'm catching the "Couldn't connect to Modem" error and sending the text to my host computer via WiFi, which is how I know what the error is when I'm not using Atom or a Python UART connection on the host.

      1 Reply Last reply Reply Quote 0
      • D Offline
        DavidGW
        last edited by DavidGW

        With firmware 1.20.2.rc7, this problem persists. However the error I get from it has been expanded to:

        Couldn't connect to Modem (modem_state=connecting)

        Hope this helps fix the issue.

        This still consistently happens when FiPy is powered. As soon as a UART serial connection is made with the FiPy through a python script or through Atom, it connects on the next try.

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sean Militello
          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