From c471bba00f7f1323a920e068eed126edb6d51595 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 10 Nov 2022 12:58:30 +0100 Subject: [PATCH 1/5] Minor updates to table formatting and article links --- .../Upload/Errors-when-uploading-a-sketch.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/content/Software Support/Upload/Errors-when-uploading-a-sketch.md b/content/Software Support/Upload/Errors-when-uploading-a-sketch.md index 90a5d653..a3bdfb0b 100644 --- a/content/Software Support/Upload/Errors-when-uploading-a-sketch.md +++ b/content/Software Support/Upload/Errors-when-uploading-a-sketch.md @@ -19,28 +19,32 @@ These checks will resolve the most common errors: If you still get an error, you'll find instructions for specific error messages below. +--- + -## Errors +## List of errors > **Note:** _Exit status 1_ only indicates that the process has failed. Look for preceding lines in the error output for more specific information.
-

Common

+

Upload

Compilation error

Other

    From 11c5922831c8925eb91688b525d61d0ac27f0459 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 10 Nov 2022 13:55:05 +0100 Subject: [PATCH 2/5] override flex --- .../DIP-switches-on-Portenta-Breakout-board.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/Hardware Support/Portenta Family/DIP-switches-on-Portenta-Breakout-board.md b/content/Hardware Support/Portenta Family/DIP-switches-on-Portenta-Breakout-board.md index 0749cac3..82beff6a 100644 --- a/content/Hardware Support/Portenta Family/DIP-switches-on-Portenta-Breakout-board.md +++ b/content/Hardware Support/Portenta Family/DIP-switches-on-Portenta-Breakout-board.md @@ -9,21 +9,21 @@ The Arduino Portenta Breakout board makes all high-density connectors individual - + - + - + - + From fd6cf9d2a653cc0726c7eb232f87d254787a02dd Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 10 Nov 2022 13:57:59 +0100 Subject: [PATCH 3/5] Updated with Max Carrier and DIP switches --- ...H7-bootloader-via-JTAG-with-Arduino-IDE.md | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md b/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md index 91192a2a..e804f86c 100644 --- a/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md +++ b/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md @@ -10,33 +10,35 @@ The bootloader is a small program that runs when you turn the Arduino on or pres ## What you'll need * Portenta H7 -* [Portenta Breakout](https://store.arduino.cc/products/arduino-portenta-breakout) +* [Portenta Breakout](https://store.arduino.cc/products/arduino-portenta-breakout) or [Portenta Max Carrier](https://store.arduino.cc/products/portenta-max-carrier) (provides a JTAG connector) * [STLINK programmer for STM32](https://www.st.com/en/development-tools/stlink-v3set.html) -* JTAG connector (STLINK programmer to Portenta Breakout board) +* JTAG connector cable (STLINK programmer to the Portenta Breakout or Max Carrier) * [Arduino IDE](https://www.arduino.cc/en/software) -## Step-by-step Instructions +## Step-by-step instructions -1. Attach Portenta H7 to the Portenta Breakout. +01. Find the [DIP switches](https://support.arduino.cc/hc/en-us/articles/4402095376402-DIP-switches-on-Portenta-Breakout-board) on the Portenta Breakout or Portenta Max Carrier and set both **BOOT_SEL** and **BOOT** to **ON**. -2. Connect Portenta H7 to your PC with a USB-C cable. +02. Attach Portenta H7 to the Portenta Breakout or Portenta Max Carrier. -3. Connect the STLINK programmer to the PC with a USB cable. +03. Connect Portenta H7 to your PC with a USB-C cable. -4. Connect the JTAG cable from the STLINK programmer to the JTAG on the Breakout. +04. Connect the STLINK programmer to the PC with a USB cable. -5. Open Arduino IDE. +05. Connect the JTAG cable from the STLINK programmer to the JTAG on the Portenta Breakout or Portenta Max Carrier. -6. In the top menu bar, open _Tools > Board_ and select _Arduino Mbed OS Portenta Boards > Portenta H7 (M7 Core)_. +06. Open Arduino IDE. -7. Select the programmer in _Tools > Programmer_. +07. In the top menu bar, open _Tools > Board_ and select _Arduino Mbed OS Portenta Boards > Portenta H7 (M7 Core)_. - ![Programmer selection](img/bootloader_IDE.png) +08. Select the programmer in _Tools > Programmer_. -8. Select _Tools > Burn Bootloader_ to burn the bootloader. + ![Programmer selection](img/bootloader_IDE.png) - ![Burn Bootloader](img/bootloader_IDE_2.png) +09. Select _Tools > Burn Bootloader_ to burn the bootloader. -9. Wait for the process to complete. + ![Burn Bootloader](img/bootloader_IDE_2.png) - ![Done burning bootloader](img/bootloader_IDE_3.png) +10. Wait for the process to complete. + + ![Done burning bootloader](img/bootloader_IDE_3.png) From 119251312eec54f5cd907e9f461dfbb7e98e0ae8 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Fri, 11 Nov 2022 10:17:47 +0100 Subject: [PATCH 4/5] =?UTF-8?q?"Portenta=20Breakout=20or=20Portenta=20Max?= =?UTF-8?q?=20Carrier"=20=E2=86=92=20"carrier"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...rtenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md b/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md index e804f86c..89dea0bd 100644 --- a/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md +++ b/content/Hardware Support/Portenta Family/How-to-flash-Portenta-H7-bootloader-via-JTAG-with-Arduino-IDE.md @@ -10,22 +10,24 @@ The bootloader is a small program that runs when you turn the Arduino on or pres ## What you'll need * Portenta H7 -* [Portenta Breakout](https://store.arduino.cc/products/arduino-portenta-breakout) or [Portenta Max Carrier](https://store.arduino.cc/products/portenta-max-carrier) (provides a JTAG connector) +* A compatible carrier: + * [Portenta Breakout](https://store.arduino.cc/products/arduino-portenta-breakout) + * [Portenta Max Carrier](https://store.arduino.cc/products/portenta-max-carrier) * [STLINK programmer for STM32](https://www.st.com/en/development-tools/stlink-v3set.html) -* JTAG connector cable (STLINK programmer to the Portenta Breakout or Max Carrier) +* JTAG connector cable (STLINK programmer to the carrier) * [Arduino IDE](https://www.arduino.cc/en/software) ## Step-by-step instructions -01. Find the [DIP switches](https://support.arduino.cc/hc/en-us/articles/4402095376402-DIP-switches-on-Portenta-Breakout-board) on the Portenta Breakout or Portenta Max Carrier and set both **BOOT_SEL** and **BOOT** to **ON**. +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**. -02. Attach Portenta H7 to the Portenta Breakout or Portenta Max Carrier. +02. Attach Portenta H7 to the carrier. 03. Connect Portenta H7 to your PC with a USB-C cable. 04. Connect the STLINK programmer to the PC with a USB cable. -05. Connect the JTAG cable from the STLINK programmer to the JTAG on the Portenta Breakout or Portenta Max Carrier. +05. Connect the JTAG cable from the STLINK programmer to the JTAG on the carrier. 06. Open Arduino IDE. From 590bb9ad3eea950e790b29249eae23014841e1fd Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Fri, 11 Nov 2022 10:20:13 +0100 Subject: [PATCH 5/5] Update content/Software Support/Upload/Errors-when-uploading-a-sketch.md Co-authored-by: Renat0Ribeir0 <86349945+Renat0Ribeir0@users.noreply.github.com> --- .../Software Support/Upload/Errors-when-uploading-a-sketch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/Software Support/Upload/Errors-when-uploading-a-sketch.md b/content/Software Support/Upload/Errors-when-uploading-a-sketch.md index a3bdfb0b..f2e4adaf 100644 --- a/content/Software Support/Upload/Errors-when-uploading-a-sketch.md +++ b/content/Software Support/Upload/Errors-when-uploading-a-sketch.md @@ -33,7 +33,7 @@ If you still get an error, you'll find instructions for specific error messages

    Upload

    BOOT_SEL ON Keeps the Portenta in Boot mode
    OFF Operation mode (default)
    BOOT ON 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.
    OFF Normal boot (default)