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 init error

    Scheduled Pinned Locked Moved Discussion
    ltemicorpythonfipy
    4 Posts 2 Posters 52 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.
    • T Offline
      tttadam
      last edited by

      Hey there,

      When I create an LTE object on my fipy i got this error.
      The only solution I found if I replace the firmware on the lte modem, which is not really an elegant solution and not feasible in a batery operated device.

      Anyone has any idea what can caused this?
      I have a feeling is related to not shuting down the lte or the wifi object is present? IDK...
      Please give me some guidance...

      lte = LTE()
      

      Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: Couldn't connect to Modem!

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

        Can you give the output of lte = LTE(debug=True) and import sqnsupgrade; sqnsupgrade.info(debug=True)?

        1 Reply Last reply Reply Quote 0
        • T Offline
          tttadam
          last edited by

          Well right now it is working fine... but here it is:
          As soon as I experience it again, I will post again.

          >>> from network import LTE
          >>> lte = LTE(debug=True)
          Traceback (most recent call last):
            File "<stdin>", line 1, in <module>
          TypeError: extra keyword arguments given
          >>> lte = LTE()
          >>> import sqnsupgrade; sqnsupgrade.info(debug=True)
          <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
          >>> FiPy with firmware version 1.20.0.rc13
          The current delay is 1000
          Response (+++ #1): None
          Response (AT #1) b'\r\nERROR\r\n'
          Response (AT #2) b'\r\nOK\r\n'
          Response (AT+SMOD?) b'\r\n2\r\nOK\r\n'
          Converting response: 2 to int...
          Modem state: 2
          Your modem is in application mode. Here is the current version:
          mirror? False  recover? False  resume? True  direct? True  atneg_only? False bootrom? False load_fff? False
          baudrate: 921600 target_baudrate: 921600
          SYSTEM VERSION
          ==============
            FIRMWARE VERSION
              Bootloader0  : 5.1.1.0 [41065]
              Bootloader1  : 5.2.1.0 [48829]
              Bootloader2* : 5.2.1.0 [48829]
              NV Info      : 1.1,0,0
              Software     : 5.2.1.0 [48829] by robot-soft at 2020-04-15 16:55:54
              UE           : 5.2.0.3
            COMPONENTS
              ZSP0         : 0.0.0-15743
              ZSP1         : 1.0.99-15968
          
          IMEI: 354346097957780
          >>> ```
          1 Reply Last reply Reply Quote 0
          • G Offline
            Gijs
            last edited by Gijs

            @tttadam said in LTE init error:

            lte = LTE(debug=True)
            Traceback (most recent call last):
            File "<stdin>", line 1, in <module>
            TypeError: extra keyword arguments given

            Concerning this error, please update to the latest stable firmware (1.20.2.r4) as the 'debug' keyword is not supported in the version you're using.

            Let me know if it happens again, generally the issue is solved by either machine.reset() or a power cycle

            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