<
From version < 5.6 >
edited by Xiaoling
on 2022/05/11 17:01
To version < 4.1 >
edited by Xiaoling
on 2022/05/11 16:39
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -23,6 +23,7 @@
23 23  |(% style="width:444px" %)[[RS485-BL>>url:https://www.dragino.com/products/lora-lorawan-end-node/item/167-rs485-bl.html]], LDDS75,[[LLDS12>>url:https://www.dragino.com/products/distance-level-sensor/item/185-llds12.html]],LDDS20,[[LSE01>>https://www.dragino.com/products/agriculture-weather-station/item/159-lse01.html]],WSC1-L,GroPoint Air|(% style="width:239px" %)[[Hardware Connection Photo>>url:https://wiki.dragino.com/index.php/Firmware_Upgrade_Trouble_Shooting#RS485-BL.2FLDDS75.2FLDDS20.2FLSE01]]|(% style="width:204px" %)[[Hardware Connect Photo>>url:https://wiki.dragino.com/index.php/Firmware_Upgrade_Instruction_for_STM32_base_products#RS485-BL.2FLDDS75.2FLDDS20.2FLSE01_2]]
24 24  |(% style="width:444px" %)[[LTC2>>url:https://www.dragino.com/products/temperature-humidity-sensor/item/170-ltc2.html]]|(% style="width:239px" %)×|(% style="width:204px" %)[[Hardware Connect Photo>>url:https://wiki.dragino.com/index.php/Firmware_Upgrade_Instruction_for_STM32_base_products#LTC2]]
25 25  
26 +
26 26  = 3. UART Upgrade Guide =
27 27  
28 28  == 3.1 Hardware Connection ==
... ... @@ -29,13 +29,13 @@
29 29  
30 30  === 3.1.1 LSN50 v1 ===
31 31  
32 -[[image:image-20220511163746-2.png||height="322" width="433"]]
33 +[[image:image-20220511163746-2.png]]
33 33  
34 34  Connection for LSN50 v1
35 35  
36 36  === 3.1.2 LSN50 v2/LSN50v2-D22/LSN50v2-D23 ===
37 37  
38 -[[image:https://wiki.dragino.com/images/thumb/f/f8/STM32_UART_Upgrade_2.png/600px-STM32_UART_Upgrade_2.png||height="267" width="551"]]
39 +[[image:https://wiki.dragino.com/images/thumb/f/f8/STM32_UART_Upgrade_2.png/600px-STM32_UART_Upgrade_2.png||height="291" width="600"]]
39 39  
40 40  Connection for LSN50 Type V2
41 41  
... ... @@ -53,6 +53,7 @@
53 53  * Put Switch SW1 to ISP position
54 54  * Connect JP2 jumper (Yellow one), so device is power on.
55 55  
57 +
56 56  == 3.2 Upgrade Steps ==
57 57  
58 58  (((
... ... @@ -86,22 +86,16 @@
86 86  
87 87  [[image:https://wiki.dragino.com/images/thumb/0/09/STM32_UART_Upgrade_5.png/600px-STM32_UART_Upgrade_5.png||height="385" width="600"]]
88 88  
89 -(((
90 90  UART Upgrade
91 -)))
92 92  
93 93  (((
94 -(((
95 95  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.
96 96  )))
97 -)))
98 98  
99 99  (((
100 -(((
101 101  Step 6: Always run AT+FDR after update firmware. This is to reset the device to factory settings of the new firmware.
102 102  
103 103  )))
104 -)))
105 105  
106 106  == 3.3 Trouble shooting ==
107 107  
... ... @@ -115,19 +115,16 @@
115 115  1. If you use Windows10 system. Please change the flash loader to run in Windows7 compatibility mode.
116 116  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.
117 117  
114 +
118 118  == 3.4 Flash Loader ~-~- Unable to Load data from this file ==
119 119  
120 120  [[image:https://wiki.dragino.com/images/9/96/FlashLoader-troube_1.png||height="521" width="399"]]
121 121  
122 -(((
123 123  Unable to Load data from this file
124 -)))
125 125  
126 126  (((
127 -(((
128 128  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.
129 129  )))
130 -)))
131 131  
132 132  == 3.5 Alternative method to flash via UART ==
133 133  
... ... @@ -156,6 +156,7 @@
156 156  * ST-LINK v2 SWCLK <~-~-> Dupont green pin
157 157  * ST-LINK v2 SWDIO <~-~-> Dupont white pin
158 158  
152 +
159 159  === 4.1.3 LAQ4 ST-Link v2 Connection ===
160 160  
161 161  [[image:https://wiki.dragino.com/images/thumb/0/03/STM32_STLINK_Upgrade_LAQ4.png/600px-STM32_STLINK_Upgrade_LAQ4.png||height="331" width="600"]]
... ... @@ -190,6 +190,7 @@
190 190  * ST-LINK v2 SWCLK <~-~-> LTC2 SWCLK
191 191  * ST-LINK v2 SWDIO <~-~-> LTC2 SWDIO
192 192  
187 +
193 193  == 4.2 ST-Link Upgrade Guide ==
194 194  
195 195  (((
... ... @@ -215,6 +215,7 @@
215 215  
216 216  Click Global Icon
217 217  
213 +
218 218  **Step 5**: After click the Global ICon in Step4, The led on the ST-LINK v2 adapter will now blinks, if you use hand to press the reset button , you need to release the reset button when see the LED blinks, and the ST-Link will detect the STM32 hardware as below. Click cancel to enter next step. Please check hardware connection if ST-Link v2 LED doesn't blink
219 219  
220 220  [[image:https://wiki.dragino.com/images/thumb/2/20/ST-LINK-troube_2.png/600px-ST-LINK-troube_2.png||height="366" width="600"]]
... ... @@ -236,6 +236,7 @@
236 236  
237 237  1. Make sure see the LED blink on the ST-Link and release the reset button during blinking.
238 238  
235 +
239 239  Possible Issue 2:
240 240  
241 241  1. There are different version ST-Link v2. The white one as below is the most stable and recommended one.
... ... @@ -252,27 +252,15 @@
252 252  
253 253  [[image:https://wiki.dragino.com/images/a/a3/ST-LINK-troube_4.png||height="337" width="406"]]
254 254  
255 -(((
256 256  RESET pin not function
257 -)))
258 258  
259 259  (((
260 -
261 -)))
262 -
263 -(((
264 -(((
265 265  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.
266 266  )))
267 -)))
268 268  
269 -(((
270 270  For LHT65 we recommend to use the white one show in possible issue 2.
271 -)))
272 272  
273 -(((
274 274  For LGT92, if user use this type of ST-Link, please also connect the 5v to USB port of LGT92
275 -)))
276 276  
277 277  
278 278  === 4.3.2 ST-Link v2 detect the hardware but disconnect after click OK ===
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0