From a242acbc061d26539faa2c3460b431f5cc96134c Mon Sep 17 00:00:00 2001 From: Johan De Claville Christiansen Date: Thu, 7 Mar 2013 15:52:40 +0100 Subject: [PATCH 1/4] Instructions how to install pyusb1.0 added --- README | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README b/README index 6bf9ecb..9319756 100644 --- a/README +++ b/README @@ -20,6 +20,16 @@ Go to software/bbctl and run: Note that you need gcc to compile the FEC extension module. +Requirements +------------ + +bbctl uses pyusb1.0, which is not yet available in sone linux distributions. + +Follow these easy steps to install from source: + + git clone https://github.com/walac/pyusb.git + cd pyusb + sudo python2 setup.py install How to build and flash the firmware ----------------------------------- From 78f52decf27d5208d327fb7c54a739ee9f3a6a7f Mon Sep 17 00:00:00 2001 From: Johan De Claville Christiansen Date: Thu, 7 Mar 2013 16:01:28 +0100 Subject: [PATCH 2/4] More documentation --- README | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/README b/README index 9319756..29cee4e 100644 --- a/README +++ b/README @@ -16,7 +16,7 @@ How to install bbctl Go to software/bbctl and run: - $ sudo python2 setup.py install + $ sudo python2 setup.py install Note that you need gcc to compile the FEC extension module. @@ -27,9 +27,9 @@ bbctl uses pyusb1.0, which is not yet available in sone linux distributions. Follow these easy steps to install from source: - git clone https://github.com/walac/pyusb.git - cd pyusb - sudo python2 setup.py install + $ git clone https://github.com/walac/pyusb.git + $ cd pyusb + $ sudo python2 setup.py install How to build and flash the firmware ----------------------------------- @@ -40,18 +40,21 @@ and 49-atmel.rules to your udev rules directory (usually /etc/udev/rules.d). Now, compile and flash the software. The bbctl dfu step can be omitted if you're flashing the device for the first time: - $ cd bluebox/software/firmware - $ make clean all - $ bbctl dfu - $ make program + $ cd bluebox/software/firmware + $ make clean all + $ bbctl dfu + $ make program You need dfu-programmer to program the device. Install it from your package manager or from http://dfu-programmer.sourceforge.net/ +You will also need a recent avr-8 compiler. Install it from your package +manager or from http://atmel.com + Finally, test the device by reading back the silicon revision of the ADF7021 RF chip: - $ bbctl version - 0x2104 + $ bbctl version + 0x2104 You can run bbctl help to get a list of available commands. From a9db4030b3a6aeef72fddc0e93ae141fe04a7edb Mon Sep 17 00:00:00 2001 From: Johan De Claville Christiansen Date: Thu, 7 Mar 2013 16:20:03 +0100 Subject: [PATCH 3/4] Rename to md format --- README => README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README => README.md (100%) diff --git a/README b/README.md similarity index 100% rename from README rename to README.md From f8c647b92874894f557288009451ae172c9b79bc Mon Sep 17 00:00:00 2001 From: Johan De Claville Christiansen Date: Thu, 7 Mar 2013 16:23:42 +0100 Subject: [PATCH 4/4] Updated default values to match AAUSAT-3 --- software/firmware/bluebox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/firmware/bluebox.h b/software/firmware/bluebox.h index 7d5360e..1f4283e 100644 --- a/software/firmware/bluebox.h +++ b/software/firmware/bluebox.h @@ -70,8 +70,8 @@ #define TX_TIMEOUT_DELAY 10U #define RX_WAIT_TIMEOUT 120U #define CSMA_RSSI -50 -#define BAUD_RATE 2400 -#define MOD_INDEX 8 +#define BAUD_RATE 4800 +#define MOD_INDEX 4 #define PA_SETTING 8 #define AFC_RANGE 10 #define AFC_KI 11