Intel® Edison Boards |
Flashing Intel® Edison (wired) - Mac* |
http://www.intel.com/support/edison/sb/CS-035262.htm
Prerequisite
Attach the Edison chip to the Arduino expansion board, see Step 1 of Getting Started.
Select your operating system (OS)
Follow the specified steps for your OS:
Mac
Step 1 – Connecting Edison
Step 2 – Remove old images
Step 3 – Download the latest image
Step 4 – Flashing Edison
Step 1 – Connecting Edison
-
Connect two micro USB cables into the Arduino board, and the other ends into your computer. Make sure the micro switch in between the USB ports on the Arduino board is switched towards the micro USB ports.
-
You should see a drive called Edison show up in Finder.
Step 2 – Remove old images
-
Open up a new Terminal window.
-
Type cd /Volumes/Edison and press Enter
-
Remove all visible files and folder, type rm –rf * and press Enter.
-
To remove all hidden files and folders, type rm –rf \.* and press Enter.
-
All files should now be removed. To confirm, type ls to view files on the drive.
-
Press Enter. The next line after you press Enter should be blank.
Step 3 – Download the latest image
-
Right-click the Edison partition and check if it is formatted as FAT16. (Macs do not flash FAT16 partitions properly.) If the partition is not FAT16, skip the next step; otherwise continue.
-
Open Disk Utility, click CD Gadget Media drive, and repartition it as one MS-DOS (FAT) partition. This changes the partition to FAT32 format.
-
Download the latest image .zip file - choose from the Edison Yocto complete image.
-
Unzip the contents and move these files into the Edison drive that is shown in step 1.2.
-
Your Edison drive should now look like this.
Step 4 – Flashing Edison
-
Open up a new Terminal window.
-
Type screen /dev/cu.usbserial and press Tab on your keyboard.
-
Type 115200 -L.
-
Press Enter.
-
A black screen displays, press Enter twice.
-
Type root and press Enter.
-
If you already configured your Edison then you might be prompted for a password, type the appropriate credentials and press Enter.
-
Type reboot ota and press Enter (Warning: this erases everything on your Edison including configuration settings).
-
Your Edison reboots and begins the flashing process with the latest image.
-
When Edison is done flashing, you should see this screen.
Because you have just flashed the image on Edison, any previous configuration settings (name, password, WiFi networks) need to be configured again.
Alternate Flashing Method
-
Install Homebrew by running the command:
type/run: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install dfu-util, coreutils, and gnu-getopt
type/run: brew install dfu-util coreutils gnu-getopt
-
Download and extract Edison Image (Step 1 and 2 need to be done only once on the MAC OS X host).
- Extract the contents of the pre-built Edison image.
- In your terminal change to the directory where you extracted the linux image. Example: your directory may be different.
type/run: cd ~/Downloads/edison-image-ww36-14
-
Run the flashall script and then plug usb cable into board.
type/run: ./flashall.sh
-
Note: The script can take up to 5 minutes to complete the flashing.
You should now have the latest image on your Intel® Edison development board.
Operating System:
Mac OSX* |
This applies to:
|