Skip to content

Commit 1d00d43

Browse files
authored
Merge pull request #602 from arduino/martab1994-patch-1-1
Update flashing tutorial
2 parents 913c807 + cdc485d commit 1d00d43

File tree

1 file changed

+32
-41
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/image-flashing

1 file changed

+32
-41
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/image-flashing/content.md

Lines changed: 32 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ difficulty: intermediate
66
tags:
77
- Embedded Linux
88
- Flashing
9-
- Foundries.io
109
author: 'Pablo Marquínez'
1110
hardware:
1211
- hardware/04.pro/boards/portenta-x8
1312
---
1413

1514
## Overview
1615

17-
In this tutorial you will see how to manually flash your Portenta X8 with the image that is provided by Foundries.io through USB using the Terminal.
16+
In this tutorial you will see how to manually flash your Portenta X8 with the image that is provided by Arduino. You will flash your board through USB using the Terminal.
17+
The instructions below are meant to be used with a Windows Operating System.
1818

19-
***Attention: We encourage you to check every now and then if the device image version is up to date in order to have the latest bootloader, please check the release section of the [lmp-manifest repository](https://github.com/arduino/lmp-manifest/releases) and compare the target version number***
19+
***Attention: We encourage you to check every now and then if the device image version is up-to-date in order to have the latest bootloader. Please check the release section of the [lmp-manifest repository](https://github.com/arduino/lmp-manifest/releases) and compare the target version number***
2020

2121
## Goals
2222

@@ -30,17 +30,23 @@ In this tutorial you will see how to manually flash your Portenta X8 with the im
3030
- USB-C to USB-A or USB-C to USB-C
3131
- Portenta X8
3232
- Portenta Breakout Board or Portenta Max Carrier
33-
- Arduino Create account
34-
- Arduino Pro Cloud Subscription. [Learn more about the Pro Cloud](https://www.arduino.cc/pro/hardware/product/portenta-x8#pro-cloud).
35-
- Foundries.io account (linked with the Pro Cloud subscription)
36-
- FoundriesFactory® ([Check the Getting Started tutorial](https://docs.arduino.cc/tutorials/portenta-x8/out-of-the-box))
37-
- 1 Device already attached to your factory ([Check the Getting Started tutorial](https://docs.arduino.cc/tutorials/portenta-x8/out-of-the-box))
3833

3934
## Instructions
4035

4136
### Get the Required Files
4237

43-
Required files following this structure:
38+
#### Arduino's GitHub Repository
39+
40+
Go to the `lmp-manifest` [GitHub repository](https://github.com/arduino/lmp-manifest) and open the [releases](https://github.com/arduino/lmp-manifest/releases) section, there you will find a compressed `.tar.gz` with all the required files.
41+
42+
While we were writing this tutorial the available version was `456`, but you will probably find a more recent version in the future.
43+
44+
Click on the file `456.tar.gz` (or newer) and download it to your computer.
45+
46+
![lpm-manifest repository overview](assets/lpm-manifest-overview.png)
47+
48+
After downloading it, uncompress it and uncompress the file `mfgtool-files-portenta-x8.tar.gz`.
49+
You will get a structure like the following:
4450

4551
```
4652
Root folder
@@ -51,58 +57,43 @@ Root folder
5157
└── u-boot-portenta-x8.itb
5258
```
5359

54-
To get those files:
55-
56-
#### Arduino's GitHub Repository
57-
58-
Go to the `lmp-manifest` [GitHub repository](https://github.com/arduino/lmp-manifest) and open the [releases](https://github.com/arduino/lmp-manifest/releases) section, there you will find a compressed `.tar.gz` with all the required files.
59-
60-
#### Through Foundries.io
61-
62-
Open your FoundriesFactory®.
63-
64-
![Foundries.io factories dashboard](assets/foundries-factories.png)
65-
66-
Switch to the targets tab.
67-
68-
![Foundries.io factory targets tab](assets/foundries-factories-targets.png)
69-
70-
Click on the platform-master version.
60+
### Set the Portenta X8 to Flashing Mode
7161

72-
![Foundries.io tag dashboard](assets/foundries-factories-targets-dashboard.png)
62+
Plug your Porenta X8 into your carrier (e.g. Portenta Breakout carrier or Portenta Max Carrier).
7363

74-
On the "Runs" section open those collapsed labels, and download the files listed above by clicking on their text (like a normal link).
64+
Place both DIP switches to the ON position.
7565

76-
![Foundries.io target runs section](assets/foundries-factories-target-runs.png)
66+
On the Portenta Max Carrier the DIP switches are identified by a label `BOOT SEL` and `BOOT` as shown in figure.
7767

78-
After downloading them, make sure you put them in a folder following the structure shown and extract the compressed files.
68+
![Max Carrier DIP switches](assets/max-carrier-dip-switches.png)
7969

80-
### Set the Portenta X8 to Flashing Mode
70+
On the Portenta Breakout the DIP switches are identified by a label `BT_SEL` and `BOOT` as shown in figure.
8171

82-
Plug your Porenta X8 into your carrier (Portenta Breakout carrier <!-- or Portenta Max Carrier-->).
72+
![Breakout DIP switches](assets/breakout-dip-switches.png)
8373

84-
Switch both DIP switches to the ON position.
74+
Plug one USB-C end into the Portenta X8 and the other end (USB-C or USB-A) to your computer.
8575

86-
Plug the USB-C end into the Portenta X8 and the other end (USB-C or USB-A) to your computer.
87-
88-
You will see a new device connected called `SE Blank M845S`.
76+
You will see a new connected device called `SE Blank M845S`.
8977

9078
### Flash the Device
9179

92-
Open a terminal and change the directory (`cd`) to your root folder as shown in the beginning.
80+
Open a terminal and change the directory (`cd`) to your root folder where `mfgtool-files-portenta-x8` file is located.
9381

9482
Use the `uuu full_image.uuu` command.
9583

9684
Wait until it gets flashed.
9785

9886
![uuu tool flashing success output](assets/uuu-flashing-success.png)
9987

100-
Switch back the DIP switches to OFF position.
88+
At this point, set back the DIP switches to OFF position.
89+
90+
Unplug and then plug-in again the Portenta X8 to your computer.
10191

102-
Unplug and then plug in the Portenta X8 to your computer.
92+
***After booting you will need to wait 10 secs until the Portenta X8 blue LED starts blinking. This means the boot was successful.***
10393

104-
***After booting you will need to wait 10 secs, until the Portenta X8 blue LED starts blinking, this means the boot was successful***
94+
Now you can start using your Portenta X8 with the latest updates.
10595

10696
## Troubleshooting
10797

108-
- If you get an error while its flashing, make sure your USB is correctly plugged in. Re-plug your board and try to flash again, you may need few tries before the flashing is successful.
98+
- If you get an error while it is flashing, make sure your USB is correctly plugged in. Re-plug your board and try to flash it again. You may need few trials before the flashing is successful.
99+
- If you get an error related to permissions, try to launch the `uuu` command as Super User (`sudo`).

0 commit comments

Comments
 (0)