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.
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