-
-
Notifications
You must be signed in to change notification settings - Fork 442
Portenta X8: Flashing tutorial[PC-892] #167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fe45abb
Add Tutorial
marqdevx dc7f740
Apply suggestions from code review
marqdevx c30cbe8
Fix typo
marqdevx dbccb3b
Fix meta data and case title
marqdevx 96ad3af
Fix case title
marqdevx 9f4db64
Try to fix the nested meta data
marqdevx 2cc2cfe
Change Foundries.io in tags
marqdevx 14eca6f
Update content/hardware/04.pro/boards/portenta-x8/tutorials/image-fla…
marqdevx 33d25ce
Add screenshots
marqdevx 25d528c
Change required files folder structure format
marqdevx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
content/hardware/04.pro/boards/portenta-x8/tutorials/image-flashing/content.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
beta: true | ||
title: 'How To Flash Your Portenta X8' | ||
description: 'This tutorial teaches you how to flash your Portenta X8 through USB' | ||
difficulty: intermediate | ||
tags: | ||
- Embedded Linux | ||
- Flashing | ||
- Foundries.io | ||
author: 'Pablo Marquínez' | ||
hardware: | ||
- hardware/04.pro/boards/portenta-x8 | ||
--- | ||
|
||
## Overview | ||
|
||
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. | ||
|
||
## Goals | ||
|
||
- Get the required files | ||
- Set up the correct structure of the files | ||
- Set up the board | ||
- Flash the device | ||
|
||
### Required Hardware and Software | ||
|
||
- USB-C to USB-A or USB-C to USB-C | ||
- Portenta X8 | ||
- Portenta Breakout Board <!-- or Portenta Max Carrier--> | ||
- Arduino Create account | ||
- Arduino Create Pro subscription | ||
- Foundries.io account (linked with the Pro plan) | ||
- FoundriesFactory® ([Check the Getting Started tutorial](https://docs.arduino.cc/tutorials/portenta-x8/out-of-the-box)) | ||
- 1 Device already attached to your factory ([Check the Getting Started tutorial](https://docs.arduino.cc/tutorials/portenta-x8/out-of-the-box)) | ||
|
||
## Instructions | ||
|
||
### Get the Required Files | ||
|
||
Required files following this structure: | ||
|
||
- Root folder | ||
- imx-boot | ||
- imx-boot-portenta-x8 | ||
- sit-portenta-x8.bin | ||
- u-boot-portenta-x8.itb | ||
- mfgtool-files-portenta-x8.tar (Unzipped) | ||
- lmp-partner-arduino-image-portenta-x8.wic.gz (Unzipped) | ||
|
||
To get those files open your FoundriesFactory®. | ||
|
||
Switch to the targets tab. | ||
|
||
Click on the platform-master version. | ||
|
||
On the "Runs" section open those collapsed labels, and download the files listed above. | ||
|
||
After downloading them, make sure you put them in a folder following the structure shown. | ||
|
||
### Set the Portenta X8 to Flashing Mode | ||
|
||
Plug your Porenta X8 into your carrier (Portenta Breakout carrier <!-- or Portenta Max Carrier-->). | ||
|
||
Switch both DIP switches to the ON position. | ||
|
||
Plug the USB-C end into the Portenta X8 and the other end (USB-C or USB-A) to your computer. | ||
|
||
You will see a new device connected called `SE Blank M845S`. | ||
|
||
### Flash the Device | ||
|
||
Open a terminal and change the directory (`cd`) to your root folder as shown in the beginning. | ||
|
||
Use the ´uuu full_image.uuu´ command. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Wait until it gets flashed. | ||
|
||
Switch back the DIP switches to OFF position. | ||
|
||
Unplug and then plug in the Portenta X8 to your computer. | ||
|
||
***After flashing you will need to wait 10 secs, until the Portenta X8 blue LED starts blinking, this means the boot was successful*** | ||
|
||
## Troubleshooting | ||
|
||
- 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. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.