From: Bdale Garbee Date: Wed, 19 Jan 2011 19:42:40 +0000 (-0700) Subject: update turnon script to prefer TeleDongle as programmer X-Git-Tag: 0.9~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=9541ccd9ff9e67e0862ca31706358d8308fc85d8;ds=sidebyside update turnon script to prefer TeleDongle as programmer --- diff --git a/ao-bringup/turnon_telemetrum b/ao-bringup/turnon_telemetrum index 405247fa..e2fd7116 100755 --- a/ao-bringup/turnon_telemetrum +++ b/ao-bringup/turnon_telemetrum @@ -18,11 +18,11 @@ else 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 "\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 @@ -31,18 +31,19 @@ read SERIAL 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 -$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 -$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"