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