intel Edisonを購入しました。
はじめに
こんにちは。インフラエンジニアレベル1のf_prgです。 秋月電子で、intel Edison Breakout Board Kitを買いました。 8,980円でした。
intel Edisonを購入しました。
開封ギャラリーです。
Mac用のIDEとSDKを落としてインストールします。
私は、Macをを使ってるので https://communities.intel.com/docs/DOC-23148#jive_content_id_Step_2__Download_Edison_Arduino_IDE からMac版を落とします。
IDEには、Java SE6が必要だったのでダウンロードしてインストールします。 http://support.apple.com/kb/DL1572
IDEを起動します。
検証して、書き込みします。
ファイル —> スケッチの例 —> 01.Basics —> Blink を開きます。 検証して、書き込みします。
Binary sketch size: 76,099 bytes (of a 10,000,000 byte maximum) - 0% used##!/bin/sh##echo "starting download script"echo "Args to shell:" $*starting download script#### ARG 1: Path to lsz executable.Args to shell: /Users/f_prg/Documents/lib_src/edison/Arduino.app/Contents/Resources/Java/hardware/tools/x86/bin /var/folders/bx/b_rvr4s17vd9znzc9tfmg30c0000gn/T/build7253484455567970089.tmp/Blink.cpp.elf COM1Serial Port PORT (note: should be /dev/cu.xxxxxx for OSX)## ARG 2: Elf File to downloadUsing tty Port COM1## ARG 3: TTY port to use.####path may contain \ need to change all to /path_to_exe=$1fixed_path=${path_to_exe//\\/\/}##tty_port_id=$3Sending Command String to move to download if not already in download modeecho "Serial Port PORT" $com_port_id "(note: should be /dev/cu.xxxxxx for OSX)"echo "Using tty Port" $tty_port_id##echo "Sending Command String to move to download if not already in download mode"echo "~sketch download" > $tty_port_id##Give the host time to stop the process and wait for downloadsleep 1##Deleting existing sketch on target##Move the existing sketch on target.echo "Deleting existing sketch on target""$fixed_path/lsz" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" < $tty_port_id > $tty_port_idRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAK
Transfer incomplete##"$fixed_path/lsz.exe" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" < $tty_port_id > $tty_port 1>&0#### Execute the target download command####Download the file.host_file_name=$2"$fixed_path/lsz" --escape --binary --overwrite $host_file_name < $tty_port_id > $tty_port_idRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAK
Transfer incomplete####mv the downloaded file to /sketch/sketch.elftarget_download_name="${host_file_name##*/}"echo "Moving downloaded file to /sketch/sketch.elf on target"Moving downloaded file to /sketch/sketch.elf on target"$fixed_path/lsz" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" < $tty_port_id > $tty_port_idRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAKRetry 0: Got ZNAK
Transfer incomplete####エラーしました。シリアルポートのドライバーがないようです。
シリアルポートでのドライバーをインストールします。
https://communities.intel.com/docs/DOC-23193
まとめ
今回は続きます。
補足、おまけ
とくにありません。


