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 modem firmware update failed

    Scheduled Pinned Locked Moved FiPy
    1 Posts 1 Posters 73 Views 3 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.
    • H Offline
      Hamed Talebi
      last edited by

      Hi,

      I have got a 1nce sim card recently and tried to update LTE modem firmware on FiPy. I followed the instructions from this link and successfully updated the modem to CAT-M1 5.2-48829 then tried some examples and afterward changed the modem firmware to NB-IoT NB1-41019 and tried the same examples. Everything worked smoothly but because NB-IoT has a longer attach() time I have decided to go back to CAT-M1 when I tried:

      sqnsupgrade.run('/sd/CATM1-5.2-48829-1.dup', load_fff=False)
      

      it crashed on the resetting phase and went back to the command line. I have tried to execute it again without any success, then spent hours and found lots of threads on the forum but none of them helped to get it to work. Following are some of the outputs I get from REPL:

      >>> from network import LTE
      >>> lte=LTE()
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      OSError: Couldn't start connection to Modem (modem_state=disconnected)
      >>> 
      
      >>> import sqnsupgrade
      >>> sqnsupgrade.info(debug=True)
      <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
      >>> FiPy with firmware version 1.20.3.b4
      The current delay is 1000
      Response (+++ #1): b'\x00'
      Response (AT #1) None
      Response (AT #3) b'\x00'
      Response (AT #4) None
      Response (AT #1 @ 115200) b'\x00'
      Response (AT #2 @ 115200) None
      The current delay is 2000
      Response (+++ #1): b'\x00'
      Response (AT #1) None
      Response (AT #3) b'\x00'
      Response (AT #4) b'\x00'
      Response (AT #1 @ 115200) b'\x00'
      Response (AT #2 @ 115200) b'\x00'
      The current delay is 3000
      Response (+++ #1): None
      Response (AT #1) None
      Response (AT #3) b'\x00\x00'
      Response (AT #4) b'\x00'
      Response (AT #1 @ 115200) b'\x00\x00'
      Response (AT #2 @ 115200) b'\x00'
      The current delay is 4000
      Response (+++ #1): b'\x00'
      Response (AT #1) None
      Response (AT #3) b'\xfe\x00\x00\x00'
      Response (AT #4) b'\x00\xff\x00'
      Response (AT #1 @ 115200) b'\x00\x00'
      Response (AT #2 @ 115200) b'\x00\x00'
      The current delay is 5000
      Response (+++ #1): None
      Response (AT #1) b'\x00'
      Response (AT #2) None
      Response (+++ #2): None
      Response (AT #3) b'\x00\x00\x00'
      Response (AT #4) b'\x00\x00'
      Response (AT #1 @ 115200) b'\x00\x00\x00'
      Response (AT #2 @ 115200) b'\x00\x00'
      Modem state: None
      Cannot determine modem state!
      >>> 
      
      >>> pycom.lte_modem_en_on_boot()
      True
      >>> 
      

      I have set it to False and tried but still no answer.

      >>> sqnsupgrade.run('/sd/CATM1-5.2-48829-1.dup', load_fff=False)
      <<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
      >>> FiPy with firmware version 1.20.3.b4
      Could not detect your modem!
      Please try to power off your device and restart in safeboot mode.
      Attempting AT wakeup...
      True
      >>> 
      

      I have also reset into safeboot mode and got the same message.

      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