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