Skip to content

Commit 4324689

Browse files
authored
Adding changes of commit 23ef8f6 (#214)
* Adding changes of commit 23ef8f6 Changes related to replacement of os.mkfs() with os.fsformat() Link explaining the replacement details: https://forum.pycom.io/topic/3351/new-development-firmware-release-v1-19-0-b1/2 Issue: https://forum.pycom.io/topic/5606/what-happened-to-pin_deepsleep_wakeup/9
1 parent 6d25148 commit 4324689

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

content/datasheets/.DS_Store

-6 KB
Binary file not shown.

content/gettingstarted/.DS_Store

-6 KB
Binary file not shown.
-6 KB
Binary file not shown.

content/gettingstarted/programming/first-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ If you need to remove files from your device you have two options, either connec
118118
```python
119119

120120
import os
121-
os.mkfs('/flash')
121+
os.fsformat('/flash')
122122
```

content/gettingstarted/programming/safeboot.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If problems occur within the filesystem or you wish to factory reset your module
3535
```python
3636

3737
>>> import os
38-
>>> os.mkfs('/flash')
38+
>>> os.fsformat('/flash')
3939
```
4040

4141
{{% hint style="danger" %}}
@@ -59,4 +59,3 @@ A hard reset is the same as performing a power cycle to the device. In order to
5959
>>> import machine
6060
>>> machine.reset()
6161
```
62-

content/tutorials/.DS_Store

-10 KB
Binary file not shown.

content/tutorials/lte/firmware.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Please start with the following steps:
3737
2. Select Firmware Type `stable` in the communication window to upgrade to version `v1.18.1.r1`
3838

3939

40-
The modem firmware files are password protected, to download them you should be a forum.pycom.io member and access to:
41-
Announcements & News --> Announcements only for members --> Firmware Files for Sequans LTE modem now are secured, or clicking [Here](https://forum.pycom.io/topic/4020/firmware-files-for-sequans-lte-modem-now-are-secured).
40+
The modem firmware files are password protected. In order to download them, head to forum.pycom.io and become a member (if you aren't already) and click on:
41+
Announcements & News --> Announcements for members only --> the Firmware Files for the Sequans LTE modem are now secured or click here.
4242

43-
You can find the different versions of firmwares available [here](https://software.pycom.io/downloads/sequans2.html).
43+
You can find the different available firmware versions [here](https://software.pycom.io/downloads/sequans2.html)
4444

4545
We are using `CATM1-39529.zip` and `NB1-37781.zip` as examples in this tutorial.
4646

@@ -56,8 +56,8 @@ Please note that the `updater.elf` file is only around 300K so you can also stor
5656
import sqnsupgrade
5757
sqnsupgrade.run('upgdiff_38638-to-39529.dup')
5858
```
59-
If you are updating the Sequans firmware on your module for the first time, please use instead the file upgdiff_33080-to-39529.dup (1.2M) from the same archive.
60-
Similar upgrade packages are available for the NB-IoT firmwares.
59+
If you are updating the Sequans firmware on your module for the first time, please use this file instead upgdiff_33080-to-39529.dup (1.2M), which is from the same archive.
60+
Similar upgrade packages are available for the NB-IoT firmware.
6161
{{% /hint %}}
6262

6363
## Via SD card
@@ -72,7 +72,10 @@ To transfer the firmware files onto the SD card you have two options:
7272
from machine import SD
7373

7474
sd = SD()
75-
os.mkfs(sd) # format SD card
75+
os.fsformat('/sd') # format SD card
76+
from machine import SD
77+
sd = SD()
78+
fs = os.mkfat(sd)
7679
os.mount(sd, '/sd') # mount it
7780
os.listdir('/sd') # list its content
7881
```
@@ -266,6 +269,4 @@ The latest version of the `sqnsupgrade` class has a few additional features that
266269
If the modem is in application mode, the current firmware version is displayed. This behaviour replaces the version() command which now is only available in uart() mode. Optional parameters are sqnsupgrade.info(verbose=False, debug=False)
267270

268271
#### sqnsupgrade.run(load_fff=True)
269-
New optional command line option load_fff for the sqnsupgrade.run() command. This is designed to be an internal flag. And should only applied when advised by pycom support.
270-
271-
272+
There is an optional command line load_fff for the sqnsupgrade.run() command. This is designed to be an internal flag. IMPORTANT: This should only be used when advised by Pycom Support.

0 commit comments

Comments
 (0)