Flashing Intel® Edison (wired) - Mac*

10 篇文章 0 订阅
5 篇文章 0 订阅
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

  1. 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.

  2. You should see a drive called Edison show up in Finder.

back to top back to top


Step 2 – Remove old images

  1. Open up a new Terminal window.

  2. Type cd /Volumes/Edison and press Enter

  3. Remove all visible files and folder, type rm –rf * and press Enter.

  4. To remove all hidden files and folders, type rm –rf \.* and press Enter.

  5. All files should now be removed. To confirm, type ls to view files on the drive.

  6. Press Enter. The next line after you press Enter should be blank.

back to top back to top


Step 3 – Download the latest image

  1. 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.

  2. Open Disk Utility, click CD Gadget Media drive, and repartition it as one MS-DOS (FAT) partition. This changes the partition to FAT32 format.

  3. Download the latest image .zip file - choose from the Edison Yocto complete image.

  4. Unzip the contents and move these files into the Edison drive that is shown in step 1.2.

  5. Your Edison drive should now look like this.

back to top back to top


Step 4 – Flashing Edison

  1. Open up a new Terminal window.

  2. Type screen /dev/cu.usbserial and press Tab on your keyboard.

  3. Type 115200 -L.

  4. Press Enter.

  5. A black screen displays, press Enter twice.

  6. Type root and press Enter.

  7. If you already configured your Edison then you might be prompted for a password, type the appropriate credentials and press Enter.

  8. Type reboot ota and press Enter (Warning: this erases everything on your Edison including configuration settings).

  9. Your Edison reboots and begins the flashing process with the latest image.

  10. 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

  1. Install Homebrew by running the command:

    type/run: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Install dfu-util, coreutils, and gnu-getopt

    type/run: brew install dfu-util coreutils gnu-getopt
  3. Download and extract Edison Image (Step 1 and 2 need to be done only once on the MAC OS X host).

    1. Extract the contents of the pre-built Edison image.
    2. 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
  4. Run the flashall script and then plug usb cable into board.

    type/run: ./flashall.sh
  5. 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:

Intel® Edison Board for Arduino* Intel® Edison Breakout Board



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值