Skip to content

Commit f87a7c4

Browse files
committed
apply feedback
1 parent 83732f9 commit f87a7c4

File tree

1 file changed

+7
-5
lines changed
  • content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-debugging

1 file changed

+7
-5
lines changed

content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-debugging/giga-debugging.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,19 @@ Debugging your Arduino project allows you to dive deep into your code and troubl
3838

3939
## Connection
4040

41-
Connecting the J-link to your GIGA R1 WiFi is super easy because there are special pins for debugging labeled as **SWD** pins.
41+
Connecting the J-link to your GIGA R1 WiFi is super easy because there are special pins for debugging labeled as **JTAG** pins.
4242

43-
![SWD Pins](./assets/jtag_pins.png)
43+
![JTAG Pins](./assets/jtag_pins.png)
4444

45-
Your J-link should come with a cable included and if you look closer you will see that one side is marked with red, indicating the orientation of the cable. The red side of the cable should be on the same side as the VCC pin on the SWD pad. To know the exact orientation of your cable be sure to check the respective documentation or datasheet of your debugger but you can start with the orientation as shown below and if it doesn't work you can try placing it differently until you get a working connection. Once we start using the debugger software in the following steps you will know if the cable is placed correctly.
45+
Your J-link should come with a cable included and if you look closer you will see that one side is marked with red, indicating the orientation of the cable. The red side of the cable should be on the same side as the VCC pin on the JTAG pad. To know the exact orientation of your cable be sure to check the respective documentation or datasheet of your debugger. If it doesn't work you can try placing it differently until you get a working connection. Once we start using the debugger software in the following steps you will know if the cable is placed correctly.
46+
47+
***You can refer to the [Segger's documentation](https://wiki.segger.com/Arduino_Giga_R1_WiFi) to for the correct orientation of the cable.***
4648

4749
## Software
4850

4951
### Setting up with the Arduino IDE
5052

51-
First, if you haven't done it yet, install the [Arduino IDE](https://www.arduino.cc/en/software) and connect your GIGA R1 WiFi. When uploading a sketch to your Arduino board with the Arduino IDE, it will build an `.ELF` file of the sketch. We will need this file to debug in Ozone in the next steps. To easily find the file path of the `.ELF` file, we can enable the show verbose output option in the Arduino IDE. To do this, open up the preferences under **File > Preferences** in the Arduino IDE.
53+
First, if you haven't done it yet, install the [Arduino IDE](https://www.arduino.cc/en/software) and connect your GIGA R1 WiFi. Make sure to download the GIGA R1 [board package](tutorials/giga-r1-wifi/giga-getting-started/#install-board-package). Restart the IDE to make sure all options are visible to you When uploading a sketch to your Arduino board with the Arduino IDE, it will build an `.ELF` file of the sketch. We will need this file to debug in Ozone in the next steps. To easily find the file path of the `.ELF` file, we can enable the show verbose output option in the Arduino IDE. To do this, open up the preferences under **File > Preferences** in the Arduino IDE.
5254

5355
![Preferences in Arduino IDE](./assets/ide_preferences.png)
5456

@@ -78,7 +80,7 @@ Inside the first instance:
7880

7981
- Upload **"Sketch M7"** (see below).
8082

81-
Inside the seconds instance:
83+
Inside the second instance:
8284

8385
- Select **Flash split** > **1MB M7 + 1MB M4**.
8486

0 commit comments

Comments
 (0)