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 LTE not connecting after Upgrade Firmware

    Scheduled Pinned Locked Moved FiPy
    fipyfirmwaremodemsequans
    32 Posts 10 Posters 5.2k Views 10 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.
    • J Offline
      Jordan Reyes @Steve Williams
      last edited by

      @steve-williams it happened after upgrading to Sequans 39529.
      My only thought was to downgrade as well.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Steve Williams @Jordan Reyes
        last edited by

        @jordan-reyes OK, sounds similar then. I have added a VBatt monitor to my code and I note that when the LTE is trying to attach, that voltage reading drops from 4.2V (nominally 'normal') to 3.9 ~ 4.05 V like the modem is drawing a lot of power power? Still investigating that. I am in Australia so I was also wondering if some change has been made by Telstra on the network. I have tried several SIM's with the same result from the GPY.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Jordan Reyes @Steve Williams
          last edited by

          @steve-williams my initial thoughts are it is not a network issue more along the lines of a power brown out, we did have a disconnection on the older firmware version, which we were testing on a power source that would have dropped below the recommended amps, although we did not have a monitor on it, that is what we thought.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Steve Williams @Jordan Reyes
            last edited by

            @jordan-reyes That is my thinking too, but why start failing now, after working fine for months? No change to power supply etc.

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

              I was having issues when trying to run the v18.1 code while attaching to Vodafone Aus. I upgraded to the latest dev version and a number of little issues just disappeared. I am now getting reliable connections every 10mins or so but every 2 - 4 hours my system crashes unexpectedly. No o/s errors reported. Just fall s back to the repl. No idea why yet.

              1 Reply Last reply Reply Quote 0
              • P Offline
                Paul Thornton @Steve Williams
                last edited by

                @steve-williams a change in how the firmware handles things could cause more power usage. That said I'm not aware of anything specific that would have caused this.

                I'd suggest giving the latest rc firmware for the fipy a test. We've had a bunch of lte/stability improvements in the last few rc builds that could help.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  Steve Williams @Paul Thornton
                  last edited by

                  @paul-thornton Thanks for that advice, I will try that. However I am trying to deliver a finished prototype for team review, so I would prefer to use release version software really. Downgrade is perhaps an option at this stage - previous version worked fine for a long time!

                  S 1 Reply Last reply Reply Quote 0
                  • A Offline
                    akimmels
                    last edited by

                    I am wondering if I have a similar problem.

                    Setup is FiPy on Pyscan module.
                    FW version 1.18.2 and 39529 on the modem.
                    When lte.attach() is called, and then quickly repeating AT+CFUN?, the modem first reports
                    CFUN: 1. Shortly after it reports +SYSSTART and then CFUN: 0.
                    As per Sequans AT manual, +SYSSTART is associated with modem reset/startup.
                    Could this suggest that the modem reboots due to lte.attach() call?

                    Below snap from terminal:
                    0_1550501511327_snap.JPG

                    A 1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jordan Reyes
                      last edited by

                      My thought is that the Fipy Firmware is not the issue. but the Sequans firmware 39529 modem update was the issue. No problem running any Fipy Firmware old or new. Issues arise when using modem firmware 39529

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Steve Williams @Steve Williams
                        last edited by

                        @steve-williams I have been trying a number of different options and combinations of GPY and Sequans firmware and I have not found a solution to the problems I am experiencing. While I strongly suspected the Sequans firmware, downgrading to 33080, then up to 38638 and 39529 showed no real difference to the problem I am having getting LTE to attach properly.

                        With each Sequans version I tried Pycom GPY Release F/W GPy-1.18.1.r3, r4, r7 and also GPy-1.18.2. I also tried release candidates GPy-1.20.0.rc2, rc3, rc4 and rc7 - no joy with any of them or any combination.

                        I had no difficulty with any of the firmware installs and my code doesn't seem to mind which version/s are running. But I still can't get LTE to attach. But I least I have gone through previous versions which did work OK previously.

                        From here I can only try and prove that either the Sequans module itself (processor or radios) or perhaps the Expansion Bd. 3.0 is the cause. More testing to do now I have eliminated some possibles.

                        Anyone else having trouble or lucked onto a solution?

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          akimmels @akimmels
                          last edited by

                          @akimmels I realized I should probably clarify this a bit.

                          What this suggest to me is that when lte.attach()is called, the modem seems to reset itself, without lte.attach() returning or giving an error.
                          So you think the modem is still trying to attach, but in fact it is reset....

                          This can be seen from the CFUN returning 0 indicating that both RX adn TX of the modem are disabled. It can also be seen from the current the module is draining, which is much lower in the reset state than when the RX and TX are active.

                          I flashed NB-IoT firmware (instead of LTE-M) into the modem, and was then able to attach and connect to a network and test connectivity. So this proves that the hardware is OK....

                          1 Reply Last reply Reply Quote 0
                          • X Offline
                            Xykon administrators
                            last edited by

                            I have discussed this with Sequans but before we can do any type of troubleshooting we need more details.

                            • The network operator being used

                            • The API commands used to setup the connection

                            • The LTE firmware version currently installed (print(lte.send_at_command('ATI1')))

                            • The MicroPython firmware currently used (os.uname())

                            • The output of print(lte.send_at_command('AT+CEREG?')) after trying to attach.

                            • The output of print(lte.send_at_command('AT+SQNMONI=9')) after trying to attach (might return ERROR)

                            @akimmels This is normal behaviour under certain circumstances. The lte.isattached() command should automatically re-enable the radio in this case. It is not advised to enable/disable the radio manually as this will cause the MicroPython task monitoring the LTE modem to fail.

                            Christian Ehlers

                            S A 3 Replies Last reply Reply Quote 0
                            • X Offline
                              Xykon administrators
                              last edited by

                              I have also uploaded a new firmware package for CAT-M1: https://software.pycom.io/downloads/sequans/CATM1-41065.zip

                              The password is the same as for other Sequans firmware downloads.

                              This is a pre-release that has not been fully tested yet. It should be used only for users who have issues with the latest official release.

                              Christian Ehlers

                              S J 2 Replies Last reply Reply Quote 1
                              • S Offline
                                Steve Williams @Xykon
                                last edited by

                                @xykon said in FiPy LTE not connecting after Upgrade Firmware:

                                It is not advised to enable/disable the radio manually as this will cause the MicroPython task monitoring the LTE modem to fail.

                                When you say don't manually enable/disable the radio, what commands that would be used to do this? I do use init/deinit in my code (to reduce power use between LTE use), is that OK?

                                I will try the new firmware you advised of, and also get the information you request, this is a vexing problem and I am keen to resolve it. As I posted earlier, I have tried a number of different Sequans and GPY firmwares to try and identify the problem but had no success yet.

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Steve Williams @Xykon
                                  last edited by

                                  @xykon Just installed the 41065 firmware on my GPY, running 1.20.0.rc7. Sadly, my let.attach problem is NOT fixed..

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    Steve Williams @Xykon
                                    last edited by

                                    @xykon I am in Australi and use the Telstra service. The lte configuration I use is:

                                    0_1550789676736_2887dba0-739e-45e8-a723-534f3b4f7b8f-image.png

                                    0_1550789714282_34c72b01-bc62-405e-a78c-6f4a182f905c-image.png

                                    0_1550789821383_2cf8e702-9750-419e-8fe4-4af34437e686-image.png

                                    I have followed you instructions and taken snapshots of the command/result for each, Please note that the correct command to send AT commands is lte.send_at_cmd(instruction). as follows:
                                    0_1550789901169_dcfb4774-c6fe-408a-890a-44060713eae4-image.png

                                    0_1550789960202_05978310-11af-487c-acc8-07f0bd10af11-image.png

                                    0_1550789987947_a43cb42c-6a62-4fab-ab67-7e716dd17be6-image.png

                                    0_1550790017491_01ab6c3e-d723-46ed-b2c2-23bf8c2f1c69-image.png

                                    After that I uploaded the new seqans firmware OK, but it hasn't fixed the issue..

                                    0_1550790093115_90753662-08f1-49ab-9d13-0c2d647c8623-image.png

                                    Hope the above helps to resolve the problems being encountered..

                                    X 1 Reply Last reply Reply Quote 0
                                    • X Offline
                                      Xykon administrators @Steve Williams
                                      last edited by

                                      @steve-williams Can you please try with:

                                      from network import LTE
                                      lte = LTE(carrier="telstra")
                                      lte.attach()
                                      

                                      Please do not send any commands starting with "AT!" to the modem unless expressly advised by Pycom. The command you are using has been discontinued in recent firmwares.

                                      Christian Ehlers

                                      S J 3 Replies Last reply Reply Quote 1
                                      • S Offline
                                        Steve Williams @Xykon
                                        last edited by

                                        @xykon OK, I wasn't aware of that.. the code I am using has that instruction included and has done for months, and worked fine until recently? Where was the information on this provided -( so I can look for any other useful information)?

                                        1 Reply Last reply Reply Quote 1
                                        • S Offline
                                          Steve Williams @Xykon
                                          last edited by

                                          @xykon I tried that set of instructions - still doesn't attach.. :-(

                                          1 Reply Last reply Reply Quote 1
                                          • J Offline
                                            Jordan Reyes @Xykon
                                            last edited by

                                            @xykon do any of these updates location specific? Wouldn't think so but wanted to double check I am in the USA usually verizon. Tried the upgrade here and it still did not work.

                                            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
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom