Changes for page Firmware Upgrade Instruction for STM32 base products
Last modified by Bei Jinggeng on 2024/02/02 11:51
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -11,7 +11,6 @@ 11 11 This instruction shows how to upgrade firmware for Dragino products base on STM32 solution. The upgrade can use 2 hardware connections: (% style="color:blue" %)**UART upgrade**(%%) or (% style="color:blue" %)**ST Link v2 upgrade**(%%). Some models supports both methods and some only one of them. 12 12 13 13 14 - 15 15 = 2. Hardware Upgrade Method Support List = 16 16 17 17 ... ... @@ -35,6 +35,7 @@ 35 35 |(% 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"]] 36 36 37 37 37 + 38 38 = 3. UART Upgrade Guide = 39 39 40 40 == 3.1 Hardware Connection == ... ... @@ -55,7 +55,6 @@ 55 55 Connection for LSN50 Type V2 56 56 57 57 58 - 59 59 === 3.1.3 RS485-BL/LDDS75/LDDS20/LSE01 === 60 60 61 61 ... ... @@ -72,6 +72,8 @@ 72 72 * Put Switch SW1 to ISP position 73 73 * Connect JP2 jumper (Yellow one), so device is power on. 74 74 74 + 75 + 75 75 == 3.2 Upgrade Steps == 76 76 77 77 ... ... @@ -127,10 +127,8 @@ 127 127 ))) 128 128 ))) 129 129 130 - 131 131 == 3.3 Trouble shooting == 132 132 133 - 134 134 === 3.3.1 General Check List === 135 135 136 136 ... ... @@ -142,6 +142,8 @@ 142 142 1. If you use Windows10 system. Please change the flash loader to run in Windows7 compatibility mode. 143 143 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. 144 144 144 + 145 + 145 145 == 3.4 Flash Loader ~-~- Unable to Load data from this file == 146 146 147 147 ... ... @@ -157,7 +157,6 @@ 157 157 ((( 158 158 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. 159 159 160 - 161 161 162 162 ))) 163 163 ))) ... ... @@ -168,7 +168,6 @@ 168 168 [[Alternative method to flash STM32 via UART.pdf>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Utility/&file=Alternative%20method%20to%20flash%20STM32%20via%20UART.pdf]] 169 169 170 170 171 - 172 172 = 4. ST-Link v2 Upgrade = 173 173 174 174 == 4.1 Hardware Connections == ... ... @@ -181,7 +181,6 @@ 181 181 ST-Link Connections for LSn50 V2/LSN50v2-D22/LSN50v2-D23 Type 182 182 183 183 184 - 185 185 === 4.1.2 LGT92/LBT1 ST-Link v2 Connection === 186 186 187 187 ... ... @@ -195,6 +195,8 @@ 195 195 * ST-LINK v2 SWCLK <~-~-> Dupont green pin 196 196 * ST-LINK v2 SWDIO <~-~-> Dupont white pin 197 197 196 + 197 + 198 198 === 4.1.3 LAQ4 ST-Link v2 Connection === 199 199 200 200 ... ... @@ -203,7 +203,6 @@ 203 203 Connection to LAQ4 204 204 205 205 206 - 207 207 === 4.1.4 RS485-BL/LDDS75/LDDS20/LSE01 === 208 208 209 209 ... ... @@ -220,6 +220,8 @@ 220 220 * ST-LINK v2 SWDIO <~-~-> SWDIO 221 221 * ST-LINK (VDD 3.3v,pin19) <~-~-> ST-LINK (TVCC ,pin1) a wire to connect two pins of ST-Link together. 222 222 222 + 223 + 223 223 === 4.1.5 LTC2 === 224 224 225 225 ... ... @@ -235,6 +235,8 @@ 235 235 * ST-LINK v2 SWCLK <~-~-> LTC2 SWCLK 236 236 * ST-LINK v2 SWDIO <~-~-> LTC2 SWDIO 237 237 239 + 240 + 238 238 == 4.2 ST-Link Upgrade Guide == 239 239 240 240 ... ... @@ -277,7 +277,6 @@ 277 277 ST-Link v2 Upgrade 278 278 279 279 280 - 281 281 == 4.3 Trouble Shootings == 282 282 283 283 === 4.3.1 ST-Link v2 can not detect the hardware === ... ... @@ -290,7 +290,7 @@ 290 290 (% style="color:#4f81bd" %)**Possible Issue 2:** 291 291 292 292 1. There are different version ST-Link v2. The white one as below is the most stable and recommended one. 293 -1. The white version ST-Link v2 such as below photo has different hardware version. The original one doesn ’t have 3.3v on pin 1/2 and the clone one has 3.3v on pin 1/2. User has to short pin19 (VDD 3.3v) and pin 1/2 (TVCC) for the original one so pin 1/2 has 3.3v power. Otherwise, the original one might have problem to upload firmware to End Node.295 +1. The white version ST-Link v2 such as below photo has different hardware version. The original one doesn't have 3.3v on pin 1/2 and the clone one has 3.3v on pin 1/2. User has to short pin19 (VDD 3.3v) and pin 1/2 (TVCC) for the original one so pin 1/2 has 3.3v power. Otherwise, the original one might have problem to upload firmware to End Node. 294 294 295 295 [[image:image-20220526175418-21.png]] 296 296 ... ... @@ -322,11 +322,10 @@ 322 322 ))) 323 323 324 324 ((( 325 -For LGT92, if user use this type of ST-Link, please also connect the 5v to USB port of LGT92 327 +For LGT92, if user use this type of ST-Link, please also connect the 5v to USB port of LGT92. 326 326 ))) 327 327 328 328 329 - 330 330 === 4.3.2 ST-Link v2 detect the hardware but disconnect after click OK === 331 331 332 332 ... ... @@ -351,7 +351,7 @@ 351 351 ))) 352 352 353 353 ((( 354 -You click ST-LINK->Firmware update. 355 +You click **ST-LINK -> Firmware update.** 355 355 ))) 356 356 357 357 [[image:image-20220526175855-24.png]] ... ... @@ -366,23 +366,27 @@ 366 366 367 367 (% style="color:blue" %)**step2: **(%%) Click yes to upgrade successfully. 368 368 369 -= 5.Firmware upgrade using STM32 Cubeprogramer = 370 370 371 - Step1:Enterthedownload interface371 += 5. Firmware upgrade using STM32 Cubeprogramer = 372 372 373 + 374 +(% style="color:blue" %)**Step1:**(%%) Enter the download interface 375 + 373 373 [[image:image-20230222160658-1.png||height="479" width="827"]] 374 374 375 375 376 -Step2: Connect serial port correctly and select UART/ST-LINK 379 +(% style="color:blue" %)**Step2:**(%%) Connect serial port correctly and select UART/ST-LINK 377 377 378 378 [[image:image-20230222160847-2.png||height="481" width="830"]] 379 379 380 380 381 -Step3:Select the file to download 384 +(% style="color:blue" %)**Step3: **(%%)Select the file to download 382 382 383 383 [[image:image-20230222160947-3.png||height="473" width="818"]] 384 384 385 385 386 -Step4:Click to start programming, and wait for it to download to 100%, pop up a successful download box 389 +(% style="color:blue" %)**Step4: **(%%)Click to start programming, and wait for it to download to 100%, pop up a successful download box 387 387 388 388 [[image:image-20230222161119-4.png||height="476" width="821"]] 392 + 393 +