- Sat May 23, 2015 11:59 pm
#182184
Hi everyone! I'm still new to the embedded world. I bought an intel edison and sparkfun's intel edison blocks.
So far the following list is what I have accomplished.
1. Install drivers for windows
2. Install putty
3. Flash updated image to intel edison
4. Connect to my wifi router.
Block arrangement on top of each other.
1. Intel Edison (Top)
2. Base block
2. Uart block
3. Arduino block
But I got stock on making an LED blink, I did follow from this https://software.intel.com/en-us/instal ... ison-board, I have the arduino IDE for intel edison on my computer installed and making sure the port I'm using is the Intel edison virtual com port. When uploading the blink program I the following error..
Thank you very much in advance,
tacbanon
So far the following list is what I have accomplished.
1. Install drivers for windows
2. Install putty
3. Flash updated image to intel edison
4. Connect to my wifi router.
Block arrangement on top of each other.
1. Intel Edison (Top)
2. Base block
2. Uart block
3. Arduino block
But I got stock on making an LED blink, I did follow from this https://software.intel.com/en-us/instal ... ison-board, I have the arduino IDE for intel edison on my computer installed and making sure the port I'm using is the Intel edison virtual com port. When uploading the blink program I the following error..
Code: Select all
Hope anyone can help me out.#!/bin/sh
starting download script
# clupload script to invoke lsz
# Copyright (C) 2014 Intel Corporation
Args to shell: C:\Intel\arduino-1.6.0+Intel\hardware\tools\x86\bin C:\Users\Microbox\AppData\Local\Temp\build6937678149433339674.tmp/sketch_may24a.cpp.elf COM235
#
COM PORT 235
# This library is free software; you can redistribute it and/or
Converted COM Port COM235 to tty port /dev/ttyS234
# modify it under the terms of the GNU Lesser General Public
Sending Command String to move to download if not already in download mode
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
Deleting existing sketch on target
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
echo "starting download script"
echo "Args to shell:" $*
# ARG 1: Path to lsz executable.
# ARG 2: Elf File to download
# ARG 3: COM port to use.
#path contains \ need to change all to /
path_to_exe=$1
fixed_path=${path_to_exe//\\/\/}
#COM ports are not always setup to be addressed via COM for redirect.
#/dev/ttySx are present. Howwever, COMy -> /dev/ttySx where x = y - 1
com_port_arg=$3
com_port_id=${com_port_arg/COM/}
echo "COM PORT" $com_port_id
tty_port_id=/dev/ttyS$((com_port_id-1))
echo "Converted COM Port" $com_port_arg "to tty port" $tty_port_id
echo "Sending Command String to move to download if not already in download mode"
echo "~sketch downloadEdison" > $tty_port_id
C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 42: /dev/ttyS234: Read-only file system
#Move the existing sketch on target.
echo "Deleting existing sketch on target"
"$fixed_path/lsz.exe" --escape -c "mv -f /sketch/sketch.elf /sketch/sketch.elf.old" <> $tty_port_id 1>&0
C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 46: /dev/ttyS234: Read-only file system
# Execute the target download command
#Download the file.
host_file_name=$2
"$fixed_path/lsz.exe" --escape --binary --overwrite $host_file_name <> $tty_port_id 1>&0
C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 51: /dev/ttyS234: Read-only file system
#mv the downloaded file to /sketch/sketch.elf
Moving downloaded file to /sketch/sketch.elf on target
target_download_name="${host_file_name##*/}"
echo "Moving downloaded file to /sketch/sketch.elf on target"
"$fixed_path/lsz.exe" --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
C:\Intel\arduino-1.6.0+Intel/hardware/intel/i686/tools/izmir/clupload_win.sh: line 56: /dev/ttyS234: Read-only file system
Thank you very much in advance,
tacbanon