Sequans Firmware Update Fails



  • Re: Sequans Firmware Update Fails

    I'm also having problems updating the modem on a FiPY to NB-IoT, using the direct UART method as I don't have the board with the SD card. Please can someone suggest how to fix this or update the documentation if this method of updating is no longer supported.

    sqnsupgrade.run('COM3', 'NB1-41019.dup', debug=True, verbose=True)
    <<< Welcome to the SQN3330 firmware updater [1.2.5] >>>
    File NB1-41019.dup has size 5835531
    mirror? False recover? False resume? False direct? False atneg_only? False bootrom? False load_fff? True
    baudrate: 921600 target_baudrate: 921600
    Setting port COM3
    Setting baudrate to 921600
    Initial prepartion complete...
    Loading NB1-41019.dup
    Firmware file is too big to load via FFF method. Using ON_THE_FLY
    Attempting AT wakeup... [921600]
    b'\r\nOK\r\n'
    AT+BIND=AT returned b'\r\nOK\r\n'
    ATE0 returned b'\r\nOK\r\n'
    Entering upgrade mode...
    Sending AT+SMLOG?
    AT+SMLOG? returned b'\r\n+SMLOG: LOG_INHERIT\r\nOK\r\n'
    AT+SMOD? returned 2
    Sending AT+FSRDFILE="/fs/crashdump"
    AT+FSRDFILE="/fs/crashdump" returned b'\r\n\x00\x00\.\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x0055.1.1.0 [39529] by robot-soft at 2018-09-28 16:07:40\x00\x00\x00\x00\x04\x00\x00\x014Assertion fai'
    AT+SQNSUPGRADENTF="started" returned b"ed\nFile: /data/bld/ue--B_XHsY/fw/bsp/board/ecos/hal/nds32/arch/v3_0/src/hal_misc.c@420\n'Spurious Int"



  • Good news, I got this to work by commenting out the code in sqnsupgrade.py which I assume tries to retrieve the modem crashdump (the two occurrences in the __run method).

    I guess the crashes on my modem were longer than the 100 byte assumption in the code.


Log in to reply
 

Pycom on Twitter