In this tutorial, you will learn how to manually flash your Portenta X8 with the image provided by Arduino. You will flash your board through USB using the Terminal. The instructions below are meant to be used with a Windows Operating System.
Go to Arduino Download repository and a compressed
with latest version of all the required OS image files will be there to download.
Please extract the files after you have downloaded the compressed file. The extracted contents have the following structure.
1Unzipped folder2├── imx-boot-portenta-x83├── lmp-partner-arduino-image-portenta-x8.wic.gz **(Compressed)**4├── mfgtool-files-portenta-x8.tar.gz **(Compressed)**5├── sit-portenta-x8.bin6└── u-boot-portenta-x8.itb
After verifying these files are available, you will need to decompress
. Please make sure the
is in the unzipped folder in the main directory. The folder structure should share a similar following layout.
1Unzipped folder2├── mfgtool-files-portenta-x8/3├── imx-boot-portenta-x84├── lmp-partner-arduino-image-portenta-x8.wic5├── lmp-partner-arduino-image-portenta-x8.wic.gz **(Compressed)**6├── mfgtool-files-portenta-x8.tar.gz **(Compressed)**7├── sit-portenta-x8.bin8└── u-boot-portenta-x8.itb
Connect your Portenta X8 into your carrier of choice, either Portenta Breakout or Portenta Max Carrier, via High-Density connectors. After connecting the Portenta X8, you will need to set the
DIP switches to the ON position. The
switch configuration is important as it will put the board into Flashing mode.
On the Portenta Max Carrier, the DIP switches are identified by the label
as shown in the figure:
On the Portenta Breakout, the DIP switches are identified by the label
as shown in the figure:
You will need to connect one USB-C® end to the Portenta X8 and the other end (USB-C® or USB-A) to your computer. If the connection is established correctly, you will be able to see a newly connected device called
SE Blank M845S
To flash the Portenta X8, you need to begin by opening a terminal. Within the terminal, you need to change the directory to where
file is located using the
command. Once it is inside the directory where the previous file is included, the following command is used:
When the flashing operation is finished, you should see a similar result as the following figure:
Once you have verified it has successfully flashed the Portenta X8, the
DIP switches that have been configured to the ON position, now need to be set to the OFF position. Otherwise, you will always have the Portenta X8 in Flashing mode whenever it is attached to a carrier. Recycle the power for Portenta X8 by reconnecting the board to your computer and start using with the latest updates.
After booting, you will need to wait 10 seconds until the Portenta X8 starts blinking Blue LED. The Blue LED indicates it was able to boot successfully.
In this tutorial, you have learned to flash the Portenta X8 by getting the latest image, setting up the adequate file structure and the board, and finally flashing the board with these files.
command as Super User (