Skip to content

Commit 3160c1f

Browse files
authored
Merge pull request #139 from arduino/Update-link-table
Portenta H7 bootloader via JTAG, DIP switches, Upload error table updates
2 parents 8c4d4df + 590bb9a commit 3160c1f

File tree

3 files changed

+33
-25
lines changed

3 files changed

+33
-25
lines changed

content/Hardware Support/Portenta Family/DIP-switches-on-Portenta-Breakout-board.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ The Arduino Portenta Breakout board makes all high-density connectors individual
99

1010
<table>
1111
<tbody>
12-
<tr>
12+
<tr style="display: table-row;">
1313
<td rowspan="2"><b>BOOT_SEL</b></td>
1414
<td>ON</td>
1515
<td>Keeps the Portenta in Boot mode</td>
1616
</tr>
17-
<tr>
17+
<tr style="display: table-row;">
1818
<td>OFF</td>
1919
<td>Operation mode (default)</td>
2020
</tr>
21-
<tr>
21+
<tr style="display: table-row;">
2222
<td rowspan="2"><b>BOOT</b></td>
2323
<td>ON</td>
2424
<td>Enables the embedded bootloader. Firmware can be uploaded via the USB port on the breakout board (DFU). USB-A to USB-A (non-crossover) cable required. The Portenta H7 has to be powered through the USB-C connector or VIN.</td>
2525
</tr>
26-
<tr>
26+
<tr style="display: table-row;">
2727
<td>OFF</td>
2828
<td>Normal boot (default)</td>
2929
</tr>

content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,37 @@ The bootloader is a small program that runs when you turn the Arduino on or pres
1010
## What you'll need
1111

1212
* Portenta H7
13-
* [Portenta Breakout](https://store.arduino.cc/products/arduino-portenta-breakout)
13+
* A compatible carrier:
14+
* [Portenta Breakout](https://store.arduino.cc/products/arduino-portenta-breakout)
15+
* [Portenta Max Carrier](https://store.arduino.cc/products/portenta-max-carrier)
1416
* [STLINK programmer for STM32](https://www.st.com/en/development-tools/stlink-v3set.html)
15-
* JTAG connector (STLINK programmer to Portenta Breakout board)
17+
* JTAG connector cable (STLINK programmer to the carrier)
1618
* [Arduino IDE](https://www.arduino.cc/en/software)
1719

18-
## Step-by-step Instructions
20+
## Step-by-step instructions
1921

20-
1. Attach Portenta H7 to the Portenta Breakout.
22+
01. Find the [DIP switches](https://support.arduino.cc/hc/en-us/articles/4402095376402-DIP-switches-on-Portenta-Breakout-board) on the carrier and set both **BOOT_SEL** and **BOOT** to **ON**.
2123

22-
2. Connect Portenta H7 to your PC with a USB-C cable.
24+
02. Attach Portenta H7 to the carrier.
2325

24-
3. Connect the STLINK programmer to the PC with a USB cable.
26+
03. Connect Portenta H7 to your PC with a USB-C cable.
2527

26-
4. Connect the JTAG cable from the STLINK programmer to the JTAG on the Breakout.
28+
04. Connect the STLINK programmer to the PC with a USB cable.
2729

28-
5. Open Arduino IDE.
30+
05. Connect the JTAG cable from the STLINK programmer to the JTAG on the carrier.
2931

30-
6. In the top menu bar, open _Tools > Board_ and select _Arduino Mbed OS Portenta Boards > Portenta H7 (M7 Core)_.
32+
06. Open Arduino IDE.
3133

32-
7. Select the programmer in _Tools > Programmer_.
34+
07. In the top menu bar, open _Tools > Board_ and select _Arduino Mbed OS Portenta Boards > Portenta H7 (M7 Core)_.
3335

34-
![Programmer selection](img/bootloader_IDE.png)
36+
08. Select the programmer in _Tools > Programmer_.
3537

36-
8. Select _Tools > Burn Bootloader_ to burn the bootloader.
38+
![Programmer selection](img/bootloader_IDE.png)
3739

38-
![Burn Bootloader](img/bootloader_IDE_2.png)
40+
09. Select _Tools > Burn Bootloader_ to burn the bootloader.
3941

40-
9. Wait for the process to complete.
42+
![Burn Bootloader](img/bootloader_IDE_2.png)
4143

42-
![Done burning bootloader](img/bootloader_IDE_3.png)
44+
10. Wait for the process to complete.
45+
46+
![Done burning bootloader](img/bootloader_IDE_3.png)

content/Software Support/Upload/Errors-when-uploading-a-sketch.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,32 @@ These checks will resolve the most common errors:
1919

2020
If you still get an error, you'll find instructions for specific error messages below.
2121

22+
---
23+
2224
<a id="errors"></a>
2325

24-
## Errors
26+
## List of errors
2527

2628
> **Note:** _Exit status 1_ only indicates that the process has failed. Look for preceding lines in the error output for more specific information.
2729
2830
<table>
2931
<tr>
3032
<td style="vertical-align: top;">
31-
<h3>Common</h3>
33+
<h3>Upload</h3>
3234
<ul>
33-
<li><a href="https://support.arduino.cc/hc/en-us/articles/360016955139-Error-exit-status-1">Error: exit status 1</a></li>
34-
<li><a href="https://support.arduino.cc/hc/en-us/articles/360020843439-Error-2-UNKNOWN-no-FQBN-provided">Error: 2 UNKNOWN: no FQBN provided</a></li>
35-
<li><a href="#no-device-found-on-port">No device found on &lt;port&gt;<br>Upload error: Failed uploading: uploading error: exit status 1</a></li>
35+
<li><a href="https://support.arduino.cc/hc/en-us/articles/360020831120-Failed-uploading-no-upload-port-provided">Failed uploading: no upload port provided</a></li>
36+
<li><a href="https://support.arduino.cc/hc/en-us/articles/6554944868252-Failed-uploading-uploading-error-exit-status-1">Failed uploading: uploading error: exit status 1</a></li>
37+
<li><a href="#no-device-found-on-port">No device found on &lt;port&gt;</a></li>
3638
<li><a href="#no-board-on-selected-port">Couldn't find a Board on the selected port</a></li>
3739
<li><a href="#no-dfu-capable-USB-device-available">dfu-util: No DFU capable USB device available</a></li>
3840
<li><a href="#SerialPortException-port-busy">jssc.SerialPortException: Port name - &lt;port&gt;;<br>Method name - openPort(); Exception type - Port busy.</a></li>
3941
</ul>
4042
<h3>Compilation error</h3>
4143
<ul>
44+
<li><a href="https://support.arduino.cc/hc/en-us/articles/6554914611228-Compilation-error-exit-status-1">Compilation error: exit status 1</a></li>
4245
<li><a href="https://support.arduino.cc/hc/en-us/articles/4412950941074-Compilation-error-Missing-FQBN-Fully-Qualified-Board-Name-">Compilation error: Missing FQBN (Fully Qualified Board Name)</a></li>
43-
<li><a href="https://support.arduino.cc/hc/en-us/articles/360020846379-Compilation-error-Error-2-UNKNOWN-platform-not-installed">Compilation error: Error: 2 UNKNOWN: platform not installed</a></li>
46+
<li><a href="https://support.arduino.cc/hc/en-us/articles/360020846379-Compilation-error-Error-2-UNKNOWN-platform-not-installed">Compilation error: Platform not found: platform not installed</a></li>
47+
4448
</ul>
4549
<h3>Other</h3>
4650
<ul>

0 commit comments

Comments
 (0)