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

    FiPy with NB-IoT sim cards but no signal

    Scheduled Pinned Locked Moved FiPy
    nbiotnb-iotfipylteat commands
    19 Posts 4 Posters 1.7k Views 4 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.
    • X Offline
      Xykon administrators
      last edited by Xykon

      @WalkerYun

      Have you actually tried the NB-IoT example in the docs?

      The output you have provided doesn't really help at this point because I don't see the radio being enabled.

      The LTE class documentation also has more details about commands to use for troubleshooting.

      Christian Ehlers

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        WalkerYun @Xykon
        last edited by

        @Xykon
        Thanks for replying.
        Yes, I have tried the example but every time I try the lte.isattached() step, I would always get "False" and I could not know what happened.
        Could you please give me some directions on how to enable the radio?

        robert-hhR 1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @WalkerYun
          last edited by

          @WalkerYun If I use your script with my FiPy, I get the same results. However, the device connects fine to LTE NBIoT, using the test script @Xykon pointed at. I had a case yesterday that all by sudden the modem refused to connect. Re-Flashing the modem firmware in recovery mode solved the issue. Never happened before. Could you please try the following commands:

          from network import LTE
          lte=LTE()
          print(lte.send_at_cmd('AT!="showver"'))
          print(lte.send_at_cmd('AT!="setDbgPerm full"'))
          print(lte.send_at_cmd('AT!="showCaps"'))
          

          That shows the firmware version and the supported bans of the modem. Please check also the version of your FiPy. The number is at the bottom side of the module next to the SIM card. It should be r1.2. r1.0 Versions have issues and must be replaced.

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            WalkerYun @robert-hh
            last edited by

            @robert-hh
            Thanks for replying. I've tried the script of you and it returned 1 in both nb-iot and cat-m1.
            I have checked the version of Fipy and discovered that it is V1.0r. However, what kind of issue would happen if I use V1.0r? Could it connect to LTE CAT-M1?

            robert-hhR 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @WalkerYun
              last edited by

              @WalkerYun It is more intersting which EUTRA band are supported, like in my result:

              >>> from network import LTE
              >>> lte=LTE()
              >>> print(lte.send_at_cmd('AT!="showver"'))
              
              SYSTEM VERSION
              ==============
                FIRMWARE VERSION
                  Bootloader0  : 5.1.1.0 [39529]
                  Bootloader1* : 6.0.0.0 [41019]
                  Bootloader2  : 6.0.0.0 [41019]
                  NV Info      : 1.1,0,0
                  Software     : 6.0.0.0 [41019] by robot-soft at 2018-12-13 21:41:15
                  UE           : 6.0.0.0
                COMPONENTS
                  ZSP0         : 1.0.99-3171
                  ZSP1         : 1.0.98-3170
              
              OK
              
              >>> print(lte.send_at_cmd('AT!="setDbgPerm full"'))
              
              
              OK
              
              >>> print(lte.send_at_cmd('AT!="showCaps"'))
              
              == CAPS config =============================
                .Lock UE on SRV band    : false
                .MFBI support           : true
                .TM8 TDD support        : false
              ============================================
              == CAPS ====================================
                . access stratum: R13
                . catM          : 1
                . nb-IoT        : 1
              -- EUTRA bands --
                . supported     : 66/28/26/25/20/19/18/17/14/13/12/8/5/4/3/2/1
                . board         : 1/2/3/4/5/8/12/13/14/17/18/19/20/25/26/28/66
                . admin         : 
                . pending admin : 
              -- EUTRA carriers --
                . admin         : 
                . pending admin : 
              ============================================
              
              OK
              

              Version 1.0r supports only a small setg of EUTRA bands, and if your provider uses these, than the device will not work.

              1 Reply Last reply Reply Quote 0
              • N Offline
                naveen
                last edited by

                I am facing the same issue. I am in Japan and using Fipy 1.0r with Hologram sim.
                The sim works with phone.
                How can I know if the supported band work here? @robert-hh, what do you mean by "It should be r1.2. r1.0 Versions have issues and must be replaced." You mean I need to buy a new one or I can ask Pycom to replace it?

                >>> print(lte.send_at_cmd('AT!="showver"'))
                
                SYSTEM VERSION
                ==============
                  FIRMWARE VERSION
                    Bootloader0  : 5.1.1.0 [33080]
                    Bootloader1* : 5.1.1.0 [38638]
                    Bootloader2  : 5.1.1.0 [39529]
                    NV Info      : 1.1,0,0
                    Software     : 5.1.1.0 [39529] by robot-soft at 2018-09-28 16:07:40
                    UE           : 5.0.0.0d
                  COMPONENTS
                    ZSP0         : 1.0.99-13616
                    ZSP1         : 1.0.99-12355
                
                OK
                
                >>> print(lte.send_at_cmd('AT!="setDbgPerm full"'))
                
                
                OK
                
                >>> print(lte.send_at_cmd('AT!="showCaps"'))
                
                == CAPS config =============================
                  .Lock UE on SRV band    : false
                  .MFBI support           : true
                  .TM8 TDD support        : false
                ============================================
                == CAPS ====================================
                  . access stratum: R13
                  . catM          : 1
                  . nb-IoT        : 0
                -- EUTRA bands --
                  . supported     : 28/20/13/12/4/3
                  . board         : 3/4/12/13/20/28
                  . admin         : 
                  . pending admin : 
                -- EUTRA carriers --
                  . admin         : 
                  . pending admin : 
                ============================================
                
                OK
                
                robert-hhR 2 Replies Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @naveen
                  last edited by

                  @naveen your post shows an old modem firmware. You should update that as a first step.

                  1 Reply Last reply Reply Quote 0
                  • robert-hhR Offline
                    robert-hh @naveen
                    last edited by

                    @naveen Looking for the LTE bands used in Japan, it is not likely that a r1.0 device matches. Pycom has a replacement program for these devices. Look at the following link on how to use it. https://forum.pycom.io/topic/3843/important-news-regarding-cat-m1-and-nb-iot-cellular-range.
                    You need a little patience, because Pycom seems very busy at the moment. Buying a new one, if not from Pycom, may not get you a r1.2 model. Vendors may still have r1.0 devices on stock and sell them in good faith.

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      naveen @robert-hh
                      last edited by

                      @robert-hh I have updated the firmware. It shows more bands now but still not attaching to the network.

                      SYSTEM VERSION
                      ==============
                        FIRMWARE VERSION
                          Bootloader0  : 5.1.1.0 [41065]
                          Bootloader1* : 5.1.1.0 [41065]
                          Bootloader2  : 5.1.1.0 [41065]
                          NV Info      : 1.1,0,0
                          Software     : 5.1.1.0 [41065] by robot-soft at 2018-12-17 13:03:40
                          UE           : 5.0.0.0d
                        COMPONENTS
                          ZSP0         : 1.0.99-13616
                          ZSP1         : 1.0.99-12376
                      
                      == CAPS config =============================
                        .Lock UE on SRV band    : false
                        .MFBI support           : true
                        .TM8 TDD support        : false
                      ============================================
                      == CAPS ====================================
                        . access stratum: R13
                        . catM          : 1
                        . nb-IoT        : 0
                      -- EUTRA bands --
                        . supported     : 66/28/26/25/20/19/18/17/14/13/12/8/5/4/3/2/1
                        . board         : 1/2/3/4/5/8/12/13/14/17/18/19/20/25/26/28/66
                        . admin         : 
                        . pending admin : 
                      -- EUTRA carriers --
                        . admin         : 
                        . pending admin : 
                      ============================================
                      

                      Output:

                      modem command: AT+CEREG=2
                      response=['OK']
                      modem command: AT+CFUN=1
                      response=['OK']
                      modem command: AT+CGDCONT=1,"IP","hologram"
                      response=[]
                      attempt to attach cell modem to base station...
                      modem command: ATI
                      response=['+SYSSTART']
                      modem command: AT+SQNCCID?
                      response=['+SQNCCID: "",""', 'OK']
                      modem command: AT+CEREG?
                      response=['+CEREG: 2,0', 'OK']
                      tac=0
                      modem command: AT+CSQ
                      response=['+CSQ: 99,99', 'OK']
                      modem command: AT+CEER
                      response=['+CEER: lastEmmCause: NO CAUSE RECEIVED, lastEsmCause: NO CAUSE RECEIVED', 'OK']
                      
                      robert-hhR 1 Reply Last reply Reply Quote 0
                      • robert-hhR Offline
                        robert-hh @naveen
                        last edited by

                        @naveen That was the case for my r1.0 boards too. I had to replace them by r1.2 boards.

                        N 1 Reply Last reply Reply Quote 0
                        • N Offline
                          naveen @robert-hh
                          last edited by naveen

                          @robert-hh Thanks for your response. Did they send new board or fixed the same one. How long it took to send and get it back? And what was the shipping cost?

                          robert-hhR 1 Reply Last reply Reply Quote 0
                          • robert-hhR Offline
                            robert-hh @naveen
                            last edited by

                            @naveen They have sent new boards, and it took ~4 weeks. But at that time they were still searching for the best fix.

                            N 1 Reply Last reply Reply Quote 0
                            • N Offline
                              naveen @robert-hh
                              last edited by naveen

                              @robert-hh @Xykon It took over a month and finally I received a new FiPy r1.2 board. I have tested the CAT-M1 firmware on this board using hologram sim and it was able to connect and send message using Softbank japan CAT-M1 LTE network.
                              But when I upgraded the firmware with NB-IOT (41019), it is not attaching to any network. The Softbank supports CAT-M1 and NB-IOT both. I am in a good coverage area and it took just 2-3 seconds to attach the CAT-M1 network. What could be the reason?

                              robert-hhR 1 Reply Last reply Reply Quote 0
                              • robert-hhR Offline
                                robert-hh @naveen
                                last edited by

                                @naveen That sounds not good. A few questions:

                                • which firmware for the FiPy are you using?
                                • how long did you wait for the attach?
                                N 1 Reply Last reply Reply Quote 0
                                • N Offline
                                  naveen @robert-hh
                                  last edited by naveen

                                  @robert-hh I am using the latest stable v1.18.2.r7 (just updated few hours ago). I waited a minute or so.

                                  robert-hhR 1 Reply Last reply Reply Quote 0
                                  • robert-hhR Offline
                                    robert-hh @naveen
                                    last edited by robert-hh

                                    @naveen I never tried that with the master branch before. I always used the release-candidate branch. But I loaded now the firmware 1.18.2.r7 from the web site and it works too. As far as I remember, the first attach took like 15 minutes. After that, it is down now to ~10 seconds.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      naveen @robert-hh
                                      last edited by

                                      @robert-hh I waited for 25 minutes but still it is not attaching to NB-IOT network. I reverted the firmware to CATM1 again and it works flawlessly. How can I debug the issue?

                                      robert-hhR 1 Reply Last reply Reply Quote 0
                                      • robert-hhR Offline
                                        robert-hh @naveen
                                        last edited by

                                        @naveen No clue. When it did not work for me, I could not get a hand on debugging. I only purchased another LTE NBIoT module to verify, that the service was available and the SIM worked. It did. Module type SIM7020.

                                        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