65
How to use USB downloader
[ How to write programs on main PCB, vent PCB, control PCB and door PCB by making
use of scripts.]
1. Perform the jobs described below with USB downloader connected to main PCB, vent PCB, control
PCB and door PCB.
2. Turn power to the vending machine off.
3. Copy the hex files of the main, the vend, the control and the door PCB programs 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-11-18...
ISIV_Door_2012.11.28_V04.hex 2012-11-28...
ISIV273_Control_2012.08.28_V1.2.hex 2012-11-20...
ISIV273_Main_2012.11.20.hex 2012-11-20...
ISIV273_Vend_2012.11.20.hex 2012-11-20...
×
▼
4 .Opening the downld.sh file in the notepad shows as follows.
Change the hex file name in dark characters to a hex file name to write.
(Do not use special characters such as parenthesis, comma, and exclamation mark for file name.)
5. The procedures hereafter are identical with those in item 1-2 and thereafter of Item 1.
#!/bin/sh
down_file=/mte/downld.ex
hex1_file=/mnt/
ISIV273_Main_2012.11.20_.hex
hex2_file=/mnt/
ISIV273_Vend_2012.11.20_.hex
hex3_file=/mnt/
ISIV273_Control_2012.08.28_V1.2.hex
hex4_file=/mnt/
ISIV273_Control_2012.08.28_V1.2.hex
hex5_file=/mnt/
ISIV_Door_2012.11.28_V04.hex
chmod a+x $down_file
if [ -f $hex1_file ]; then
echo "Now, download 1..."
$down_file 1 $hex1_file
fi
if [ -f $hex2_file ]; then
echo "Now, download 2..."
$down_file 1 $hex2_file
fi
if [ -f
$hex3_file ]; then
echo "Now, download 3..."
$down_file 1 $hex3_file
fi
if [ -f $hex4_file ]; then
echo "Now, download 4..."
$down_file 1 $hex4_file
fi
if [ -f $hex5_file ]; then
echo "Now, download 5..."
$down_file 1 $hex5_file
fi
Summary of Contents for ISIV-273SHC
Page 4: ...4 Contents ...
Page 83: ...83 Method to Use Coin Mechanism ...
Page 84: ...84 Method to Use Coin Mechanism l g g ...
Page 110: ...110 Circuit diagram ...
Page 123: ...123 MEMO ...
Page 124: ...3240253 00 Online Internet Service http www icetro com SOFT ICE CREAM VENDING MACHINE ...