Skip to content

Commit

Permalink
Update Sequans firmware updater to Version 1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Xykon committed Mar 19, 2019
1 parent ef15fee commit 389757a
Show file tree
Hide file tree
Showing 5 changed files with 217 additions and 91 deletions.
14 changes: 7 additions & 7 deletions lib/sqnsupgrade/sqnsbr.py

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions lib/sqnsupgrade/sqnsbrz.py

Large diffs are not rendered by default.

29 changes: 23 additions & 6 deletions lib/sqnsupgrade/sqnstp.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
#!/usr/bin/env python
# Copyright (c) 2016, Pycom Limited.
#################################################################
#
# This software is licensed under the GNU GPL version 3 or any
# later version, with permitted additional terms. For more information
# see the Pycom Licence v1.0 document supplied with this file, or
# available at https://www.pycom.io/opensource/licensing

# Copyright (c) 2011 SEQUANS Communications.
# All rights reserved.
#
# This is confidential and proprietary source code of SEQUANS
# Communications. The use of the present source code and all
# its derived forms is exclusively governed by the restricted
# terms and conditions set forth in the SEQUANS
# Communications' EARLY ADOPTER AGREEMENT and/or LICENCE
# AGREEMENT. The present source code and all its derived
# forms can ONLY and EXCLUSIVELY be used with SEQUANS
# Communications' products. The distribution/sale of the
# present source code and all its derived forms is EXCLUSIVELY
# RESERVED to regular LICENCE holder and otherwise STRICTLY
# PROHIBITED.
#
#################################################################
import struct
import time
import os
Expand Down Expand Up @@ -380,11 +391,17 @@ def start(elf, elfsize, serial, baud=3686400, retry=None, debug=None, AT=True, p

while True:
try:
if debug: print('running m.wipe')
m.wipe()
if debug: print('running m.reset')
m.reset()
if debug: print('running m.open_session')
m.open_session()
if debug: print('running push(m)')
push(m)
if debug: print('running dev.set_timeout(2)')
dev.set_timeout(2)
if debug: print('running m.reset(True)')
m.reset(True)
return True
except MException as ex:
Expand Down
Loading

0 comments on commit 389757a

Please sign in to comment.