diff options
author | Sylvain Miermont <smiermont@semtech.com> | 2013-09-02 16:13:41 +0200 |
---|---|---|
committer | Sylvain Miermont <smiermont@semtech.com> | 2013-10-23 11:36:29 +0200 |
commit | 33ade9eb698f594e95076a5e4056a70163f14278 (patch) | |
tree | a8fb4a31cf79f49ba8c3e517b0c8956eea3966c6 /loragw_hal/INSTALL_FTDI.TXT | |
parent | ddac0aa483dd5f7bca31b0c042949eca370a8fdc (diff) | |
download | lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.tar.gz lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.tar.bz2 lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.zip |
Beta 4v1.b4
- now supports 'native' Linux /dev/spi* interface and SPI-over-USB using FTDI bridge through libmpsse
- Flexible build system, with library.cfg file to set Makefile options
- removed 500 kHz bandwidth limitation on radios, pushed it to the nominal 800kHz usable bandwidth
- RSSI calibrated fo Lora multi-datarate channels
Diffstat (limited to 'loragw_hal/INSTALL_FTDI.TXT')
-rw-r--r-- | loragw_hal/INSTALL_FTDI.TXT | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/loragw_hal/INSTALL_FTDI.TXT b/loragw_hal/INSTALL_FTDI.TXT new file mode 100644 index 0000000..d26ad4b --- /dev/null +++ b/loragw_hal/INSTALL_FTDI.TXT @@ -0,0 +1,46 @@ +# / _____) _ | | +# ( (____ _____ ____ _| |_ _____ ____| |__ +# \____ \| ___ | (_ _) ___ |/ ___) _ \ +# _____) ) ____| | | || |_| ____( (___| | | | +# (______/|_____)_|_|_| \__)_____)\____)_| |_| +# ©2013 Semtech-Cycleo +# +# Description: +# Installation procedure for FTDI SPI-over-USB dependencies + +# [STEP 1] Install libftdi +sudo apt-get install libftdi-dev + +# this should install : +# - libftdi-dev 0.19-4 (armhf) +# - libftdil 0.19-4 (armhf) +# - libusb-dev 2:0.1.12-20 (armhf) + +# [STEP 2] Download and unpack the libMPSSE 1.3 +# File must match SHA1 Checksum: 1b994a23b118f83144261e3e786c43df74a81cd5 +wget http://libmpsse.googlecode.com/files/libmpsse-1.3.tar.gz +sha1sum libmpsse-1.3.tar.gz +tar -xzvf libmpsse-1.3.tar.gz + +# Go to the src directory and install the library +./configure --disable-python +make +sudo make install +# Static and dynamic libraries compiled code is put into /usr/local/lib +# Header file is put into /usr/local/include + +# On the Pcduino, you must regenerate the library cache (might some time). +sudo ldconfig + +# [STEP 3] to allow non-root applications to access the FTDI device on USB +# copy the provided 99-libftdi.rules file in /etc/udev/rules.d +# For the nano board, only the FT2232H line is required. +# Non-root users members of plugdev group will be able to access the device. + +# [STEP 4] Unpack the Lora Gateway HAL and go to its directory. +# Configure build options in library.cfg, then build the library and examples. +make all + +# [STEP 5] Connect a nanoconcentrator and run test_loragw_reg to test that +# you have access to Lora registers. +# Less than 50 registers of the ~300 registers should return a mismatch. |