mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-29 12:06:19 +02:00
GitBook: [master] one page modified
This commit is contained in:
committed by
gitbook-bot
parent
cb1240ca78
commit
1a0e415952
@@ -34,17 +34,17 @@ Please note that the `updater.elf` file is only around 300K so you can also stor
|
||||
To transfer the firmware files onto the SD card you have two options:
|
||||
|
||||
1. Format your SD card as with the FAT file system and then copy the files onto the card using your computer
|
||||
2. * Make sure your SD card has an MBR and a single primary partition, the format it directly on the module and mount it:
|
||||
2. Make sure your SD card has an MBR and a single primary partition, the format it directly on the module and mount it.
|
||||
3. Transfer the firmware files onto the SD card using FTP. Please ensure the transfer is successful and that the file on the module has the same size as the original file.
|
||||
|
||||
```text
|
||||
from machine import SD
|
||||
sd = SD()
|
||||
os.mkfs(sd)
|
||||
os.mount(sd, '/sd')
|
||||
os.listdir('/sd')
|
||||
```
|
||||
```python
|
||||
from machine import SD
|
||||
|
||||
* Transfer the firmware files onto the SD card using FTP. Please ensure the transfer is successful and that the file on the module has the same size as the original file.
|
||||
sd = SD()
|
||||
os.mkfs(sd) # format SD card
|
||||
os.mount(sd, '/sd') # mount it
|
||||
os.listdir('/sd') # list its content
|
||||
```
|
||||
|
||||
Once you copied/uploaded the firmware files on to the SD card you can flash the LTE modem using the following command:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user