Skip to content

Commit edab4bd

Browse files
peter-pycomgijsio
authored andcommitted
uart clarification
1 parent cd817b4 commit edab4bd

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

content/updatefirmware/ltemodem.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,30 @@ You can find the firmwares listed [here](https://software.pycom.io/downloads/seq
8989

9090

9191
## USB
92-
If you do not have an SD card available, you can use the existing USB-UART interface. For this you will need to install
92+
If you do not have an SD card available, you can update the firmware over USB. For this you will need to install
9393

9494
* [Python 3](https://www.python.org/downloads)
9595
* [PySerial](https://pythonhosted.org/pyserial/pyserial.html#installation)
9696
* [sqnsupgrade python script](https://github.com/pycom/pycom-libraries/tree/master/lib/sqnsupgrade)
9797

98-
1. Use the following command to allow direct UART communication to the LTE modem:
98+
1. On the Pycom module run the following command to allow direct UART communication to the LTE modem:
9999
```python
100100
import sqnsupgrade
101101
sqnsupgrade.uart(True)
102102
```
103-
2. Take note of the Serial port used and close the IDE.
103+
1. You will see a response similar to this:
104+
```python
105+
<<< Welcome to the SQN3330 firmware updater [1.2.6] >>>
106+
>>> GPy with firmware version 1.20.3.b2
107+
Preparing modem for upgrade...
108+
FFH mode is not necessary... ignoring!
109+
Do not specify updater.elf when updating!
110+
Attempting AT wakeup...
111+
Going into MIRROR mode... please close this terminal to resume the upgrade via UART
112+
```
113+
1. Take note of the Serial port used and close the REPL.
104114

105-
3. Go to the directory where you saved the `sqnsupgrade` script and run the following commands in the command line / terminal
115+
1. On the computer go to the directory where you saved the `sqnsupgrade` script and run the following commands in the command line / terminal
106116
```python
107117
$ python3
108118
>>> import sqnsupgrade
@@ -114,9 +124,9 @@ If you do not have an SD card available, you can use the existing USB-UART inter
114124
```
115125
>Note: Replace the paths and `name.dup` with the actual files. There are different versions for `CAT-M1` and `NB-IoT`
116126

117-
4. The update is now running. Note that the update may seem to 'stall' around 7-10% and again at 99%. This is completely normal.
127+
1. The update is now running. Note that the update may seem to 'stall' around 7-10% and again at 99%. This is completely normal.
118128
>Note: **Do not disconnect power to the module during the updating process**
119-
5. The updater will show `SYSTEM VERSION` when it is done, and return control to REPL.
129+
1. The updater will show `SYSTEM VERSION` when it is done, and return control to REPL.
120130

121131

122132
## Wireless

0 commit comments

Comments
 (0)