65
How to use USB downloader
8. How to write program on control PCB’s only by making use of scripts.
8-1. Turn power to the self machine off.
8-2. Copy the hex files of the control PCB program on the USB memory root folder together with
the downld.sh file.
F:
W USB STORAGE
Address
USB STORAGE(F)
Go
File Edit View Tool Help
Name Date
downld.sh 2012-12-03...
ISIV273_Control_2012.08.28_V1.2.hex 2012-11-20...
×
▼
8-3 .Opening the downld.sh file in the notepad shows as follows.
Change the hex file name in blue characters to a hex file name to write.
(Do not use special characters such as parenthesis, comma, and exclamation mark for file name.)
8-4. The procedures hereafter are identical with those in item 4-2 and thereafter of Item 4.
#!/bin/sh
down_file=/mte/downld.ex
hex3_file=/mnt/
ISIV273_Control_2012.08.28_V1.2.hex
hex4_file=/mnt/
ISIV273_Control_2012.08.28_V1.2.hex
chmod a+x $down_file
if [ -f $hex3_file ]; then
echo "Now, download 3..."
$down_file 3 $hex3_file
fi
if [ -f $hex4_file ]; then
echo "Now, download 4..."
$down_file 4 $hex4_file
fi
●
The red LED lights, the green LED is extinguished, and the yellow LED is
extinguished if error takes place during writing the programs.
For your
information
Содержание ISI-271SHS
Страница 75: ...75 Wire diagram...
Страница 82: ...MEMO 82...
Страница 83: ...MEMO 83...
Страница 84: ...MEMO 84...
Страница 85: ...3240229 06 Online Internet Service http www icetro com...