Show last authors
1 (% class="wikigeneratedid" %)
2 **~ Table of Contents:**
3
4 {{toc/}}
5
6
7 = 1. Introduction =
8
9
10 This article shows the firmware upgrade method and troubleshooting for the below models Dragino sensors.
11
12
13 = 2. Model and Connection =
14
15 == 2.1 LDS01/LWL01 ==
16
17
18 [[Firmware Location>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Firmware/]]
19
20
21 (((
22 Pin Mapping:
23 )))
24
25 [[image:image-20220527083845-1.png||height="473" width="915"]]
26
27 LDS01/LWL01 Pin Mapping
28
29
30 **DAP-Link Connection:**
31
32 [[image:image-20220527083959-2.png]]
33
34 Connect DAP-Link
35
36
37 == 2.2 LDS02/LWL02 ==
38
39
40 [[Firmware Location(same as LDS01)>>https://www.dropbox.com/sh/9j35mnsxnz0y3ye/AACj5gHGOURGEHCpj-E861Mua?dl=0]]
41
42
43 (((
44 Pin Mapping:
45 )))
46
47 [[image:image-20220527084041-3.png||height="378" width="907"]]
48
49
50
51
52 **LDS02/LDS02 v2.0 Pin Mapping**
53
54 Connector Type: 2.0mm pitch, 2 x 3
55
56 [[image:image-20220527084230-4.png]]
57
58 LDS02/LDS02 v2.2 Pin Mapping
59
60
61 == 2.3 LHT52 ==
62
63
64 [[Firmware Location>>https://www.dropbox.com/sh/ayxhuf5dihtfu6c/AABRe_suu54EdTSFZIbD7t-ea?dl=0]]
65
66 [[image:image-20220527084401-5.png]]
67
68 LHT52 Pin Mapping
69
70
71 = 3. How to Upgrade =
72
73 == 3.1 Use DAP-Link and Connect to the Device as above photos ==
74
75
76 We need to connect VDD,GND,SWCLK,SWDIO to DAP-Link.
77
78 * Connection method:
79
80 * GND-GND,
81
82 * VDD-3.3V,
83
84 * SWCLK-CLK,
85
86 * SWDIO-SWD
87
88 [[image:image-20220527084505-6.png]]
89
90
91
92 == 3.2 Install PSoCProgrammer 3.27.1 ==
93
94
95 (((
96 Download Link: [[PSoCProgrammer3.27.1>>url:https://www.dragino.com/downloads/index.php?dir=tools/]]
97 )))
98
99 (((
100 And then use PSoCProgrammer to upgrade the firmware ( (% style="color:red" %)**must use this version: PSoCProgrammer3.27.1** (%%))
101 )))
102
103 [[image:image-20220527084537-7.png]]
104
105
106 == 3.3 Download Sensor Firmware ==
107
108
109 Downlink sensor firmware to prepare the update.
110
111
112 == 3.4 Upgrade Firmware ==
113
114
115 Open PSOC Programmer, select the default configuration, no need to modify
116
117 [[image:image-20220527084612-8.png]]
118
119
120 Click the file icon to select the software to be burned:
121
122 [[image:image-20220527084705-9.png]]
123
124
125 [[image:image-20220527084739-10.png||height="453" width="1034"]]
126
127
128
129 (((
130 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.
131 )))
132
133 [[image:image-20220527084831-11.png]]
134
135
136 [[image:image-20220527084907-12.png]]
137
138
139 (((
140 (% style="color:red" %)**It is very important to press the reset button after the upgrade., this is to set the device to work in Low Power mode.**
141 )))
142
143 (((
144 (% style="color:red" %)**If you change different LoRa Frequency Bands/Region, you need using **(% style="color:blue" %)**AT+FDR **(% style="color:red" %)**command to restore factory data after program success.**
145 )))
146
147
148 = 4. Trouble Shooting =
149
150 == 4.1 Unable to detect upgrade ==
151
152
153 * Try to shot the bootloader pin to GND and reset the device. So the device will runs in bootloader mode.
154
155 * Or use (% style="color:blue" %)**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