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,79 @@ 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]] 158 + 159 + 160 +[[image:image-20230605151850-2.png]] 161 + 162 + 163 +(% style="color:blue" %)**3. Connect JLINK, and switch mother board SW1 to ISP. Wire connection as below:** 164 + 165 +**LA66 PA6 < ~-~- > JLINK SWDIO (Pin 7)** 166 + 167 +**LA66 PA7 < ~-~- > JLINK SWCLK (Pin 9)** 168 + 169 +**LA66 RSTN < ~-~- > JLINK RESET (Pin 15)** 170 + 171 +**LA66 GND < ~-~- > JLINK GND (Pin 8)** 172 + 173 +[[image:image-20230605151850-3.png||height="629" width="1182"]] 174 + 175 +(% style="display:none" %) (%%) 176 + 177 +(% style="color:blue" %)**4. Copy \SN50v3\tools\FLM\ASR6601.FLM to \Keil\ARM\ Flash\** 178 + 179 +(% style="display:none" %) [[image:image-20230605151850-4.png]] 180 + 181 + 182 +**Add ASR6601 256KB Flash to Flash Download** 183 + 184 +[[image:image-20230605152412-12.png]] 185 + 186 + 187 +[[image:image-20230605151851-6.png]] 188 + 189 + 190 +(% style="color:blue" %)**5. Modify \SN50v3\Projects\Applications\DRAGINO-LRWAN-AT\cfg\gcc.ld, to 0x08000000.** 191 + 192 + 193 +[[image:image-20230605151851-7.png]] 194 + 195 +[[image:image-20230605151851-8.png]] 196 + 197 + 198 +(% 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.** 199 + 200 + 201 +(% style="color:blue" %)**6. Comment the low power function in main.c.** 202 + 203 + 204 +[[image:image-20230605151851-9.png]] 205 + 206 + 207 +(% style="color:blue" %)**Click Debug mode to debug.** 208 + 209 +[[image:image-20230605151851-10.png||height="293" width="1275"]] 210 + 211 + 212 +[[image:image-20230605151851-11.png||height="739" width="1275"]](% style="display:none" %) 213 + 214 +(% style="display:none" %) (%%) 215 + 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