New Stable release v1.18.1
-
Hello everyone
We have released a new stable firmware v1.18.1
New updates:
- New updated Scripts for Sequins LTE modem firmware upgrade added as Frozen Code
- Added support for upgrading LTE modem Firmware via UART
- Updated structure for
esp32/frozenfolder
Note: For upgrading the LTE modem firmware please follow the steps in the following Link
The new LTE modem upgrade Scripts can be found https://github.com/pycom/pycom-libraries/tree/master/lib/sqnsupgrade
You can download the new Stable firmware using pycom firmware updater tool.
or
To download source files , this could be found here https://github.com/pycom/pycom-micropython-sigfoxThe firmware Files for Sequans LTE modem can be found Here https://software.pycom.io/downloads/sequans2.html
-
Thanks for the update, but I can not get it to work.
What am I doing wrong??
Are the upgrade instructions complete???
This is what I get.
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff8028,len:8
load:0x3fff8030,len:1728
load:0x4009fa00,len:0
load:0x4009fa00,len:14584
entry 0x400a059c
Pycom MicroPython 1.18.1 [v1.8.6-849-f517b1d] on 2018-08-28; FiPy with ESP32
Type "help()" for more information.import sqnsupgrade
sqnsupgrade.run('/sd/NB1-37781.dup','/sd/updater.elf')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sqnsupgrade.py", line 538, in run
File "sqnsupgrade.py", line 168, in detect_modem_state
File "sqnsupgrade.py", line 89, in return_code
AttributeError: 'NoneType' object has no attribute 'decode'I think I followed the instructions correctly after loading the latest, stable firmware.
Peter.
-
@tuftec @administrators same error for me as well.
-
-
Hi @iwahdan, my modem is not bricked. I am trying to update to latest firmware because there is an connectivity issue in Australia usingLTE CAT M1 with Telstra. Should I follow follow another process? Thanks.
-
ok, thanks @IOAg , I am looking in to that error you had and will update you Asap
-
Hi,
I am getting this error when trying to upgrade the modem:
import sqnsupgrade
sqnsupgrade.run('/sd/NB1-37781.dup','/sd/updater.elf')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'run'The FiPy is upgraded to the latest FW with the updating tool. Formatted the SD card, mounted it and transferred the files as described. Got the latest version of the sqnsupgrade from GitHub and transferred it to the FiPy.
-
Hi @einarj, you don't need to transfer scripts fro GitHub to the Fipy, these scripts are already embedded in the Firmware (v1.18.1) as frozen code
-
Hi @iwahdan ,
It seems the firmware updating tool only upgrades the FiPy to 1.18.0.r1
Tool version is 1.15.1BR.
Einar -
Hi @einarj, could you update to version 1.15.2 https://forum.pycom.io/topic/3454/new-development-firmware-updater-1-15-2-b1
-
Thanks @iwahdan ,
Managed to upgrade it to 1.18.1 - but I get the same error as mentioned from others:
import sqnsupgrade
sqnsupgrade.run('/sd/NB1-37781.dup','/sd/updater.elf')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sqnsupgrade.py", line 538, in run
File "sqnsupgrade.py", line 168, in detect_modem_state
File "sqnsupgrade.py", line 89, in return_code
AttributeError: 'NoneType' object has no attribute 'decode' -
Hi @iwahdan,
Looks like the delay is not long enough:
>>> from sqnsupgrade import sqnsupgrade >>> sqnup = sqnsupgrade() >>> sqnup.detect_modem_state() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "sqnsupgrade.py", line 168, in detect_modem_state File "sqnsupgrade.py", line 89, in return_code AttributeError: 'NoneType' object has no attribute 'decode' >>> sqnup.detect_modem_state(initial_delay=8) 2 >>> -
@peterv , I do acknowledge now that this error happens with some modules , not all of them, we are working on doing a fix for that.
-
This post is deleted! -
This post is deleted! -
Hi @iwahdan, My LoPy is brand new. Never been used.
Peter. -
@iwahdan The new release excludes own files in the frozen directory to be included into the build. At the moment they have to be places in one of the subdirectories, Base or Common. Maybe the build script is changed again, or an additional subdirectory is defined for user code, like Custom (?).
Edit: The script to be changed is py/mkrules.mk.
Edit2: I do not understand the need to change the makefile, because files in subdirectories have always been included into the build. -
@robert-hh , yes since the frozen folder structure has been changed
py/mkrules.mkhad to be updated, your proposal sounds very good , I'll consider it in the new release which I believe will not be far away, for now as you mentioned you can place your scripts in either theBaseorCommonfolder .
we have gone with this structure as we are planning to merge the Pybytes firmware into the Base Firmware Build Environment , so Scripts in Common would be included in bothBaseandPyBytesBuilds butPyBytesbuilds would include Common and other scripts in a new Folder , will be called Pybytes... and LTE with Only FIPY and GPY.Hope that explains it.
-
A new firmware v1.18.1.r1 has been released for fixing the issue encountered during modem state detection
-
@iwahdan OK. I adapted my mkrules.py script already to include files from a 'Custom' folder.
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