Hide last authors
Xiaoling 1.2 1 = 1. Introduction =
Xiaoling 1.1 2
Xiaoling 1.2 3 This article shows the firmware upgrade method and troubleshooting for the below models Dragino sensors.
Xiaoling 1.1 4
Xiaoling 1.2 5 = 2. Model and Connection =
Xiaoling 1.1 6
Xiaoling 1.2 7 == 2.1 LDS01/LWL01 ==
Xiaoling 1.1 8
Xiaoling 1.2 9 [[Firmware Location>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Firmware/]]
Xiaoling 1.1 10
Xiaoling 1.2 11 Pin Mapping:
Xiaoling 1.1 12
Xiaoling 1.2 13 [[image:https://wiki.dragino.com/images/thumb/e/e3/ASR_Upgrade_1.png/600px-ASR_Upgrade_1.png||height="316" width="600"]]
Xiaoling 1.1 14
Xiaoling 1.2 15 LDS01/LWL01 Pin Mapping
Xiaoling 1.1 16
Xiaoling 1.2 17 DAP-Link Connection:
Xiaoling 1.1 18
Xiaoling 1.2 19 [[image:https://wiki.dragino.com/images/thumb/7/79/ASR_Upgrade_2.jpg/600px-ASR_Upgrade_2.jpg||height="451" width="600"]]
Xiaoling 1.1 20
Xiaoling 1.2 21 Connect DAP-Link
22
Xiaoling 1.1 23
Xiaoling 1.2 24 == 2.2 LDS02/LWL02 ==
Xiaoling 1.1 25
Xiaoling 1.2 26 [[Firmware Location(same as LDS01)>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Firmware/]]
Xiaoling 1.1 27
Xiaoling 1.2 28 Pin Mapping:
Xiaoling 1.1 29
Xiaoling 1.2 30 [[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 31
Xiaoling 1.2 32 LDS02/LDS02 v2.0 Pin Mapping
33
34 [[image:https://wiki.dragino.com/images/thumb/1/1c/ASR_Upgrade_LDS02_2.png/600px-ASR_Upgrade_LDS02_2.png||height="270" width="600"]]
35
36 LDS02/LDS02 v2.2 Pin Mapping
37
38
39 == 2.3 LHT52 ==
40
41 [[Firmware Location>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/Firmware/]]
42
43 [[image:https://wiki.dragino.com/images/thumb/e/e0/ASR_Upgrade_LHT52_1.png/600px-ASR_Upgrade_LHT52_1.png||height="438" width="600"]]
44
45 LHT52 Pin Mapping
46
47 = 3. How to Upgrade =
48
49 == 3.1 Use DAP-Link and Connect to the Device as above photos ==
50
51 We need to connect VDD,GND,SWCLK,SWDIO to DAP-Link.
52
53 * Connection method:
54
55 * GND-GND,
56
57 * VDD-3.3V,
58
59 * SWCLK-CLK,
60
61 * SWDIO-SWD
62
63
64 [[image:https://wiki.dragino.com/images/8/81/DAPlink.png||alt="DAPlink.png" height="539" width="334"]]
65
66
67 == 3.2 Install PSoCProgrammer 3.27.1 ==
68
69 Download Link: [[PSoCProgrammer3.27.1>>url:https://www.dragino.com/downloads/index.php?dir=tools/]]
70
71 And then use PSoCProgrammer to upgrade the firmware (must use this version: PSoCProgrammer3.27.1)
72
73 [[image:https://wiki.dragino.com/images/0/0f/Ppp1.png||alt="Ppp1.png" height="68" width="318"]]
74
75
76 == 3.3 Download Sensor Firmware ==
77
78 Downlink sensor firmware to prepare the update
79
80
81 == 3.4 Upgrade Firmware ==
82
83 Open PSOC Programmer, select the default configuration, no need to modify
84
85 [[image:https://wiki.dragino.com/images/thumb/9/94/Ppp10.png/600px-Ppp10.png||alt="Ppp10.png" height="198" width="600"]]
86
87 Click the file icon to select the software to be burned:
88
89 [[image:https://wiki.dragino.com/images/thumb/d/d0/Ppp11.png/600px-Ppp11.png||alt="Ppp11.png" height="218" width="600"]]
90
91 [[image:https://wiki.dragino.com/images/thumb/e/ec/Ppp12.png/600px-Ppp12.png||alt="Ppp12.png" height="265" width="600"]]
92
93
94 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.
95
96 [[image:https://wiki.dragino.com/images/thumb/e/e2/Ppp13.png/600px-Ppp13.png||alt="Ppp13.png" height="337" width="600"]]
97
98 [[image:https://wiki.dragino.com/images/thumb/6/6f/Ppp14.png/600px-Ppp14.png||alt="Ppp14.png" height="338" width="600"]]
99
100 It is very important to press the reset button after the upgrade., this is to set the device to work in Low Power mode
101
102 *If you change different LoRa Frequency Bands/Region, you need using AT+FDR command to restore factory data after program success
103
104 = 4. Trouble Shooting =
105
106 == 4.1 Unable to detect upgrade ==
107
108 * Try to shot the bootloader pin to GND and reset the device. So the device will runs in bootloader mode.
109 * 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