summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2014-02-20 13:23:32 -0700
committerBdale Garbee <bdale@gag.com>2014-02-20 13:23:32 -0700
commit403b95ee27782309b564855b85285c9f5f5c7068 (patch)
tree222214af8efd7b4a1002ef3022c115b14e01af51
parent3ef0cc28758c68e6076afa809e157a84ce3661fb (diff)
update turnon scripts to store cal values
-rwxr-xr-xao-bringup/turnon_telebt3
-rwxr-xr-xao-bringup/turnon_teledongle1
2 files changed, 3 insertions, 1 deletions
diff --git a/ao-bringup/turnon_telebt b/ao-bringup/turnon_telebt
index ef20e915..c4902f31 100755
--- a/ao-bringup/turnon_telebt
+++ b/ao-bringup/turnon_telebt
@@ -45,7 +45,8 @@ read FREQ
CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`
echo "Programming flash with cal value " $CAL_VALUE
-$AOLOAD -D $DONGLE --cal $CAL_VALUE /usr/share/altos/stable/telebt-v1.0*.ihx $SERIAL
+$AOLOAD -D $DONGLE --cal $CAL_VALUE /usr/share/altos/telebt-v1.0*.ihx $SERIAL
echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE
+echo $SERIAL","$CAL_VALUE >> cal_values
echo "Unplug debug cable, power cycle, cu to the board, confirm freq and record power"
diff --git a/ao-bringup/turnon_teledongle b/ao-bringup/turnon_teledongle
index a11683db..ddee5ee8 100755
--- a/ao-bringup/turnon_teledongle
+++ b/ao-bringup/turnon_teledongle
@@ -45,4 +45,5 @@ echo "Programming flash with cal value " $CAL_VALUE
$AOLOAD -D 100 --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2*.ihx $SERIAL
echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE
+echo $SERIAL","$CAL_VALUE >> cal_values
echo "Unplug and replug USB, cu to the board, confirm freq and record power"