Wiki source code of UART Access for LoRa ST v4 base model
Version 13.1 by Edwin Chen on 2022/12/24 17:47
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | = LoRaST v4 base Hardware = | |
2 | |||
3 | Below hardware use LoRaST v4 module. They module support UART Access for AT Command and Firmware Upgrade. | ||
4 | |||
3.1 | 5 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:770px" %) | |
6 | (% class="sortHeader" %)|=(% style="width: 180px;" %)Model|=(% style="width: 135px;" %)Mother Board|=(% style="width: 199px;" %)UART for AT Commands|=(% style="width: 230px;" %)UART for Upgrade Firmware | ||
1.1 | 7 | |(% style="width:180px" %)((( | |
3.1 | 8 | **PS-LB ** | |
4.1 | 9 | )))|(% style="width:135px" %)SIB|(% style="width:199px" %)Instruction|(% style="width:230px" %)Instruction | |
5.1 | 10 | ||
9.1 | 11 | = UART for AT Commands = | |
5.1 | 12 | ||
9.1 | 13 | == Generate software set up for AT Commands via UART == | |
5.1 | 14 | ||
9.1 | 15 | 1. Use a general serial tool. | |
16 | 1. Connect PC to device's UART interface | ||
17 | 1. Set up serial tool with : BaudRate: 9600, databit:8, No parity, No flow control. | ||
18 | |||
19 | [[image:image-20221224170218-1.png||height="497" width="640"]] | ||
20 | |||
21 | |||
22 | == UART Connection for SIB mother board == | ||
23 | |||
24 | [[image:image-20221224171304-3.png||height="545" width="863"]] | ||
25 | |||
26 | |||
27 | |||
28 | = UART for Firmware Upgrade = | ||
29 | |||
13.1 | 30 | == General Instruction for UART update firmware == | |
31 | |||
32 | LoRaSTv4 Base hardware support UART update firmware. the UART connection is the same as AT Command connection, with the need for two extra action. See below for the steps: | ||
33 | |||
34 | **Step1**: Set BOOT Switch to **PROG** mode. PROG mode is for update firmware specially. | ||
35 | |||
36 | **Step2**: Press **Reset** button, the module will then boot into program mode. | ||
37 | |||
38 | **Step3**: Use **TremoProgrammer** to update the firmware to LoRaST v4. | ||
39 | |||
40 | **Step4**: Set BOOT Switch to **FLASH** position. Press Reset button again and module will run the new software. | ||
41 | |||
42 | |||
43 | Below is the method for how to update via **TremoProgrammer:** | ||
44 | |||
45 | 1. Software download link: [[https:~~/~~/www.dropbox.com/sh/j0qyc7a9ejit7jk/AACtx2tK4gEv6YFXMIVUM4dLa?dl=0>>url:https://www.dropbox.com/sh/j0qyc7a9ejit7jk/AACtx2tK4gEv6YFXMIVUM4dLa?dl=0]] | ||
46 | |||
47 | 2. Run** TremoProgrammer.** | ||
48 | |||
49 | 3. Choose software and set the address to **0x0800D000** | ||
50 | |||
51 | 4. Rember to set BOOT Switch to FLASH after update | ||
52 | |||
53 | [[image:image-20221224174341-4.png||height="471" width="374"]] | ||
54 | |||
55 | |||
56 | == UART Connection for SIB mother board for Program. == | ||
57 | |||
58 | Below shows the SIB board UART connection, reset button and BOOT Switch (Program Jumper) position. They can be used for firmware upgrade reference. | ||
59 | |||
60 | [[image:image-20221224174605-6.png||height="569" width="880"]] | ||
61 | |||
62 | |||
9.1 | 63 |