Changes for page LA66 LoRaWAN Module User Manual
Last modified by Xiaoling on 2023/09/19 09:20
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
- image-20230605151850-1.png
- image-20230605151850-2.png
- image-20230605151850-3.png
- image-20230605151850-4.png
- image-20230605151851-10.png
- image-20230605151851-11.png
- image-20230605151851-5.png
- image-20230605151851-6.png
- image-20230605151851-7.png
- image-20230605151851-8.png
- image-20230605151851-9.png
- image-20230605152412-12.png
Details
- Page properties
-
- Content
-
... ... @@ -140,6 +140,81 @@ 140 140 Instruction for LA66 Peer to Peer firmware :[[ Instruction >>doc:Main.User Manual for LoRaWAN End Nodes.LA66 LoRaWAN Shield User Manual.Instruction for LA66 Peer to Peer firmware.WebHome]] 141 141 142 142 143 +== 2.5 How can i use J-LInk to debug LA66? == 144 + 145 + 146 +(% style="color:#037691" %)**The steps are as follows:** 147 + 148 + 149 +(% style="color:blue" %)**1. Install J-Link software from** 150 + 151 +[[https:~~/~~/www.segger.com/downloads/jlink/>>url:https://www.segger.com/downloads/jlink/]] 152 + 153 + 154 +(% style="color:blue" %)**2. Expose PA6 / PA7 / RSTN of LA66.** 155 + 156 + 157 +[[image:image-20230605151850-1.png||height="676" width="640"]] 158 + 159 + 160 +[[image:image-20230605151850-2.png]] 161 + 162 +(% style="display:none" %) (%%) 163 + 164 +(% style="color:blue" %)**3. Connect JLINK, and switch mother board SW1 to ISP. Wire connection as below:** 165 + 166 + 167 +**LA66 PA6 < ~-~- > JLINK SWDIO (Pin 7)** 168 + 169 +**LA66 PA7 < ~-~- > JLINK SWCLK (Pin 9)** 170 + 171 +**LA66 RSTN < ~-~- > JLINK RESET (Pin 15)** 172 + 173 +**LA66 GND < ~-~- > JLINK GND (Pin 8)** 174 + 175 +[[image:image-20230605151850-3.png||height="629" width="1182"]] 176 + 177 +(% style="display:none" %) (%%) 178 + 179 +(% style="color:blue" %)**4. Copy \SN50v3\tools\FLM\ASR6601.FLM to \Keil\ARM\ Flash\** 180 + 181 +(% style="display:none" %) [[image:image-20230605151850-4.png]] 182 + 183 + 184 +**Add ASR6601 256KB Flash to Flash Download** 185 + 186 +[[image:image-20230605152412-12.png]] 187 + 188 + 189 +[[image:image-20230605151851-6.png]] 190 + 191 + 192 +(% style="color:blue" %)**5. Modify \SN50v3\Projects\Applications\DRAGINO-LRWAN-AT\cfg\gcc.ld, to 0x08000000.** 193 + 194 + 195 +[[image:image-20230605151851-7.png]] 196 + 197 +[[image:image-20230605151851-8.png]] 198 + 199 + 200 +(% style="color:red" %)**Note: After debug, user should change the Flash address back to 0x0800D000, and upload the OTA bootloader to LA66. Otherwise, the compiled program doesn't support OTA update.** 201 + 202 + 203 +(% style="color:blue" %)**6. Comment the low power function in main.c.** 204 + 205 + 206 +[[image:image-20230605151851-9.png]] 207 + 208 + 209 +(% style="color:blue" %)**Click Debug mode to debug.** 210 + 211 +[[image:image-20230605151851-10.png||height="293" width="1275"]] 212 + 213 + 214 +[[image:image-20230605151851-11.png||height="739" width="1275"]](% style="display:none" %) 215 + 216 +(% style="display:none" %) (%%) 217 + 143 143 = 3. Order Info = 144 144 145 145
- image-20230605151850-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +532.8 KB - Content
- image-20230605151850-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +534.2 KB - Content
- image-20230605151850-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.3 MB - Content
- image-20230605151850-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.7 KB - Content
- image-20230605151851-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.0 KB - Content
- image-20230605151851-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.3 KB - Content
- image-20230605151851-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.2 KB - Content
- image-20230605151851-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.3 KB - Content
- image-20230605151851-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.3 KB - Content
- image-20230605151851-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.9 KB - Content
- image-20230605151851-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.2 KB - Content
- image-20230605152412-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.2 KB - Content