From 403b95ee27782309b564855b85285c9f5f5c7068 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 20 Feb 2014 13:23:32 -0700 Subject: [PATCH 1/1] update turnon scripts to store cal values --- ao-bringup/turnon_telebt | 3 ++- ao-bringup/turnon_teledongle | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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" -- 2.30.2