<
From version < 4.1 >
edited by Xiaoling
on 2022/05/11 16:39
To version < 3.1 >
edited by Xiaoling
on 2022/05/11 16:37
>
Change comment: Uploaded new attachment "image-20220511163746-2.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -30,7 +30,7 @@
30 30  
31 31  === 3.1.1 LSN50 v1 ===
32 32  
33 -[[image:image-20220511163746-2.png]]
33 +[[File:STM32 UART Upgrade 1.png>>url:https://wiki.dragino.com/index.php?title=Special:Upload&wpDestFile=STM32_UART_Upgrade_1.png]]
34 34  
35 35  Connection for LSN50 v1
36 36  
... ... @@ -57,26 +57,15 @@
57 57  
58 58  == 3.2 Upgrade Steps ==
59 59  
60 -(((
61 61  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 -)))
63 63  
64 -(((
65 65  Step 2: Download the Image files, which can be found in the product user manual.
66 -)))
67 67  
68 -(((
69 69  Step 3: Open Flashloader; choose the correct COM port to update, Please notice that the serial setting must follow below photos.
70 -)))
71 71  
72 -(((
73 73  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 -)))
75 75  
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 -)))
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.
80 80  
81 81  [[image:https://wiki.dragino.com/images/thumb/0/0e/STM32_UART_Upgrade_3.png/600px-STM32_UART_Upgrade_3.png||height="361" width="600"]]
82 82  
... ... @@ -90,15 +90,13 @@
90 90  
91 91  UART Upgrade
92 92  
93 -(((
94 94  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 -)))
96 96  
97 -(((
98 98  Step 6: Always run AT+FDR after update firmware. This is to reset the device to factory settings of the new firmware.
99 -
100 -)))
101 101  
86 +
87 +\\
88 +
102 102  == 3.3 Trouble shooting ==
103 103  
104 104  === 3.3.1 General Check List ===
... ... @@ -105,9 +105,9 @@
105 105  
106 106  1. Double check if follow up exactly the steps as manual.
107 107  1. Check if hardware works fine:
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
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
111 111  1. If you use Windows10 system. Please change the flash loader to run in Windows7 compatibility mode.
112 112  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.
113 113  
... ... @@ -118,9 +118,7 @@
118 118  
119 119  Unable to Load data from this file
120 120  
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 -)))
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.
124 124  
125 125  == 3.5 Alternative method to flash via UART ==
126 126  
... ... @@ -187,21 +187,13 @@
187 187  
188 188  == 4.2 ST-Link Upgrade Guide ==
189 189  
190 -(((
191 191  **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 -)))
193 193  
194 -(((
195 195  **Step 2**: Download the Image files, firmware download link can be found on the product user manual.
196 -)))
197 197  
198 -(((
199 199  **Step 3**: Open ST-LINK utility, file ~-~-> open file to select the image to be upgraded.
200 -)))
201 201  
202 -(((
203 203  **Step 4**:
204 -)))
205 205  
206 206  * 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.
207 207  * 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.
... ... @@ -217,7 +217,7 @@
217 217  
218 218  Do not click OK, click Cancel
219 219  
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.
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.
221 221  
222 222  [[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"]]
223 223  
... ... @@ -251,9 +251,7 @@
251 251  
252 252  RESET pin not function
253 253  
254 -(((
255 255  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 -)))
257 257  
258 258  For LHT65 we recommend to use the white one show in possible issue 2.
259 259  
... ... @@ -268,30 +268,30 @@
268 268  
269 269  === 4.3.3 Old ST-LINK firmware/ST-LINK already use and USB communication error ===
270 270  
271 -(((
272 272  It may be that your stlink firmware is too old.
273 -)))
274 274  
275 -(((
276 276  You can try these steps:
277 -)))
278 278  
279 -(((
280 280  You unplug the stlink, and then plug in the stlink again.
281 -)))
282 282  
283 -(((
284 284  You click ST-LINK->Firmware update.
285 -)))
286 286  
287 287  [[image:https://wiki.dragino.com/images/thumb/f/f4/Stlink22.png/600px-Stlink22.png||height="401" width="600"]]
288 288  
289 -**step1**:click Device connect.
256 +step1
290 290  
258 +click Device connect.
259 +
291 291  [[image:https://wiki.dragino.com/images/1/12/Stlink23.png||height="238" width="486"]]
292 292  
262 +step2
263 +
264 +Click yes to upgrade successfully.
265 +
293 293  [[image:https://wiki.dragino.com/images/a/a2/Stlink24.png||height="128" width="230"]]
294 294  
295 -**step2:**Click yes to upgrade successfully.
268 +step3
296 296  
297 -
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]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0