Changes for page OTA Update Firmware/Configure for Sensors
Last modified by Mengting Qiu on 2025/06/17 09:18
From version 70.2
edited by Mengting Qiu
on 2025/02/14 16:22
on 2025/02/14 16:22
Change comment:
There is no comment for this version
To version 40.1
edited by Mengting Qiu
on 2025/01/21 09:55
on 2025/01/21 09:55
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 19 removed)
- image-20250122101944-1.png
- image-20250122103630-2.png
- image-20250122104131-3.png
- image-20250122104151-4.png
- image-20250122113225-5.png
- image-20250122134752-6.png
- image-20250214161740-1.png
- image-20250214161758-2.png
- image-20250214161844-3.png
- image-20250214161907-4.png
- image-20250214161928-5.png
- image-20250214161941-6.png
- image-20250214161955-7.png
- image-20250214162012-8.png
- image-20250214162029-9.png
- image-20250214162053-10.png
- image-20250214162058-11.png
- image-20250214162110-12.png
- image-20250214162156-13.png
Details
- Page properties
-
- Content
-
... ... @@ -64,133 +64,17 @@ 64 64 == 3.1 Required Components == 65 65 66 66 67 -* See FAQ 4.4 for how to update LA66 with the [[OTA Dongle Firmware>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/AFhmjtEOaipfBAFrpMCoWrI/LoRaWAN%20End%20Node/LA66%20LoRaWAN%20module/Firmware/OTA_Firmware?dl=0&rlkey=ojjcsw927eaow01dgooldq3nu&subfolder_nav_tracking=1]]. 67 +* Hardware: [[LA66 USB>>doc:Main.User Manual for LoRaWAN End Nodes.LA66 USB LoRaWAN Adapter User Manual.WebHome]] with [[OTA_firmware>>https://www.dropbox.com/sh/4qnjreg1esxu16i/AADbRjW_tuBP3IIkmf11nSoma?dl=0]] installed. 68 + 68 68 * Software: [[OTA_Tool>>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&dl=0]]. Only support Windows now 69 69 70 70 [[image:image-20230513120722-2.png||height="409" width="866"]] 71 71 72 72 73 -== 3.2 OTA Update Firmware via Mobile Phone + LA66==74 +== 3.2 OTA Update Firmware == 74 74 75 -=== 3.2.1 LB series === 76 76 77 -* Hardware: LA66 USB 78 -[[image:image-20250214161740-1.png]][[image:image-20250214161758-2.png]] 79 -* Before using LA66 as a firmware burning tool for -LB products, you need to burn OTA_firmware for LA66 first. 80 -* If you have never downloaded LA66 OTA DongleV1.0 to your LA66, you can directly upgrade the LA66 OTA DongleV1.1 program from your phone using the following method. 81 -* Click to get [[bootlooder and OTA_firmware.>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/ALF3WtzilGPi-2nOdtQw1Z4/Utility/Sensor%20Manager%20Utility/OTA_Firmware?dl=0&rlkey=ojjcsw927eaow01dgooldq3nu&subfolder_nav_tracking=1]] 82 -* The firmware burning method refers to the LA66 upgrade below.[[Click to redirect.>>https://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/#H3.1.3.3LA66upgrade]] 83 - 84 -The LA66 USB connects to the phone via the USB-Type c adapter. 85 - 86 -[[image:image-20250214161844-3.png]] 87 - 88 - 89 -After the connection is successful, the phone will pop up a prompt box, check it and click to confirm. 90 - 91 -(% style="color:red" %)**Note:** 92 - 93 -**Some mobile phone models need to manually enable the OTG function to properly identify external devices.** 94 - 95 -[[image:image-20250214161907-4.png]] 96 - 97 - 98 -(% class="wikigeneratedid" id="H-1" %) 99 -Then, the Device Tool will automatically open. 100 - 101 101 (% class="wikigeneratedid" %) 102 -Open the Devices Tool and click on (% _mstmutation="1" style="color:blue" %)**"Upgrade Device"**(%%). 103 - 104 -(% class="wikigeneratedid" %) 105 -Select the device type and click **"LB"**. 106 - 107 -(% class="wikigeneratedid" %) 108 -Follow the steps in order: 109 - 110 -(% class="wikigeneratedid" %) 111 -① Enter the DUIEI,t 112 - 113 -(% class="wikigeneratedid" %) 114 -② Enter the PIN (**the PIN is the last 8 bytes of APPSKEY**), 115 - 116 -(% class="wikigeneratedid" %) 117 -③ Select the LoRa frequency to match the original frequency of the node, 118 - 119 -(% class="wikigeneratedid" %) 120 -④ Choose the upgrade file,(% style="color:red" %)**(The firmware upgrade file format only supports .bin files)** 121 - 122 -(% class="wikigeneratedid" %) 123 -⑤ After pressing the device's reset button, click start. 124 - 125 -(% class="wikigeneratedid" %) 126 -**(If the upgrade does not start for a long time, you can press the device reset button again.** 127 - 128 -(% class="wikigeneratedid" %) 129 -**If the user does not wish to open the casing, they can press and hold the KEY until the device flashes a green light; this action is equivalent to pressing the reset button.)** 130 - 131 -[[image:image-20250214161928-5.png]] 132 - 133 - 134 -(% class="wikigeneratedid" id="H-2" %) 135 -When the upgrade is complete, it will prompt:"**update successfully**". 136 - 137 -[[image:image-20250214161941-6.png]] 138 - 139 - 140 -==== 3.1.3.3 LA66 upgrade ==== 141 - 142 -The LA66 USB connects to the phone via the USB-Type C adapter. 143 - 144 -[[image:image-20250214161955-7.png]] 145 - 146 - 147 -After the connection is successful, the phone will pop up a prompt box, check it, and click to confirm. 148 - 149 -(% style="color:red" %)**Note:** 150 - 151 -**Some mobile phone models need to manually enable the OTG function to properly identify external devices.** 152 - 153 -[[image:image-20250214162012-8.png]] 154 - 155 - 156 -(% class="wikigeneratedid" id="H-1" %) 157 -Then, the Device Tool will automatically open. 158 - 159 -(% class="wikigeneratedid" %) 160 -Follow the steps in order: 161 - 162 -(% class="wikigeneratedid" %) 163 -① Click "SELECT UPGRADE FILE" to choose the firmware to upgrade. 164 - 165 -(% class="wikigeneratedid" %) 166 -**In order to ensure that the LA66 USB works properly, make sure that there is a corresponding bootloader before updating the firmware.** 167 - 168 -(% class="wikigeneratedid" %) 169 -**If you don't have a bootloader, you need to use the "[[Tremo Programmer>>https://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H3.1.3Howtouploadbootloadertodevice3F]]" software to download it. Click to get **[[bootlooder>>url:https://wiki.dragino.com/xwiki/bin/download/Main/BLE%20Bluetooth%20Remote%20Configure/WebHome/LoRa_OTA_Bootloader_v1.4.bin?rev=1.1]]. 170 - 171 -(% class="wikigeneratedid" %) 172 -② Click "START". 173 - 174 -(% class="wikigeneratedid" %) 175 -③ Press the reset key on the LA66 device. 176 - 177 -(% class="wikigeneratedid" %) 178 -**For LA66 USB LoRaWAN Adapter v1.2, the design of the reset button has been eliminated on the hardware. ** 179 - 180 -[[image:image-20250214162156-13.png]] 181 - 182 -(% class="wikigeneratedid" %) 183 -[[image:image-20250214162029-9.png]] 184 - 185 -When the upgrade is complete, it will prompt:"**update successfully**". 186 - 187 -[[image:image-20250214162110-12.png]] 188 - 189 - 190 -== 3.3 OTA Update Firmware via PC == 191 - 192 - 193 -(% class="wikigeneratedid" %) 194 194 (% class="mark text-uppercase" %)**Video Instruction:**(%%) ~-~- OTA Upgrade Firmware (via LoRa) of LoRaWAN Sensors**: [[https:~~/~~/youtu.be/SSvOqvBrwGg>>https://youtu.be/SSvOqvBrwGg]]** 195 195 196 196 ... ... @@ -205,7 +205,7 @@ 205 205 206 206 * (% style="color:blue" %)**DevEUI**(%%): Input DevEUI of your sensor 207 207 208 -* (% style="color:blue" %)**Password**(%%): Passord of your sensor**(Last eight bytes /** **Last16 charactersof APPSKEY)**92 +* (% style="color:blue" %)**Password**(%%): Passord of your sensor**(Last eight bytes of APPSKEY)** 209 209 210 210 * (% style="color:blue" %)**Port**(%%): Com port of LA66 USB 211 211 ... ... @@ -213,7 +213,7 @@ 213 213 214 214 * (% style="color:blue" %)**Upload_File**(%%): The firmware to be upload to the sensor. make sure the firmware is with surfix _without_bootloader. For example: LHT65N_EU868_v1.5_without_bootloader. 215 215 216 -* (% style="color:blue" %)**DEUI_File**(%%): If customer has lots of sensors. He can also import the Dev EUI files and use droplist to choose the sensor to update. (If you did not ask us for a uniform update file, then you do not need to use this field, please ignore it.)Format is as below:100 +* (% style="color:blue" %)**DEUI_File**(%%): If customer has lots of sensors. He can also import the Dev EUI files and use droplist to choose the sensor to update. Format is as below: 217 217 218 218 [[image:image-20230114174640-3.png||height="130" width="1169"]] 219 219 ... ... @@ -241,26 +241,31 @@ 241 241 [[image:image-20250121093834-4.png]] 242 242 243 243 244 -= 4.FAQ=128 +== 3.3 OTA Update Configure == 245 245 246 -== 4.1 OTA_Tool supports two upgrade methods for -LB products. == 247 247 131 +(% class="mark text-uppercase" %)**Video Instruction:**(%%) ~-~- OTA Upgrade Configure (via LoRa) of LoRaWAN Sensors**: [[https:~~/~~/youtu.be/5XedoNVkbQQ>>https://youtu.be/5XedoNVkbQQ]]** 248 248 249 - (%style="color:red" %)**Note: Thepremiseof usingOTA_Toolisthatall yourdeviceshavebootloaders.**133 +OTA Update Configure is good for batch update configure in same type of sensors. 250 250 251 -(% style="color:red" %)**1. **(%%)Only devices with bootloader can perform OTA upgrades(OTA upgrade method). 252 252 253 - (% style="color:red"%)**2.**(%%) Thisis because the boot loader's address is (% style="color:blue" %)**0x08000000**(%%), the general functional firmware's address is (% style="color:blue" %)**0x0800D000**(%%), and burning the firmware through OTA_Toolwill only write content to the address (% style="color:blue" %)**0x0800D000**(%%). So whether you use the OTA_Tool's OTA upgrade method or the UART upgrade method, you can only use it to download firmware without a bootloader, otherwise you will incorrectly place the bootloader at address (% style="color:blue" %)**0x08000000**(%%).136 += 4. FAQ = 254 254 255 - *ForOTA_Tool, you canchoosetouse the(% style="color:blue"%)**OTA upgrademethod**(%%),refertothe aboveupgradestepsinthisusermanual.138 +== 4.1 Can i use other devices to connect to PC if i don't have LA66 USB? == 256 256 257 -[[image:image-20250122104151-4.png||height="318" width="673"]] 258 258 259 - * Ofcourse,if youhaveaUSB-TTLadapter, youcanalso choosetouse the[[UART upgrademethod>>https://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H3.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]viaOTA_Tool.141 +If user doesn't have LA66 USB Adapter, they can still use other Dragino Device to connect to PC for OTA update. 260 260 261 - [[image:image-20250122104131-3.png||height="330"width="674"]]143 +(% style="color:blue" %)**Steps:** 262 262 145 +* Find the suitable mode which base on LA66 chip ( All LoRaWAN model with LB or LS suffix , such as SN50v3-LB) 263 263 147 +* Update the LA66 USB OTA firmware to the device. 148 + 149 +* Connect the device to PC via UART interface. 150 + 151 +* Make sure power off or update the firmware back to original firmware , because the LA66 USB OTA fimware is not low power consumption firmware. it will consume the battery very fast. 152 + 264 264 == 4.2 Where to find OTA Password? == 265 265 266 266 ... ... @@ -281,26 +281,8 @@ 281 281 2. OTA update require a reset or reactivate action. If the crash firmware doesn't have them work, user need to manuall push the physic reset button on the PCB or power off/on device. 282 282 283 283 284 -== 4.4 Howtoupdate the LA66 OTA DongleV1.1 viamobilephone?==173 +== 4.4 Will OTA update effect the Local LoRaWAN Network. == 285 285 286 - 287 -[[image:image-20250122113225-5.png||height="259" width="615"]] 288 - 289 -* If you have never downloaded LA66 OTA DongleV1.0 to your LA66, you can directly upgrade the LA66 OTA DongleV1.1 program from your phone using the following method. 290 - 291 -[[bootlooder>>url:https://wiki.dragino.com/xwiki/bin/download/Main/BLE%20Bluetooth%20Remote%20Configure/WebHome/LoRa_OTA_Bootloader_v1.4.bin?rev=1.1]] and [[OTA_firmware>>url:https://wiki.dragino.com/xwiki/bin/download/Main/BLE%20Bluetooth%20Remote%20Configure/WebHome/LA66%20OTA%20DONGLE%20v1.1.bin?rev=1.1]]. 292 - 293 -Tool Download: [[Download link form Dropbox.>>https://www.dropbox.com/scl/fo/gyscmfn1s03oz3n8rif8w/AJW7JoMQsQ56dtlls2SNf9c?rlkey=3q2cxwriyzh26vuairx01yebc&st=be5jv92w&dl=0]] 294 - 295 -Operation instructions: [[Reference for operating procedures.>>https://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/#H3.1.3.3LA66upgrade]] 296 - 297 -* If you have burned LA66 OTA DONGLE V1.0 for your LA66 according to previously existing instructions. Then you need to re-burn your LA66 boot loader first: [[LA66 USB LoRaWAN Adapter User Manual - DRAGINO>>url:https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10.2Updatemethod:A0ForLA66withoutbootloader]] 298 - 299 - Please refer to FAQ 4.7 for detailed reasons. 300 - 301 - 302 -== 4.5 Will OTA update effect the Local LoRaWAN Network. == 303 - 304 304 User can configure the OTA_Frequency.txt file to change the Update frequency point so it won't conflict with the general LoRa Frequency. See below for the file as reference and explain. The OTA update also use a none-use SF (SF=5) which won't conflict with the current use SF. 305 305 306 306 (% class="mark" %)#Define the OTA frequency use for OTA. ... ... @@ -326,31 +326,6 @@ 326 326 RU864;869.3;869.5,869.7 327 327 328 328 329 -== 4.6 The old version LA66 is different from the new version LA66. Can OTA_Tool be used for both versions? == 330 - 331 - 332 -The most obvious hardware difference between LA66 V1 and LA66v2 when burning is the presence of a "RESET "button, and the RESET operation is only for LA66 without a boot loader, you can refer to this link to learn how to upgrade LA66 without a boot loader:[[LA66 USB LoRaWAN Adapter User Manual - DRAGINO>>url:https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10.2Updatemethod:A0ForLA66withoutbootloader]] 333 - 334 -[[image:image-20250122134752-6.png||height="288" width="543"]] 335 - 336 -In summary, as long as your LA66 has a boot loader, either LA66 V1 or LA66 V2 can use OTA_Tool. 337 - 338 - 339 -== 4.7 Why can't LA66 burn its own working firmware after it is used for OTA upgrade of -LB products? == 340 - 341 - 342 -We are sorry for the inadequacy of LA66 for OTA updates in the past. 343 - 344 -* In the past, the download address of LA66 OTA DONGLE V1.0 was (% style="color:blue" %)**0x08000000**(%%), and the address of the bootloader that existed by default when the LA66 was shipped was also (% style="color:blue" %)**0x08000000**(%%). 345 - 346 -Therefore, when you burn OTA_Firmwar v1.0 (LA66 OTA DONGLE v1.0) for the LA66 in order to use the LA66‘s ability to perform OTA upgrades for -LB products, the LA66’s bootloader is overridden. 347 - 348 -So if you need to switch back to the LA66's working firmware, you'll need to refer to this [[link>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10.2Updatemethod:A0ForLA66withoutbootloader]] for instructions to burn firmware with a bootloader for the LA66. 349 - 350 -[[image:image-20250122113225-5.png||height="336" width="798"]] 351 - 352 -* For the new version of LA66 OTA DONGLE V1.1, we have changed the supported download address to (% style="color:blue" %)**0x0800D000**(%%) the same as other working firmware addresses, so you can simply use OTA_Tool to burn LA66 OTA DONGLE V1.1 and LA66 working firmware for LA66. 353 - 354 354 = 5. OTA Tool Known Bug: = 355 355 356 356
- image-20250122101944-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.2 KB - Content
- image-20250122103630-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.0 KB - Content
- image-20250122104131-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -21.7 KB - Content
- image-20250122104151-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -23.3 KB - Content
- image-20250122113225-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.0 KB - Content
- image-20250122134752-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.3 MB - Content
- image-20250214161740-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -81.4 KB - Content
- image-20250214161758-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -11.2 KB - Content
- image-20250214161844-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -185.7 KB - Content
- image-20250214161907-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.0 KB - Content
- image-20250214161928-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.7 KB - Content
- image-20250214161941-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.5 KB - Content
- image-20250214161955-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -185.7 KB - Content
- image-20250214162012-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.0 KB - Content
- image-20250214162029-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -21.5 KB - Content
- image-20250214162053-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.5 KB - Content
- image-20250214162058-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.5 KB - Content
- image-20250214162110-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.5 KB - Content
- image-20250214162156-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -135.0 KB - Content