/Designs/MRAKOMER4/bat/README.txt
0,0 → 1,4
h.sh -- heating activation
logger.sh -- simple logging script
plotMM.plt -- gnuplot data plot script
uf.sh -- firmware upload script
/Designs/MRAKOMER4/bat/uf.sh
1,9 → 1,8
4# $1 = /dev/ttyUSB0 for MM4.0
echo /dev/ttyUSB$1
echo uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu > /dev/ttyUSB$1
echo u
sleep 5
echo uf > /dev/ttyUSB$1
echo uf
sleep 5
ascii-xfr -s -v -c1 ./irmrak4.hex > /dev/ttyUSB$1
echo /dev/ttyUSB$1
echo uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu > /dev/ttyUSB$1
echo u
sleep 5
echo uf > /dev/ttyUSB$1
echo uf
sleep 5
ascii-xfr -s -v -c1 ../SW/HEX/irmrak4.hex > /dev/ttyUSB$1