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

    LTE Modem did not respond!

    Scheduled Pinned Locked Moved FiPy
    4 Posts 2 Posters 110 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.
    • F Offline
      furkan
      last edited by

      from network import LTE
      import pycom
      lte = LTE()
      pycom.heartbeat(False)
      def getLTE():
        if lte.isconnected(): return lte
        if not lte.isattached():
          print('attaching ', end=''); lte.attach()
          while not lte.isattached(): print('.', end=''); time.sleep(1)
        if not lte.isconnected():
          print('connnecting ', end=''); lte.connect()
          while not lte.isconnected(): print('.', end=''); time.sleep(1)
        return lte
      
      getLTE()
      

      lte.attach function respond error "modem did not respond"
      What can ı do about this issue?
      Can you help me guys?

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

        Hi,
        Can you try the following: lte = LTE(debug=True). This will print the AT commands and their responses. If you get an error, can you try, import sqnsupgrade; sqnsupgrade.info()

        Best,
        Gijs

        1 Reply Last reply Reply Quote 0
        • F Offline
          furkan
          last edited by

          @Gijs said in LTE Modem did not respond!:

          lte = LTE(debug=True)

          hi @Gijs thanks for your reply!
          I did what you said and got a printout like this

          [AT] 91919 AT
          [AT-FAIL] +303
          [AT] 92222 AT+CGATT?
          [AT-FAIL] +304
          [AT] 92526 AT+CEREG?
          [AT-FAIL] +304
          [AT] 92830 AT+CFUN?
          [AT-FAIL] +304
          attaching [AT] 93134 AT
          [AT-FAIL] +305
          [AT] 93439 AT+CGATT?
          [AT-FAIL] +304
          [AT] 93743 AT+CEREG?
          [AT-FAIL] +304
          [AT] 94047 AT+CFUN?
          [AT-FAIL] +304
          [AT] 94351 AT+SQNCTM?
          [AT-FAIL] +9504
          [AT] 103855 AT+SQNCTM?
          [AT-FAIL] +9504
          Traceback (most recent call last):
          File "main.py", line 20, in <module>
          File "main.py", line 13, in getLTE
          ValueError: Modem did not respond!

          and sqnsupgrade.info() return:
          <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>

          FiPy with firmware version 1.20.2.r1
          Your modem is in application mode. Here is the current version:
          UE6.0.0.0
          LR6.0.0.0-41019

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

            The solution to this issue is to 'update' the modem firmware (reflash the LR6.0.0.0-41019). This will reset the baudrate of the UART communication. It is also possible to use several AT commands from the AT command manual to restore factory baudrate settings, but Im not exactly sure which ones.

            Best,
            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