![Smart Fibres SmartScan SBI Скачать руководство пользователя страница 8](http://html1.mh-extra.com/html/smart-fibres/smartscan-sbi/smartscan-sbi_product-manual_1295868008.webp)
Page 8
Hardware Configuration
Jumpers
The SBI is delivered with jumpers on J13 and J16 which should not be removed.
DIP switch
The SBI has a 4-way DIP switch which controls the interrupt request line and board ID. SW1 and SW2
should be set to IRQ5. SW3 and SW4 should be set to 0 for a single board system. For a multi LASER system
the SBI with the lowest frequency LASER (the L band LASER) should be set to board ID 0. All other boards
should be set to another unique ID number.
Function
SW1
SW2
Description
IRQ5
OFF
ON
SBI sends interrupts on PC104 bus IRQ5
IRQ6
ON
OFF
SBI sends interrupts on PC104 bus IRQ6
Function
SW3
SW4
ID0
OFF
OFF
ID1
OFF
ON
ID2
ON
OFF
ID3
ON
ON
Developer Files
For the Processing Module the developer can download the following development files from
add CpanelURL
:
•
libssi.a
–
static link library
•
libssi.so
–
dynamic link library
•
libssi.h
–
development header
•
libssi.pdf
–
library documentation
•
minimal-dev-snapshot-20131024-x86_64-linux-armv4t-linux-gnueabi-toolchain-smartscan.tar.bz2
–
cross-compiler tool-chain for x86-64 PC running 64bit linux OS.
Processing Module
The TS7200 SBC comes pre-loaded with a Linux 2.6.36 kernel and root file-system. It is also preloaded with
the libssi dynamic link library and a kernel driver module for the SBI which is automatically loaded on boot
up.
Log in to the SBC using either a serial console (with 115200,8,N,1 port settings) or using SSH. In both cases
the user name is root with no password. The SBC is configured with an IP address of 10.0.0.150.
The example program from the library documentation is pre-loaded on the SBC's FLASH file-system at
/home/root/sbi. The example program continuously prints the wavelengths of the first 4 gratings of all
channels to the console at 25Hz.
The standard Smart Fibres application is loaded at /usr/bin/smartscansbid. The application is started
automatically by means of an init script at /etc/init.d/smartscansbi.sh. In order to run the example
application or a custom developed application the user must first prevent the standard application from
starting by removing it from the default run-level using the update-rc.d system tool. Alternatively, the init
script looks for a file named /home/root/sbi/inhibit and only starts the smartscansbid application if the file
does not exist. Create the file to temporarily disable application start up.