projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
159fda3
)
update turnon script to prefer TeleDongle as programmer
author
Bdale Garbee
<bdale@gag.com>
Wed, 19 Jan 2011 19:42:40 +0000
(12:42 -0700)
committer
Bdale Garbee
<bdale@gag.com>
Wed, 19 Jan 2011 19:42:40 +0000
(12:42 -0700)
ao-bringup/turnon_telemetrum
patch
|
blob
|
history
diff --git
a/ao-bringup/turnon_telemetrum
b/ao-bringup/turnon_telemetrum
index 405247fafd027a3c2cda765965b8faf201f05545..e2fd7116e5e82a132ddd552172834b00fe012766 100755
(executable)
--- a/
ao-bringup/turnon_telemetrum
+++ b/
ao-bringup/turnon_telemetrum
@@
-18,11
+18,11
@@
else
exit 1
fi
exit 1
fi
-echo "TeleMetrum v1.
0
Turn-On and Calibration Program"
+echo "TeleMetrum v1.
1
Turn-On and Calibration Program"
echo "Copyright 2010 by Bdale Garbee. Released under GPL v2"
echo
echo "Expectations:"
echo "Copyright 2010 by Bdale Garbee. Released under GPL v2"
echo
echo "Expectations:"
-echo "\tTeleMetrum v1.
0
powered from USB"
+echo "\tTeleMetrum v1.
1
powered from USB"
echo "\t\twith TeleDongle (on /dev/ttyACM0) cabled to debug header"
echo "\t\twith coax from UHF to frequency counter"
echo
echo "\t\twith TeleDongle (on /dev/ttyACM0) cabled to debug header"
echo "\t\twith coax from UHF to frequency counter"
echo
@@
-31,18
+31,19
@@
read SERIAL
echo $RAWLOAD
echo $RAWLOAD
-$RAWLOAD -r ao_led_blink.ihx
+$RAWLOAD -
-device TeleDongle -
r ao_led_blink.ihx
echo "the red LED should be blinking"
sleep 5
echo "the red LED should be blinking"
sleep 5
-$RAWLOAD -r ao_radio_xmit.ihx
+$RAWLOAD -
-device TeleDongle -
r ao_radio_xmit.ihx
echo -n "Generating RF carrier. Please enter measured frequency: "
read FREQ
CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`
echo "Programming flash with cal value " $CAL_VALUE
echo -n "Generating RF carrier. Please enter measured frequency: "
read FREQ
CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`
echo "Programming flash with cal value " $CAL_VALUE
-$AOLOAD --cal $CAL_VALUE /usr/share/altos/stable/telemetrum-v1.0*.ihx $SERIAL
+$AOLOAD --device TeleDongle --cal $CAL_VALUE \
+ /usr/share/altos/stable/telemetrum-v1.1*.ihx $SERIAL
echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE
echo "Unplug and replug USB, cu to the board, confirm freq and record power"
echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE
echo "Unplug and replug USB, cu to the board, confirm freq and record power"