LTE init error



  • 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!


  • Global Moderator

    @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



  • 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
    >>> ```

  • Global Moderator

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



Pycom on Twitter