Show last authors
1 **Table of Contents:**
2
3 {{toc/}}
4
5
6
7 = **1.  Instruction for Windows OS Platform** =
8
9
10
11 == (% style="color:blue" %)**Step 1:Install MSYS2**(%%) ==
12
13
14 Download [[MSYS2>>url:https://www.msys2.org/]] and Install
15
16
17 [[image:image-20220729090235-1.png]]
18
19
20
21 == (% style="color:blue" %)**Step 2:Open MSYS2**(%%) ==
22
23
24 [[image:image-20220729090235-2.png]]
25
26
27 (% style="color:#037691" %)**Install related software**(%%):  pacman -S git vim make unzip python python-pip
28
29 (% style="color:#037691" %)**Use pip to install pyserial**(%%):pip install pyserial configparser
30
31
32 [[image:image-20220729090235-3.png]]
33
34
35 [[image:image-20220729090235-4.png]]
36
37
38
39 == (% style="color:blue" %)**Step 3:Get LA66 SDK.**(%%) ==
40
41
42 (% style="color:red" %)**Step 1:**(%%)  Download LA66 code: [[GitHub - dragino/LA66: LoRaWAN Module>>url:https://github.com/dragino/LA66]]
43
44
45 [[image:image-20220729114259-17.png]]
46
47
48
49 (% style="color:red" %)**Step 2:**(%%)  [[Downloads ~| GNU Arm Embedded Toolchain Downloads – Arm Developer>>url:https://developer.arm.com/downloads/-/gnu-rm]]
50
51
52 [[image:image-20220729112807-16.png]]
53
54
55
56 (% style="color:red" %)**Step 3:**(%%)  Copy the file downloaded in step 2 to the folder directory of (% style="color:blue" %)**.../LA66/tools/toolchain**(%%) in step 1.
57
58 [[image:1659066692266-907.png]]
59
60
61
62 == (% style="color:blue" %)**Step 4:Connect your LA66 to PC via USB TTL.**(%%) ==
63
64
65 [[image:image-20220729115250-18.png]]
66
67
68 [[image:1659066790319-777.png]]
69
70
71
72 == (% style="color:blue" %)**Step 5:Check USB Port**(%%) ==
73
74
75 (% class="box infomessage" %)
76 (((
77 **ls /dev/**
78 )))
79
80
81 [[image:image-20220729090235-5.png]]
82
83
84
85 == (% style="color:blue" %)**Step 6:Open Makefile File, Modify Region and USB Port**(%%) ==
86
87
88 [[image:image-20220729090235-6.png]]
89
90
91
92 [[image:image-20220729090235-7.png]]
93
94
95
96 == (% style="color:blue" %)**Step 7:Use Make to compile**(%%) ==
97
98
99 Open Directory cd E:/ASR6601_soft_DRAGINO/LA66
100
101 source build/envsetup.sh
102
103 cd Projects/Applications/DRAGINO-LRWAN-AT
104
105 make
106
107 make flash
108
109 [[image:image-20220729090235-8.png]]
110
111
112 [[image:image-20220729090235-9.png]]
113
114 [[image:image-20220729090235-10.png]]
115
116
117
118 == (% style="color:blue" %)**Step 8:Uplink Image to LA66**(%%) ==
119
120
121 LA66 LoRaWAN shield:
122
123
124 (% style="background-color:yellow" %)**Connection:**
125
126 **Connect the Jump cap**
127
128 **10  <-> USB TTL RX**
129
130 **11  <-> USB TTL TX**
131
132 **GND <-> USB TTL GND**
133
134 **3V3  <-> USB TTL 3.3v**
135
136 **Switch SW1 to ISP   **
137
138 **Press the RST key**
139
140
141
142 (((
143
144 )))
145
146 [[image:1659066869051-599.png]]
147
148
149
150
151 Put USB LoRaWAN Adapter into Program Mode, and press reset
152
153 [[image:image-20220729090235-11.png]]
154
155
156 **Run make flash**
157
158 [[image:image-20220729090235-12.png]]
159
160 [[image:image-20220729090235-13.png]]
161
162 Wait for update finish, remove program jumper and press reset
163
164
165
166 **Below is the serial output after update success.**
167
168 [[image:image-20220729090235-14.png]]
169
170
171
172 **Example for output files of Make**
173
174 [[image:image-20220729090235-15.png]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0