/*-----------------------------------------------------------------------------
| Copyright (c) 2010 - 2013, Karl Palsson. All Rights Reserved.
|
| Author: Karl Palsson <palsson.karl@gmail.com>
|
| Thousands of software engineering hours have been put into creating BSAC
| Those who make use of the code are kindly asked to notify the author of it's
| use. All bug reports and suggestions for future development are welcomed.
-----------------------------------------------------------------------------*/
/*------------------------------SOFTWARE LICENSE-------------------------------
| This file is part of the program BSAC - Brewing System Automation Controller
|
| BSAC is licensed with a Dual-License, GPL and Proprietary
|
| For those who wish to use BSAC partly or wholly for commercial purposes, this
| includes any kind of equipment to be producesd or used in production or in
| any kind of equipment to be sold, this program is proprietary and a license
| is available against a moderate fee. In this case contact the copyright
| holder at palsson.karl@gmail.com.
| More information can be found in section PROPRIETARY LICENSE below.
|
| For the hobbyist this program is licensed under GPL, in which case the
| following applies:
| BSAC is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
|
| BSAC is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
|
| A copy of the GNU General Public License is found below in section
| GPL LICENSE. Also, see <http://www.gnu.org/licenses/>
|
| Further license information may be found in the file LICENSE.txt
|
| If in doubt, please contact the copyright holder at palsson.karl@gmail.com
-----------------------------------------------------------------------------*/
********************************* README *************************************
ENVIRONMENT:
This project is intended to run on a embedded HW target and to be easily ported
to another target later on if needed. Therefore as few libraries are included
as possible.
Kate was used to write the code and the code was compiled from within Kate as
well.
BUILIDING SW:
The project must compile and run on both the final target HW and on the
development PC. A single switch in the Makefile controls if the project is
compiled for target or for development PC.
LOGIN:
It is possible to login to the Viper board as
Username: root
Password: arcom
and
Username: arcom
Password: arcom
INITIAL HW:
Viper CPU board (PC-104 format) with an additional plug-on optocoupler board
AIM104-OUT16. Both are mounted inside a 4" CanTainer from Tri-M.
INITIAL SW:
1) Connect a Null Modem cable between PC and ttyS0 on the ReceiverController
2) Start minicom or HyperTerm and set it to 115200 baud and no flow control
3) Login as root
4) Modify the file /etc/network as shown in ../interfaces
5) Edit /etc/network/interfaces to contain the correct IP address, network mask
and gateway address as shown in the interfaces file here
6) Reboot and verify using ping or ssh that the BSAC is available
on the network
7) Copy the startup script (BSACInit) to the /etc/init.d
(see pg. 17 in embedded manual)
8) Copy the application bsac to /root
11) Enter "ln -s /etc/init.d/BSAC /etc/rc3.d/S99BSACInit"
12) Reboot and the BSAC application starts automatically in background