Hide last authors
Xiaoling 1.11 1 (% class="wikigeneratedid" %)
Xiaoling 1.14 2 **~ Contents:**
Xiaoling 1.11 3
4 {{toc/}}
5
6
Xiaoling 1.2 7 = 1. Introduction =
Xiaoling 1.1 8
Xiaoling 1.2 9 This article shows the firmware upgrade method and troubleshooting for the below models Dragino sensors.
Xiaoling 1.1 10
Xiaoling 3.2 11
Xiaoling 1.2 12 = 2. Model and Connection =
Xiaoling 1.1 13
Xiaoling 1.2 14 == 2.1 LDS01/LWL01 ==
Xiaoling 1.1 15
Xiaoling 1.2 16 [[Firmware Location>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Firmware/]]
Xiaoling 1.1 17
Xiaoling 1.12 18 (((
Xiaoling 1.2 19 Pin Mapping:
Xiaoling 1.12 20 )))
Xiaoling 1.1 21
Xiaoling 3.2 22 [[image:image-20220527083845-1.png]]
Xiaoling 1.1 23
Xiaoling 1.2 24 LDS01/LWL01 Pin Mapping
Xiaoling 1.1 25
Xiaoling 3.2 26
Xiaoling 1.2 27 DAP-Link Connection:
Xiaoling 1.1 28
Xiaoling 3.2 29 [[image:image-20220527083959-2.png]]
Xiaoling 1.1 30
Xiaoling 1.2 31 Connect DAP-Link
32
Xiaoling 1.1 33
Xiaoling 1.2 34 == 2.2 LDS02/LWL02 ==
Xiaoling 1.1 35
Xiaoling 1.2 36 [[Firmware Location(same as LDS01)>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Firmware/]]
Xiaoling 1.1 37
Xiaoling 1.12 38 (((
Xiaoling 1.2 39 Pin Mapping:
Xiaoling 1.12 40 )))
Xiaoling 1.1 41
Xiaoling 1.2 42 [[image:https://wiki.dragino.com/images/thumb/8/8b/ASR_Upgrade_LDS02_1.png/600px-ASR_Upgrade_LDS02_1.png||height="256" width="600"]]
Xiaoling 1.1 43
Xiaoling 1.2 44 LDS02/LDS02 v2.0 Pin Mapping
45
Xiaoling 1.3 46 [[image:https://wiki.dragino.com/images/thumb/1/1c/ASR_Upgrade_LDS02_2.png/600px-ASR_Upgrade_LDS02_2.png||height="246" width="547"]]
Xiaoling 1.2 47
48 LDS02/LDS02 v2.2 Pin Mapping
49
50
51 == 2.3 LHT52 ==
52
Xiaoling 1.8 53 [[Firmware Location>>https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/firmware/]]
Xiaoling 1.2 54
Xiaoling 1.8 55 [[image:https://wiki.dragino.com/images/thumb/e/e0/ASR_Upgrade_LHT52_1.png/600px-ASR_Upgrade_LHT52_1.png||height="401" width="553"]]
Xiaoling 1.2 56
57 LHT52 Pin Mapping
58
59 = 3. How to Upgrade =
60
61 == 3.1 Use DAP-Link and Connect to the Device as above photos ==
62
63 We need to connect VDD,GND,SWCLK,SWDIO to DAP-Link.
64
65 * Connection method:
66
67 * GND-GND,
68
69 * VDD-3.3V,
70
71 * SWCLK-CLK,
72
73 * SWDIO-SWD
74
75 [[image:https://wiki.dragino.com/images/8/81/DAPlink.png||alt="DAPlink.png" height="539" width="334"]]
76
77
78 == 3.2 Install PSoCProgrammer 3.27.1 ==
79
Xiaoling 1.11 80 (((
Xiaoling 1.2 81 Download Link: [[PSoCProgrammer3.27.1>>url:https://www.dragino.com/downloads/index.php?dir=tools/]]
Xiaoling 1.11 82 )))
Xiaoling 1.2 83
Xiaoling 1.11 84 (((
Xiaoling 1.2 85 And then use PSoCProgrammer to upgrade the firmware (must use this version: PSoCProgrammer3.27.1)
Xiaoling 1.11 86 )))
Xiaoling 1.2 87
88 [[image:https://wiki.dragino.com/images/0/0f/Ppp1.png||alt="Ppp1.png" height="68" width="318"]]
89
90
91 == 3.3 Download Sensor Firmware ==
92
93 Downlink sensor firmware to prepare the update
94
95
96 == 3.4 Upgrade Firmware ==
97
98 Open PSOC Programmer, select the default configuration, no need to modify
99
100 [[image:https://wiki.dragino.com/images/thumb/9/94/Ppp10.png/600px-Ppp10.png||alt="Ppp10.png" height="198" width="600"]]
101
102 Click the file icon to select the software to be burned:
103
104 [[image:https://wiki.dragino.com/images/thumb/d/d0/Ppp11.png/600px-Ppp11.png||alt="Ppp11.png" height="218" width="600"]]
105
106 [[image:https://wiki.dragino.com/images/thumb/e/ec/Ppp12.png/600px-Ppp12.png||alt="Ppp12.png" height="265" width="600"]]
107
108
Xiaoling 1.10 109 (((
Xiaoling 1.2 110 Click the download icon, and the progress bar as shown in the figure below will appear. When PASS appears, it proves that the burning is successful.
Xiaoling 1.10 111 )))
Xiaoling 1.2 112
113 [[image:https://wiki.dragino.com/images/thumb/e/e2/Ppp13.png/600px-Ppp13.png||alt="Ppp13.png" height="337" width="600"]]
114
115 [[image:https://wiki.dragino.com/images/thumb/6/6f/Ppp14.png/600px-Ppp14.png||alt="Ppp14.png" height="338" width="600"]]
116
Xiaoling 1.9 117 (((
Xiaoling 1.2 118 It is very important to press the reset button after the upgrade., this is to set the device to work in Low Power mode
Xiaoling 1.9 119 )))
Xiaoling 1.2 120
Xiaoling 1.9 121 (((
Xiaoling 1.2 122 *If you change different LoRa Frequency Bands/Region, you need using AT+FDR command to restore factory data after program success
Xiaoling 1.9 123 )))
Xiaoling 1.2 124
125 = 4. Trouble Shooting =
126
127 == 4.1 Unable to detect upgrade ==
128
129 * Try to shot the bootloader pin to GND and reset the device. So the device will runs in bootloader mode.
130 * Or use AT+IREBOOT=7 to set the device to work in bootloader mode.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0