N
FINALLY GOT IT TO SUCCEED
>>
>>>
<<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
>>> FiPy with firmware version 1.20.2.rc6
File /sd/updater.elf has size 430284
File /sd/CATM1-41065.dup has size 6160982
The current delay is 1000
Response (+++ #1): None
Response (AT #1) None
Response (AT #3) None
Response (AT #4) None
Response (AT #1 @ 115200) b'ERROR\r\n'
Response (AT #2 @ 115200) b'OK\r\n'
Response (AT+SMOD?) b'0\r\nOK\r\n'
Converting response: 0 to int...
Modem state: 0
Success1? True
mirror? False recover? True resume? True direct? False atneg_only? False bootrom? False load_fff? False
baudrate: 115200 target_baudrate: 921600
Initial prepartion complete...
Loading /sd/updater.elf
Entering recovery mode
AT+SMOD? returned 0
Attempting AT auto-negotiation... with baudrate 115200 and target_baudrate 921600
b'OK\r\n'
Setting baudrate to 921600
b'OK\r\n'
Checking SMOD
AT+SMOD? returned b'0'
Starting STP code upload
running m.wipe
running m.reset
magic=0x74736166, op=0x80, sid=0x0, plen=0x0, tid=0x0, hcrc=0x0, pcrc=0xFEEC
Correct SRSP signature: 0x74736166
running m.open_session
Session opened: version 1, max transfer 2048 bytes
running push(m)
Sending 430284 bytes: [########################################] 100%
running dev.set_timeout(2)
running m.reset(True)
start returned True type <class 'bool'>
Waiting for updater to load... [921600]
b'\r\nOK\r\n'
Upgrader loaded successfully, modem is in update mode
Success2? True
mirror? False recover? False resume? True direct? False atneg_only? False bootrom? False load_fff? False
baudrate: 921600 target_baudrate: 921600
Initial prepartion complete...
Loading /sd/CATM1-41065.dup
Attempting AT wakeup... [921600]
b'\r\nOK\r\n'
Entering recovery mode
AT+SMOD? returned 4
Starting STP ON_THE_FLY
Sending AT+SMSTPU="ON_THE_FLY"
Starting STP code upload
running m.wipe
running m.reset
magic=0x74736166, op=0x80, sid=0x0, plen=0x0, tid=0x0, hcrc=0x0, pcrc=0x0
Correct SRSP signature: 0x74736166
running m.open_session
Session opened: version 1, max transfer 8192 bytes
running push(m)
Sending 6160982 bytes: [########################################] 100%
running dev.set_timeout(2)
running m.reset(True)
start returned True type <class 'bool'>
Code download done, returning to user mode
Waiting for modem to finish the update...
<<<=== DO NOT DISCONNECT POWER ===>>> [921600]
b''
count=1
b'\r\nOK\r\n\r\nOK\r\n'
AT+SMUPGRADE? returned b'+SMUPGRADE: success\r\n\r\nOK\r\n' [timeout: 0]
AT+SMSWBOOT? returned b'FFH\r\nOK\r\n'
AT+SMUPGRADE? returned b'+SMUPGRADE: success\r\n\r\nOK\r\n'
This is my result: success
Resetting.AT+SMSWBOOT=1,1 returned b'+SMUPGRADE: success\r\n\r\nOK\r\n'
.........................
Sending AT+SQNSUPGRADENTF="success"
AT+SQNSUPGRADENTF="success" returned b'\r\nOK'
Sending AT+FSRDFILE="/fs/crashdump"
AT+FSRDFILE="/fs/crashdump" returned b'\r\nOK'
Checking bootrom & application
Checking line
Checking line SYSTEM VERSION
Checking line ==============
Checking line FIRMWARE VERSION
Checking line Bootloader0 : 5.1.1.0 [41065]
old_br: False
Checking line Bootloader1* : 5.1.1.0 [41065]
Checking line Bootloader2 : 5.1.1.0 [41065]
Checking line NV Info : 1.1,0,0
Checking line Software : 5.1.1.0 [41065] by robot-soft at 2018-12-17 13:03:40
old_sw: False
Checking line UE : 5.0.0.0d
Checking line COMPONENTS
Checking line ZSP0 : 1.0.99-13616
Checking line ZSP1 : 1.0.99-12376
Checking line
Checking line OK
Checking line
Returning: False
Your modem has been successfully updated.
Here is the current firmware version:
mirror? False recover? False resume? True direct? True atneg_only? False bootrom? False load_fff? False
baudrate: 921600 target_baudrate: 921600
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
IMEI: 354346094393633
>
Pycom MicroPython 1.20.2.rc6 [v1.11-01f49f7] on 2020-02-28; FiPy with ESP32
Pybytes Version: 1.3.1
Type "help()" for more information.
>>>
>>> Connecting to COM8...
WMAC: 240AC4C829E0
Firmware: 1.20.2.rc6
Pybytes: 1.3.1
Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms
WiFi connection established
Pybytes connected successfully (using the built-in pybytes library)
Pybytes configuration read from /flash/pybytes_config.json
Pycom MicroPython 1.20.2.rc6 [v1.11-01f49f7] on 2020-02-28; FiPy with ESP32
Pybytes Version: 1.3.1
Type "help()" for more information.
Not to try the NB version of the Modem Firmware