Changes for page Firmware Upgrade Instruction for STM32 base products
Last modified by Bei Jinggeng on 2024/02/02 11:51
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,25 +11,28 @@ 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 + 14 14 = 2. Hardware Upgrade Method Support List = 15 15 16 16 17 17 (% border="1" style="background-color:#ffffcc; color:green; width:891.222px" %) 18 18 |=(% colspan="3" style="width: 888px;" %)Dragino STM32 base hardware Upgrade Methods 19 -|(% style="width:444px" %)**Model**|(% style="width:239px" %)**UART Connection**|(% style="width:204px" %)**ST-Link Connection** 20 -|(% style="width:444px" %)[[LSN50 v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LoRa ST>>url:http://www.dragino.com/products/lora/item/127-lora-st.html]],|(% style="width:239px" %)Hardware Connect Photo|(% style="width:204px" %)Hardware Connect Photo 21 -|(% style="width:444px" %)[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]], [[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]]|(% style="width:239px" %)×|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.2LGT922FLBT1ST-Linkv2Connection"]] 22 -|(% style="width:444px" %)[[LT-33222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/138-lt-33222-l.html]], [[LT-22222>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]|(% style="width:239px" %)Hardware Connect Photo|(% style="width:204px" %)× 23 -|(% style="width:444px" %)[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]]|(% style="width:239px" %)×|(% style="width:204px" %)Hardware Connect Photo 24 -|(% style="width:444px" %)[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]]|(% style="width:239px" %)Hardware Connect Photo|(% style="width:204px" %)× 25 -|(% style="width:444px" %)[[LSN50 v2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]], [[NBSN95>>url:http://www.dragino.com/products/nb-iot/item/163-nbsn95.html]],[[LSE01>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/159-lse01.html]],[[LDDS20>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/164-ldds20.html]], [[LDS03A>>https://www.dragino.com/products/lorawan-nb-iot-door-sensor-water-leak/item/196-lds03a.html]]((( 26 -[[LDDS75>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/161-ldds75.html]] 27 -)))|(% style="width:239px" %)[[Hardware Connect Photo>>||anchor="H3.1.2LSN50v22FLSN50v2-D222FLSN50v2-D23"]]|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.1LSN50v22FLSN50v2-D222FLSN50v2-D23Type"]] 28 -|(% style="width:444px" %)[[LAQ4>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/174-laq4.html]]|(% style="width:239px" %)×|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.3LAQ4ST-Linkv2Connection"]] 29 -|(% style="width:444px" %)[[RS485-BL>>url:https://www.dragino.com/products/lora-lorawan-end-node/item/167-rs485-bl.html]], [[LDDS75>>https://www.dragino.com/products/distance-level-sensor/item/161-ldds75.html]],[[LLDS12>>url:https://www.dragino.com/products/distance-level-sensor/item/185-llds12.html]],[[LDDS20>>https://www.dragino.com/products/distance-level-sensor/item/164-ldds20.html]],[[LSE01>>https://www.dragino.com/products/agriculture-weather-station/item/159-lse01.html]],[[WSC1-L>>https://www.dragino.com/products/agriculture-weather-station/item/206-wsc1-l.html]],[[GroPoint Air>>https://www.dragino.com/products/agriculture-weather-station/item/227-gropoint-air.html]]|(% style="width:239px" %)[[Hardware Connection Photo>>||anchor="H3.1.3RS485-BL2FLDDS752FLDDS202FLSE01"]]|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.4RS485-BL2FLDDS752FLDDS202FLSE01"]] 30 -|(% 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>>||anchor="H4.1.5LTC2"]] 20 +|(% style="width:284px" %)**Model**|(% style="width:409px" %)**UART Connection**|(% style="width:204px" %)**ST-Link Connection** 21 +|(% style="width:284px" %)[[LSN50 v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LoRa ST>>url:http://www.dragino.com/products/lora/item/127-lora-st.html]],|(% style="width:409px" %)Hardware Connect Photo|(% style="width:204px" %)Hardware Connect Photo 22 +|(% style="width:284px" %)[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]], [[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]]|(% style="width:409px" %)×|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.2LGT922FLBT1ST-Linkv2Connection"]] 23 +|(% style="width:284px" %)[[LT-33222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/138-lt-33222-l.html]], [[LT-22222>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]|(% style="width:409px" %)Hardware Connect Photo|(% style="width:204px" %)× 24 +|(% style="width:284px" %)[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]]|(% style="width:409px" %)×|(% style="width:204px" %)Hardware Connect Photo 25 +|(% style="width:284px" %)[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]]|(% style="width:409px" %)Hardware Connect Photo|(% style="width:204px" %)× 26 +|(% style="width:284px" %)[[LSN50v2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]], [[NBSN95>>url:http://www.dragino.com/products/nb-iot/item/163-nbsn95.html]],[[LSE01>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/159-lse01.html]],[[LDDS20>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/164-ldds20.html]], [[LDS03A>>https://www.dragino.com/products/lorawan-nb-iot-door-sensor-water-leak/item/196-lds03a.html]],[[LDDS75>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/161-ldds75.html||style="background-color: rgb(255, 255, 204);"]]|(% style="width:409px" %)[[Hardware Connect Photo>>||anchor="H3.1.2LSN50v22FLSN50v2-D222FLSN50v2-D23"]]|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.1LSN50v22FLSN50v2-D222FLSN50v2-D23Type"]] 27 +|(% style="width:284px" %)[[LAQ4>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/174-laq4.html]]|(% style="width:409px" %)×|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.3LAQ4ST-Linkv2Connection"]] 28 +|(% style="width:284px" %)((( 29 +[[RS485-BL>>url:https://www.dragino.com/products/lora-lorawan-end-node/item/167-rs485-bl.html]], 31 31 31 +[[LDDS75>>https://www.dragino.com/products/distance-level-sensor/item/161-ldds75.html]],[[LLDS12>>url:https://www.dragino.com/products/distance-level-sensor/item/185-llds12.html]],[[LDDS20>>https://www.dragino.com/products/distance-level-sensor/item/164-ldds20.html]],[[LSE01>>https://www.dragino.com/products/agriculture-weather-station/item/159-lse01.html]], 32 32 33 +[[WSC1-L>>https://www.dragino.com/products/agriculture-weather-station/item/206-wsc1-l.html]],[[GroPoint Air>>https://www.dragino.com/products/agriculture-weather-station/item/227-gropoint-air.html]] 34 +)))|(% style="width:409px" %)[[Hardware Connection Photo>>||anchor="H3.1.3RS485-BL2FLDDS752FLDDS202FLSE01"]]|(% style="width:204px" %)[[Hardware Connect Photo>>||anchor="H4.1.4RS485-BL2FLDDS752FLDDS202FLSE01"]] 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"]] 33 33 34 34 35 35 = 3. UART Upgrade Guide = ... ... @@ -52,6 +52,7 @@ 52 52 Connection for LSN50 Type V2 53 53 54 54 58 + 55 55 === 3.1.3 RS485-BL/LDDS75/LDDS20/LSE01 === 56 56 57 57 ... ... @@ -70,7 +70,6 @@ 70 70 71 71 72 72 73 - 74 74 == 3.2 Upgrade Steps == 75 75 76 76 ... ... @@ -90,7 +90,9 @@ 90 90 (% style="color:blue" %)**Step 4: **(%%)Set The device into (% style="color:#037691" %)**ISP Mode**(%%). Then Press the (% style="color:#037691" %)**Reset Button**(%%), In the Flash tool, click next and the tool will detect the board type. 91 91 92 92 93 -(% style="color:red" %)**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. 96 +(% style="color:red" %)**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.** 97 + 98 + 94 94 ))) 95 95 96 96 [[image:image-20220526174302-11.png]] ... ... @@ -127,6 +127,7 @@ 127 127 128 128 == 3.3 Trouble shooting == 129 129 135 + 130 130 === 3.3.1 General Check List === 131 131 132 132 ... ... @@ -140,6 +140,7 @@ 140 140 141 141 142 142 149 + 143 143 == 3.4 Flash Loader ~-~- Unable to Load data from this file == 144 144 145 145 ... ... @@ -155,6 +155,7 @@ 155 155 ((( 156 156 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. 157 157 165 + 158 158 159 159 ))) 160 160 ))) ... ... @@ -194,6 +194,7 @@ 194 194 195 195 196 196 205 + 197 197 === 4.1.3 LAQ4 ST-Link v2 Connection === 198 198 199 199 ... ... @@ -202,6 +202,7 @@ 202 202 Connection to LAQ4 203 203 204 204 214 + 205 205 === 4.1.4 RS485-BL/LDDS75/LDDS20/LSE01 === 206 206 207 207 ... ... @@ -220,6 +220,7 @@ 220 220 221 221 222 222 233 + 223 223 === 4.1.5 LTC2 === 224 224 225 225 ... ... @@ -228,7 +228,7 @@ 228 228 Connection for LTC2 base mother board 229 229 230 230 231 -Connection: 242 +**Connection:** 232 232 233 233 * ST-LINK v2 GND <~-~-> LTC2 GND 234 234 * ST-LINK v2 RESET <~-~-> LTC2 NRST ... ... @@ -237,6 +237,7 @@ 237 237 238 238 239 239 251 + 240 240 == 4.2 ST-Link Upgrade Guide == 241 241 242 242 ... ... @@ -278,6 +278,7 @@ 278 278 ST-Link v2 Upgrade 279 279 280 280 293 + 281 281 == 4.3 Trouble Shootings == 282 282 283 283 === 4.3.1 ST-Link v2 can not detect the hardware === ... ... @@ -287,6 +287,8 @@ 287 287 288 288 1. Make sure see the LED blink on the ST-Link and release the reset button during blinking. 289 289 303 + 304 + 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,6 +293,7 @@ 293 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. 294 294 295 295 311 + 296 296 [[image:image-20220526175418-21.png]] 297 297 298 298 ST-Link upload issue ... ... @@ -302,6 +302,8 @@ 302 302 303 303 1. The ST-Link adapter has issue in the RESET pin. this happens for the LHT65 model where the update request use the reset pin of ST-Link.We see this issue happen in below ST-LINK. 304 304 321 + 322 + 305 305 [[image:image-20220526175708-22.png]] 306 306 307 307 ((( ... ... @@ -327,6 +327,7 @@ 327 327 ))) 328 328 329 329 348 + 330 330 === 4.3.2 ST-Link v2 detect the hardware but disconnect after click OK === 331 331 332 332