-
-
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 1 commit
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
89 changes: 89 additions & 0 deletions
89
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,89 @@ | ||
--- | ||
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 | ||
author: 'Pablo Marquínez' | ||
hardware: | ||
- hardware/04.pro/boards/portenta-x8 | ||
software: | ||
- Terminal | ||
--- | ||
|
||
## Overview | ||
|
||
In this tutorial you will see how to manually flash your Portenta X8 with the image that is provided by foundries through USB using the Terminal. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Goals | ||
|
||
- Get the needed files | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- 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 account (linked with the Pro plan) | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Foundries factory (Check the Getting Started tutorial) | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- 1 Device already attatched to your factory (Check the Getting Started tutorial) | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Instructions | ||
|
||
### Get the needed files | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Needed files following this structure: | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- 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) | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
To get those files open your Foundries factory. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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 up the Portenta X8 into flashing mode | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Plug you Porenta X8 in your carrier (Portenta Breakout carrier <!-- or Portenta Max Carrier-->). | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Switch both DIP switches into the ON position. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Plug the USB-C on the Portenta X8 and the other end (USB-C or USB-A) to your computer. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
You will see a new device connected called `SE Blank M845S`. | ||
|
||
### Flash the device | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Open a terminal and change the directory (`cd`) to your root folder as shown on the beginning. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Introduce ´uuu full_image.uuu´ | ||
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 plug again the Portenta X8 to your computer. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
***After flashing you will need to wait 10 secs, until the Portenta X8 blue LED start blinking, that means the boot was successful*** | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Troubleshooting | ||
|
||
- If you get an error while its flashing, make sure your USB is correctly plugged. Re-plug your board and try to flash again, you may need few tries before it gets a success flashing. | ||
marqdevx marked this conversation as resolved.
Show resolved
Hide resolved
|
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.