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/frozen
folder
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
-
More simple procedure on Linux :
start from the Linux menu "Pycom Firmware tool", quote "include dev releases"
then just choice /dev/ttyACM0 in High transfert mode
the firmware is flashed in 1.18.1.r1
Wrote 1.19 MiB from sipy.bin in 1 minute and 13.88 seconds
-
@iwahdan OK. I adapted my mkrules.py script already to include files from a 'Custom' folder.
-
A new firmware v1.18.1.r1 has been released for fixing the issue encountered during modem state detection
-
@robert-hh , yes since the frozen folder structure has been changed
py/mkrules.mk
had 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 theBase
orCommon
folder .
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 bothBase
andPyBytes
Builds butPyBytes
builds 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.
-
@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.
-
Hi @iwahdan, My LoPy is brand new. Never been used.
Peter.
-
This post is deleted!
-
This post is deleted!
-
@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.
-
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 >>>
-
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 @einarj, could you update to version 1.15.2 https://forum.pycom.io/topic/3454/new-development-firmware-updater-1-15-2-b1
-
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, 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,
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.
-
ok, thanks @IOAg , I am looking in to that error you had and will update you Asap
-
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.
-
Hi @ioag @tuftec , may I ask you if your modems where upgraded successfully before or did you had the problem of modem being bricked?
-
@tuftec @administrators same error for me as well.