Enable NBIoT on up-to-date firmware?



  • Hi, having some real trouble here - could use some help.
    It took a while to understand the laberynth of documentation for upgrading my FiPy modem to enable NBIoT (I'm in the US, using Twilio SIMs on the T-Mobile NB network) and I've uncovered this problem.

    My modem version shows:

    >>> import sqnsupgrade
    >>> sqnsupgrade.info()
    <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
    >>> FiPy with firmware version 1.20.2.r0
    Your modem is in application mode. Here is the current version:
    UE5.0.0.0d
    LR5.1.1.0-47510
    
    IMEI: <redacted>
    >>>
    

    Which mean I am apparently only enabled on CatM networks? I'd like to update firmware to enable NBIoT but according to the latest firmware available for download it's actually a downgrade from v47510 to v41019.

    Is that a problem? If I continue will I brick my $80 device? Does the FiPy only work in CatM OR NBIoT mode, not both at the same time? Will someone please put some effort into writing clear documentation?



  • Wanted to provide a quick update to this.

    I just received an NBIoT specific SIM from Twilio.

    Was excited to test it now that I have the NBIoT specific firmware & correct SIM enabled, but I'm getting this strange behavior. The SIM is active and confirmed by Twilio, but for some reason I am quickly disconnected. Has anyone seen this behavior before? Does anyone know some definitions around the FSM readout? It's strange because this readout seems identical to the first successful attempt with a non-NBIoT SIM.

    It feels like Twilio is rejecting the connection as I have signal and the connect attempt appears successful, but was hoping someone might be able to confirm.

    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |DEREG_REGISTERING   |
        | EMM AUTH FSM             |NULL                |
        | EMM CONN FSM             |AS_ESTABLISHING     |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -90.78
        RSRQ  (dB)                            : -12.00
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 4.59
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -24.07
        RX PSD (dBm)                          : -92.64
        Noise level RS (dBm)                  : -95.15
        Digital gain (dB)                     : 5.47
        CINR RS (dB)                          : 4.37
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1382
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -92.19
        RSRQ  (dB)                            : -12.29
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 4.33
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -21.14
        RX PSD (dBm)                          : -91.60
        Noise level RS (dBm)                  : -95.41
        Digital gain (dB)                     : 4.29
        CINR RS (dB)                          : 3.22
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1379
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -90.84
        RSRQ  (dB)                            : -11.98
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 7.99
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 45.28
        RX PSD BO (dBFs)                      : -19.15
        RX PSD (dBm)                          : -85.34
        Noise level RS (dBm)                  : -95.73
        Digital gain (dB)                     : 5.32
        CINR RS (dB)                          : 4.89
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1399
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -87.35
        RSRQ  (dB)                            : -11.71
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 3.36
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -21.20
        RX PSD (dBm)                          : -91.79
        Noise level RS (dBm)                  : -93.57
        Digital gain (dB)                     : 4.62
        CINR RS (dB)                          : 6.22
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1406
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -92.64
        RSRQ  (dB)                            : -12.34
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 7.21
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -18.31
        RX PSD (dBm)                          : -88.13
        Noise level RS (dBm)                  : -96.19
        Digital gain (dB)                     : 3.65
        CINR RS (dB)                          : 3.55
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1404
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -90.27
        RSRQ  (dB)                            : -12.08
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 3.81
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -21.45
        RX PSD (dBm)                          : -90.77
        Noise level RS (dBm)                  : -94.89
        Digital gain (dB)                     : 3.15
        CINR RS (dB)                          : 4.62
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1386
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -91.00
        RSRQ  (dB)                            : -12.21
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 5.06
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -20.04
        RX PSD (dBm)                          : -88.96
        Noise level RS (dBm)                  : -95.05
        Digital gain (dB)                     : 2.75
        CINR RS (dB)                          : 4.05
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1394
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -84.74
        RSRQ  (dB)                            : -11.78
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 6.32
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 45.28
        RX PSD BO (dBFs)                      : -23.88
        RX PSD (dBm)                          : -88.84
        Noise level RS (dBm)                  : -90.06
        Digital gain (dB)                     : 4.09
        CINR RS (dB)                          : 5.32
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1394
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -85.99
        RSRQ  (dB)                            : -11.71
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 7.28
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 45.28
        RX PSD BO (dBFs)                      : -18.84
        RX PSD (dBm)                          : -84.93
        Noise level RS (dBm)                  : -92.32
        Digital gain (dB)                     : 5.22
        CINR RS (dB)                          : 6.33
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1395
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -86.95
        RSRQ  (dB)                            : -11.89
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 5.72
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 50.58
        RX PSD BO (dBFs)                      : -19.63
        RX PSD (dBm)                          : -86.81
        Noise level RS (dBm)                  : -92.08
        Digital gain (dB)                     : 1.01
        CINR RS (dB)                          : 5.13
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1407
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    Sent to modem: 'AT!="fsm"'
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |DISCONNECTING       |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |WAIT_REL_TIMER      |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |NULL                |
        | EMM AUTH FSM             |NULL                |
        | EMM CONN FSM             |EMM_DETACHED        |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL         |
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    OK
    .Sent to modem: 'AT!="showphy"'
    DL SYNCHRO STATISTICS
    =====================
        Synchro state                         : CELL_ACQUIRED
        PPU SIB1 ACQ watchdog                 : 0
        Frequency Hypothesis RF  (Hz)         : 0
        RSRP (dBm)                            : -85.05
        RSRQ  (dB)                            : -11.75
        Channel estimation state (Cell-spec.) : LOW CINR
        Channel estimation state (UE-spec.)   : LOW CINR
        Channel estimation state (MBSFN)      : LOW CINR
        Channel estimation CINR               : 6.33
        Channel length                        : SHORT
      AGC
        AGC RX gain (dB)                      : 45.28
        RX PSD BO (dBFs)                      : -21.12
        RX PSD (dBm)                          : -86.15
        Noise level RS (dBm)                  : -90.74
        Digital gain (dB)                     : 4.16
        CINR RS (dB)                          : 5.69
      NARROWBANDS
        Last DL NB                            : Central
        Last UL NB                            : 0
      AFC
        Frequency offset RF  (Hz)             : -1401
        Frequency offset BB  (Hz)             : 0
      PBCH
        MIB received quantity                 : 0
        MIB timeout quantity                  : 0
    OK
    
    


  • The modem firmware shipped from the factory (47510) is, according to our testing, exactly the same, and if anything, slightly worse, compare to the 41065 version for CatM1 we have out there, which is why we have not published the 47510 firmware (higher is not always better).

    Now the difference between CatM1 and NB-IoT firmwares is quite big. Where CatM1 firmwares start with LR5, NBioT is at LR6. This has nothing to do with the actual differences between the firmwares, and it does not mean the NBIoT firmware is in any way behind in development to the CatM1 firmwares. It is like comparing apples with oranges.

    I have put effort in clearing this up over the last few months (https://docs.pycom.io/updatefirmware/ltemodem/ and https://docs.pycom.io/tutorials/networks/lte/), but apparently, not clear enough yet.



  • Sorry to hear you have problems, I have been asking for an up to date NB-IoT driver for months in another thread and reached out to Pycom in June. I am stuck with LTE CAT-M1 at the moment as there is no, to my knowledge, clear solution to this matter. I would like to see a fix as well, but I have lost my hopes for a solution.



  • @kjm said in Enable NBIoT on up-to-date firmware?:

    @barryjump The problem with putting NBIot on your modem is you can never get back to the catM1 version that it shipped with! You're stuck with 41065.

    I really hope that isn't true! If it is, I'll reiterate my plea to Pycom to step up their clear documentation game. That's an insane oversight to not communicate clearly.



  • @barryjump The problem with putting NBIot on your modem is you can never get back to the catM1 version that it shipped with! You're stuck with 41065.



  • In case anyone is following this thread, I was able to accidentally connect with a random TMobile SIM using the following:

    def example_one():
        
        lte = LTE()
        lte.init()
        #some carriers have special requirements, check print(lte.send_at_cmd("AT+SQNCTM=?")) to see if your carrier is listed.
        #when using verizon, use 
        #lte.init(carrier=verizon)
        #when usint AT&T use, 
        #lte.init(carrier=at&t)
    
        #some carriers do not require an APN
        #also, check the band settings with your carrier
        lte.attach(band=20, apn="wireless.twilio.com") 
        #lte.attach()  #JFD Unknown 
        print("attaching..",end='')
        # JFD while not lte.isattached()
        while not lte.isattached():
            # JFD time.delay(0.25)
            utime.sleep_ms(25)
            print('.',end='')
            print(lte.send_at_cmd('AT!="fsm"'))         # get the System FSM
        print("attached!")
    
        lte.connect()
        print("connecting [##",end='')
        while not lte.isconnected():
            # JFD time.sleep(0.25)
            utime.sleep_ms(250)
            print('#',end='')
            #print(lte.send_at_cmd('AT!="showphy"'))
            print(lte.send_at_cmd('AT!="fsm"'))
        print("] connected!")
    
        # JFD Add delay
        utime.sleep_ms(250)
    
        # JFD print(socket.getaddrinfo('pycom.io', 80))  
        print(usocket.getaddrinfo('google.com', 80))  
        print("Waiting for 60 seconds before disconnecting ...")
        utime.sleep_ms(60000)
        print("OK, disconnecting now.")
        lte.deinit()
        #now we can safely machine.deepsleep()
    
    example_one()
    

    Which provided an output of:

    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |SCANNING            |
        | RRC SEARCH FSM           |WAIT_CELL_ID        |
        | RRC ACTIVE FSM           |NULL                |
        | PMM PLMN FSM             |NORM_WAITCELL       |
        | EMM MAIN FSM             |NULL                |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |NULL                |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL         |
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |SYNCING             |
        | RRC SEARCH FSM           |WAIT_SYNC           |
        | RRC ACTIVE FSM           |NULL                |
        | PMM PLMN FSM             |NORM_WAITCELL       |
        | EMM MAIN FSM             |NULL                |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |NULL                |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL         |
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |SYNCING             |
        | RRC SEARCH FSM           |WAIT_SYNC           |
        | RRC ACTIVE FSM           |NULL                |
        | PMM PLMN FSM             |NORM_WAITCELL       |
        | EMM MAIN FSM             |NULL                |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |NULL                |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL         |
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTING          |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |ESTABLISHING        |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |DEREG_REGISTERING   |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |AS_ESTABLISHING     |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |DEREG_REGISTERING   |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |AS_ESTABLISHING     |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |WAITING_SIM_CONFIRM |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    .
    SYSTEM FSM
    ==========
        +--------------------------+--------------------+
        |            FSM           |        STATE       |
        +--------------------------+--------------------+
        | RRC TOP FSM              |CONNECTED           |
        | RRC SEARCH FSM           |CAMPED              |
        | RRC ACTIVE FSM           |CONNECTED           |
        | PMM PLMN FSM             |NORM_CAMPED         |
        | EMM MAIN FSM             |REGISTERED_INIT     |
        | EMM AUTH FSM             |KASME_DEFINED       |
        | EMM CONN FSM             |AS_ESTABLISHED      |
        | EMM TAU FSM              |NULL                |
        | EMM TEST FSM             |NULL                |
        | ESM BEARER FSM           |BEARER_NULL_PENDING_ACTIVE|
        | SMS MT FSM               |IDLE                |
        | SMS MO FSM               |IDLE                |
        | LPP FSM                  |IDLE                |
        | HP MAIN FSM              |IDLE                |
        | HP USIM FSM              |READY               |
        | HP SMS MO FSM            |IDLE                |
        | HP SMS MT FSM            |IDLE                |
        | HP CAT FSM               |IDLE                |
        +--------------------------+--------------------+
    
    OK
    
    attached!
    connecting [##] connected!
    [(2, 1, 0, '', ('74.125.21.139', 80))]
    Waiting for 60 seconds before disconnecting ...
    OK, disconnecting now.
    >
    

    The resulting 74.125.21.139 IP address is indeed google.com, so I guess thats a good start!



  • For anyone curious, I just went ahead with the upgrade rather than wait for a response.

    Here's what I have:
    FiPy (upgraded to latest Pycom board firmware)
    Pysense v1.1 (upgraded to latest Pycom firmware) - Goofy process btw
    64GB SD card flashed FAT via disk utilities on my Mac and loaded with the NB1-41019.dup and updater.elf files via drag and drop.

    Here's what I did:

    >>> import sqnsupgrade
    
    >>> sqnsupgrade.info()
    
    <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
    >>> FiPy with firmware version 1.20.2.r0
    Your modem is in application mode. Here is the current version:
    UE5.0.0.0d
    LR5.1.1.0-47510
    
    IMEI: <redacted>
    
    >>> from machine import SD
    
    >>> sd = SD()
    
    >>> os.mount(sd, '/sd')
    
    >>> os.listdir('/sd')
    
    ['.Spotlight-V100', '.fseventsd', 'NB1-41019.dup', '._NB1-41019.dup', 'updater.elf', '._updater.elf', 'test.txt']
    
    >>> import sqnsupgrade
    
    >>> sqnsupgrade.run('/sd/NB1-41019.dup', '/sd/updater.elf')
    
    <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
    >>> FiPy with firmware version 1.20.2.r0
    /sd/updater.elf is not required. Resumining normal upgrade.
    Firmware file is too big to load via FFF method. Using ON_THE_FLY
    Attempting AT wakeup...
    Session opened: version 1, max transfer 8192 bytes
    Sending 5835531 bytes: [########################################] 100%
    Waiting for modem to finish the update...
    <<<=== DO NOT DISCONNECT POWER ===>>>
    Resetting.................................
    Your modem has been successfully updated.
    Here is the current firmware version:
    
    UE6.0.0.0
    LR6.0.0.0-41019
    
    IMEI: <redacted>
    True
    

Log in to reply
 

Pycom on Twitter