<
From version < 3.1 >
edited by Xiaoling
on 2022/05/11 16:37
To version < 3.2 >
edited by Xiaoling
on 2022/05/11 16:38
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -30,7 +30,7 @@
30 30  
31 31  === 3.1.1 LSN50 v1 ===
32 32  
33 -[[File:STM32 UART Upgrade 1.png>>url:https://wiki.dragino.com/index.php?title=Special:Upload&wpDestFile=STM32_UART_Upgrade_1.png]]
33 +[[image:image-20220511163746-2.png]]
34 34  
35 35  Connection for LSN50 v1
36 36  
... ... @@ -57,15 +57,26 @@
57 57  
58 58  == 3.2 Upgrade Steps ==
59 59  
60 +(((
60 60  Step 1: Download [[Flash Loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
62 +)))
61 61  
64 +(((
62 62  Step 2: Download the Image files, which can be found in the product user manual.
66 +)))
63 63  
68 +(((
64 64  Step 3: Open Flashloader; choose the correct COM port to update, Please notice that the serial setting must follow below photos.
70 +)))
65 65  
72 +(((
66 66  Step 4: Set The device into **ISP Mode**. Then Press the **Reset Button**, In the Flash tool, click next and the tool will detect the board type.
74 +)))
67 67  
68 -Note: ISP Mode can be a switch or a button, depends on the product. The device only need to be in ISP mode when press the reset button for UART Upgrade. So if the device is of a button type ISP mode, user can release the ISP button after press the reset button.
76 +(% class="box warningmessage" %)
77 +(((
78 +**Note:** ISP Mode can be a switch or a button, depends on the product. The device only need to be in ISP mode when press the reset button for UART Upgrade. So if the device is of a button type ISP mode, user can release the ISP button after press the reset button.
79 +)))
69 69  
70 70  [[image:https://wiki.dragino.com/images/thumb/0/0e/STM32_UART_Upgrade_3.png/600px-STM32_UART_Upgrade_3.png||height="361" width="600"]]
71 71  
... ... @@ -79,13 +79,15 @@
79 79  
80 80  UART Upgrade
81 81  
93 +(((
82 82  Step 5: For switch type ISP Mode, After upgrade,please remember to switch back to Flash mode and press RESET Button to run the firmware.
95 +)))
83 83  
97 +(((
84 84  Step 6: Always run AT+FDR after update firmware. This is to reset the device to factory settings of the new firmware.
99 +
100 +)))
85 85  
86 -
87 -\\
88 -
89 89  == 3.3 Trouble shooting ==
90 90  
91 91  === 3.3.1 General Check List ===
... ... @@ -92,9 +92,9 @@
92 92  
93 93  1. Double check if follow up exactly the steps as manual.
94 94  1. Check if hardware works fine:
95 -11. check if AT command works, in both TX/RX
96 -11. check if the device are in upgrade mode, see product manual for upgrade mode indicator.
97 -11. check if reset button works
108 +1*. check if AT command works, in both TX/RX
109 +1*. check if the device are in upgrade mode, see product manual for upgrade mode indicator.
110 +1*. check if reset button works
98 98  1. If you use Windows10 system. Please change the flash loader to run in Windows7 compatibility mode.
99 99  1. We see a case the FT232 USB TTL adapter has reliability issue with the PC USB chipset(Intel). In this case, even above, it still has serious reliability issue for uploading. If this happen, change a PC or change a USB to TTL adapter will solve.
100 100  
... ... @@ -105,7 +105,9 @@
105 105  
106 106  Unable to Load data from this file
107 107  
108 -The previous LSN50 firmware file is stored in github. If user use right click ~-~-> Save As to get the hex file. This error will happen. Now the LSN50 firmware file has been moved to [[LSN5 Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/]] to avoid this happen.
121 +(((
122 +The previous LSN50 firmware file is stored in github. If user use right click ~-~-> Save As to get the hex file. This error will happen. Now the LSN50 firmware file has been moved to [[LSN50 Firmware>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/]] to avoid this happen.
123 +)))
109 109  
110 110  == 3.5 Alternative method to flash via UART ==
111 111  
... ... @@ -172,13 +172,21 @@
172 172  
173 173  == 4.2 ST-Link Upgrade Guide ==
174 174  
190 +(((
175 175  **Step 1**: Install [[ST-LINK driver>>url:https://www.stmicroelectronics.com.cn/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html]] first and then install [[ST-LINK Utility>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html]]
192 +)))
176 176  
194 +(((
177 177  **Step 2**: Download the Image files, firmware download link can be found on the product user manual.
196 +)))
178 178  
198 +(((
179 179  **Step 3**: Open ST-LINK utility, file ~-~-> open file to select the image to be upgraded.
200 +)))
180 180  
202 +(((
181 181  **Step 4**:
204 +)))
182 182  
183 183  * Case 1: If your board has the **Reset pin** connect to St-Link ((for example: LSN50v2, LHT65, LAQ4), click the blue global “settings” button on ST-LINK.
184 184  * Case 2: If your board doesn't have reset pin connect to ST-Link, but has a reset button (for example: LGT92). Keep pushing the small reset button on LGT92 and then click the blue global “settings” button on ST-Link utility.
... ... @@ -194,7 +194,7 @@
194 194  
195 195  Do not click OK, click Cancel
196 196  
197 -Step 6: Click verify/upgrade firmware. The ST-Link utility will pop up a download window. Click the start button to download the image to Device.
220 +**Step 6: **Click verify/upgrade firmware. The ST-Link utility will pop up a download window. Click the start button to download the image to Device.
198 198  
199 199  [[image:https://wiki.dragino.com/images/thumb/9/9a/STM32_ST-Link_Upgrade_3.png/600px-STM32_ST-Link_Upgrade_3.png||height="389" width="600"]]
200 200  
... ... @@ -228,7 +228,9 @@
228 228  
229 229  RESET pin not function
230 230  
254 +(((
231 231  User can try to mannual reset when use this type of ST-Link, touch the reset pin to GND pin and click the global icon in the ST Utility, If the other 3 wire connection is fine, the ST-LInk adapter LED will blink. and then release the reset. The IC should be detected.
256 +)))
232 232  
233 233  For LHT65 we recommend to use the white one show in possible issue 2.
234 234  
... ... @@ -243,30 +243,30 @@
243 243  
244 244  === 4.3.3 Old ST-LINK firmware/ST-LINK already use and USB communication error ===
245 245  
271 +(((
246 246  It may be that your stlink firmware is too old.
273 +)))
247 247  
275 +(((
248 248  You can try these steps:
277 +)))
249 249  
279 +(((
250 250  You unplug the stlink, and then plug in the stlink again.
281 +)))
251 251  
283 +(((
252 252  You click ST-LINK->Firmware update.
285 +)))
253 253  
254 254  [[image:https://wiki.dragino.com/images/thumb/f/f4/Stlink22.png/600px-Stlink22.png||height="401" width="600"]]
255 255  
256 -step1
289 +**step1**:click Device connect.
257 257  
258 -click Device connect.
259 -
260 260  [[image:https://wiki.dragino.com/images/1/12/Stlink23.png||height="238" width="486"]]
261 261  
262 -step2
293 +**step2:**Click yes to upgrade successfully.
263 263  
264 -Click yes to upgrade successfully.
265 -
266 266  [[image:https://wiki.dragino.com/images/a/a2/Stlink24.png||height="128" width="230"]]
267 267  
268 -step3
269 -
270 -[[Category>>url:https://wiki.dragino.com/index.php/Special:Categories]]:
271 -
272 -* [[Pages with broken file links>>url:https://wiki.dragino.com/index.php?title=Category:Pages_with_broken_file_links&action=edit&redlink=1]]
297 +**step3:**
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0