<
From version < 50.2 >
edited by Xiaoling
on 2023/03/07 14:59
To version < 51.1 >
edited by Bei Jinggeng
on 2023/03/20 10:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -34,7 +34,6 @@
34 34  |(% style="width:284px" %)[[LTC2>>url:https://www.dragino.com/products/temperature-humidity-sensor/item/170-ltc2.html]]|(% style="width:409px" %)×|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.5LTC2"]]
35 35  
36 36  
37 -
38 38  = 3. UART Upgrade Guide =
39 39  
40 40  == 3.1 Hardware Connection ==
... ... @@ -72,7 +72,6 @@
72 72  * Connect JP2 jumper (Yellow one), so device is power on.
73 73  
74 74  
75 -
76 76  == 3.2 Upgrade Steps ==
77 77  
78 78  
... ... @@ -142,7 +142,6 @@
142 142  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.
143 143  
144 144  
145 -
146 146  == 3.4 Flash Loader ~-~- Unable to Load data from this file ==
147 147  
148 148  
... ... @@ -194,7 +194,6 @@
194 194  * ST-LINK v2 SWDIO  <~-~->  Dupont Cable white pin
195 195  
196 196  
197 -
198 198  === 4.1.3 LAQ4 ST-Link v2 Connection ===
199 199  
200 200  
... ... @@ -220,7 +220,6 @@
220 220  * ST-LINK (VDD 3.3v,pin19)  <~-~->  ST-LINK (TVCC ,pin1) a wire to connect two pins of ST-Link together.
221 221  
222 222  
223 -
224 224  === 4.1.5 LTC2 ===
225 225  
226 226  
... ... @@ -238,49 +238,29 @@
238 238  * ST-LINK (VDD 3.3v,pin19)  <~-~->  ST-LINK (TVCC ,pin1) a wire to connect two pins of ST-Link together.
239 239  
240 240  
236 += 4.2. Firmware upgrade using STM32 Cubeprogramer =
241 241  
242 -== 4.2 ST-Link Upgrade Guide ==
243 243  
239 +(% style="color:blue" %)**Step1:**(%%) Enter the download interface
244 244  
245 -(((
246 -(% style="color:blue" %)**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]]
247 -)))
241 +[[image:image-20230222160658-1.png||height="479" width="827"]]
248 248  
249 -(((
250 -(% style="color:blue" %)**Step 2: **(%%)Download the Image files, firmware download link can be found on the product user manual.
251 -)))
252 252  
253 -(((
254 -(% style="color:blue" %)**Step 3:**(%%) Open ST-LINK utility, file ~-~-> open file to select the image to be upgraded.
255 -)))
244 +(% style="color:blue" %)**Step2:**(%%) Connect serial port correctly and select UART/ST-LINK
256 256  
257 -(((
258 -(% style="color:blue" %)**Step 4:**
259 -)))
246 +[[image:image-20230222160847-2.png||height="481" width="830"]]
260 260  
261 -* 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.
262 -* 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.
263 263  
264 -[[image:image-20220526175243-19.png]]
249 +(% style="color:blue" %)**Step3: **(%%)Select the file to download
265 265  
266 -Click Global Icon
251 +[[image:image-20230222160947-3.png||height="473" width="818"]]
267 267  
268 268  
269 -(% style="color:blue" %)**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.
254 +(% style="color:blue" %)**Step4: **(%%)Click to start programming, and wait for it to download to 100%, pop up a successful download box
270 270  
256 +[[image:image-20230222161119-4.png||height="476" width="821"]]
271 271  
272 -[[image:image-20220526175307-20.png]]
273 273  
274 -Do not click OK, click Cancel
275 -
276 -
277 -(% style="color:blue" %)**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.
278 -
279 -[[image:image-20220701171857-1.png]]
280 -
281 -ST-Link v2 Upgrade
282 -
283 -
284 284  == 4.3 Trouble Shootings ==
285 285  
286 286  === 4.3.1 ST-Link v2 can not detect the hardware ===
... ... @@ -369,26 +369,46 @@
369 369  (% style="color:blue" %)**step2: **(%%) Click yes to upgrade successfully.
370 370  
371 371  
372 -= 5. Firmware upgrade using STM32 Cubeprogramer =
373 373  
348 +== 5. Other Method ==
374 374  
375 -(% style="color:blue" %)**Step1:**(%%) Enter the download interface
376 376  
377 -[[image:image-20230222160658-1.png||height="479" width="827"]]
351 +(((
352 +(% style="color:blue" %)**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]]
353 +)))
378 378  
355 +(((
356 +(% style="color:blue" %)**Step 2: **(%%)Download the Image files, firmware download link can be found on the product user manual.
357 +)))
379 379  
380 -(% style="color:blue" %)**Step2:**(%%) Connect serial port correctly and select UART/ST-LINK
359 +(((
360 +(% style="color:blue" %)**Step 3:**(%%) Open ST-LINK utility, file ~-~-> open file to select the image to be upgraded.
361 +)))
381 381  
382 -[[image:image-20230222160847-2.png||height="481" width="830"]]
363 +(((
364 +(% style="color:blue" %)**Step 4:**
365 +)))
383 383  
367 +* 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.
368 +* 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.
384 384  
385 -(% style="color:blue" %)**Step3: **(%%)Select the file to download
370 +[[image:image-20220526175243-19.png]]
386 386  
387 -[[image:image-20230222160947-3.png||height="473" width="818"]]
372 +Click Global Icon
388 388  
389 389  
390 -(% style="color:blue" %)**Step4: **(%%)Click to start programming, and wait for it to download to 100%, pop up a successful download box
375 +(% style="color:blue" %)**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.
391 391  
392 -[[image:image-20230222161119-4.png||height="476" width="821"]]
393 393  
378 +[[image:image-20220526175307-20.png]]
379 +
380 +Do not click OK, click Cancel
381 +
382 +
383 +(% style="color:blue" %)**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.
384 +
385 +[[image:image-20220701171857-1.png]]
386 +
387 +ST-Link v2 Upgrade
388 +
394 394  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0