Changes for page OTA Update Firmware/Configure for Sensors
Last modified by Mengting Qiu on 2025/06/17 09:18
From version 37.1
edited by Mengting Qiu
on 2025/01/21 09:35
on 2025/01/21 09:35
Change comment:
Uploaded new attachment "image-20250121093543-2.png", version {1}
To version 50.1
edited by Mengting Qiu
on 2025/01/22 11:53
on 2025/01/22 11:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -64,8 +64,7 @@ 64 64 == 3.1 Required Components == 65 65 66 66 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 - 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]]. 69 69 * Software: [[OTA_Tool>>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&dl=0]]. Only support Windows now 70 70 71 71 [[image:image-20230513120722-2.png||height="409" width="866"]] ... ... @@ -81,7 +81,7 @@ 81 81 === (% style="color:blue" %)**Step1:**(%%) Plug LA66 USB to PC and run OTA_Tool. === 82 82 83 83 84 -[[image:image-202 31212171036-1.png]]83 +[[image:image-20250121091115-1.png]] 85 85 86 86 87 87 === (% style="color:blue" %)**Step2:**(%%) Set up OTA Tool === ... ... @@ -97,20 +97,23 @@ 97 97 98 98 * (% 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. 99 99 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: 99 +* (% 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: 101 101 102 102 [[image:image-20230114174640-3.png||height="130" width="1169"]] 103 103 104 104 105 -=== (% style="color:blue" %)**Step3:**(%%) Press StartinOTATool andthenPressResetbutton torestart LA66 USB===104 +=== (% style="color:blue" %)**Step3:**(%%) After re-plugging the LA66 USB, click "Start" in the OTA tool. === 106 106 107 107 108 - Afterpressreset button, LA66 USB will restartand broadcast update processwiththe Dev EUI andPassword.107 +Upon re-plugging, the LA66 USB will reboot and broadcast the update process using the Dev EUI and passcode 109 109 110 110 111 111 === (% style="color:blue" %)**Step4:** (%%)Press reset button on the end node, or re-activate the end node. === 112 112 112 +When the OTA Tool displays “**LA66 is scanning for sensor Dev EUI ‘(% style="color:blue" %)DevEUI(%%)’. Please reset the sensor for connection and update**”, press and hold the ACT button on the terminal node for 5 seconds to perform a terminal node reset so that the OTA Tool can connect successfully. 113 113 114 +[[image:image-20250121093705-3.png]] 115 + 114 114 In every reboot/ reactivate, the end node will check if there is update request. If end node gets the update request from LA66. End node will check if the Dev EUI and Password match. If match, End node will establish connection with LA66 USB for OTA update. 115 115 116 116 ... ... @@ -119,34 +119,23 @@ 119 119 120 120 Below shows the update successul result. 121 121 122 -[[image:image-202 31212171543-2.png||height="575" width="753"]]124 +[[image:image-20250121093834-4.png]] 123 123 124 124 125 -== 3.3 OTA Update Configure == 126 - 127 - 128 -(% class="mark text-uppercase" %)**Video Instruction:**(%%) ~-~- OTA Upgrade Configure (via LoRa) of LoRaWAN Sensors**: [[https:~~/~~/youtu.be/5XedoNVkbQQ>>https://youtu.be/5XedoNVkbQQ]]** 129 - 130 -OTA Update Configure is good for batch update configure in same type of sensors. 131 - 132 - 133 133 = 4. FAQ = 134 134 135 -== 4.1 Cani useotherdevices toconnecttoPC ifi don'thaveLA66 USB?==129 +== 4.1 OTA_Tool supports two upgrade methods for -LB products. == 136 136 137 137 138 - Ifuserdoesn't have LA66 USB Adapter,they can stilluseotherDragino DevicetoconnecttoPCforOTAupdate.132 +* For OTA_Tool, you can choose to use the OTA upgrade method, refer to the above upgrade steps in this user manual. 139 139 140 - (% style="color:blue"%)**Steps:**134 +[[image:image-20250122104151-4.png||height="318" width="673"]] 141 141 142 -* Findthesuitablemodewhichbase onLA66chip(All LoRaWANmodelwith LBoruffix ,suchsSN50v3-LB)136 +* Of course, if you have a USB-TTL adapter, you can also choose to use the [[UART upgrade method>>https://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H3.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]] via OTA_Tool. 143 143 144 - * Updatethe LA66 USB OTA firmwareto thedevice.138 +[[image:image-20250122104131-3.png||height="330" width="674"]] 145 145 146 -* Connect the device to PC via UART interface. 147 147 148 -* 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. 149 - 150 150 == 4.2 Where to find OTA Password? == 151 151 152 152 ... ... @@ -167,8 +167,18 @@ 167 167 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. 168 168 169 169 170 -== 4.4 WillOTAupdateeffectthe LocalLoRaWANNetwork.==161 +== 4.4 How to update the LA66 OTA Dongle via mobile phone? == 171 171 163 +[[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]]. 164 + 165 +Tool Download: [[Download link form Dropbox.>>https://www.dropbox.com/scl/fo/gyscmfn1s03oz3n8rif8w/AJW7JoMQsQ56dtlls2SNf9c?rlkey=3q2cxwriyzh26vuairx01yebc&st=be5jv92w&dl=0]] 166 + 167 +Operation instructions: [[Reference for operating procedures.>>https://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/#H3.1.3.3LA66upgrade]] 168 + 169 + 170 + 171 +== 4.5 Will OTA update effect the Local LoRaWAN Network. == 172 + 172 172 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. 173 173 174 174 (% class="mark" %)#Define the OTA frequency use for OTA. ... ... @@ -194,6 +194,30 @@ 194 194 RU864;869.3;869.5,869.7 195 195 196 196 198 +== 4.6 The old version LA66 is different from the new version LA66. Can OTA_Tool be used for both versions? == 199 + 200 + 201 +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]] 202 + 203 +In summary, as long as your LA66 has a boot loader, either LA66 V1 or LA66 V2 can use OTA_Tool. 204 + 205 + 206 +== 4.7 Why can't LA66 burn its own working firmware after it is used for OTA upgrade of -LB products? == 207 + 208 + 209 +We are sorry for the inadequacy of LA66 for OTA updates in the past. 210 + 211 +* 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**(%%). 212 + 213 +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. 214 + 215 +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. 216 + 217 +[[image:image-20250122113225-5.png||height="336" width="798"]] 218 + 219 +* 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. 220 + 221 + 197 197 = 5. OTA Tool Known Bug: = 198 198 199 199
- image-20250121093705-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +20.3 KB - Content
- image-20250121093834-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.3 KB - Content
- image-20250122101944-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.2 KB - Content
- image-20250122103630-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.0 KB - Content
- image-20250122104131-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.7 KB - Content
- image-20250122104151-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.3 KB - Content
- image-20250122113225-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.0 KB - Content