FriendlyArm Mini2440

FriendlyArm Mini2440

   FriendlyArm Mini2440    

FriendlyArm ( www.friendlyarm.net ) embedded computers with Linux is low costs solution for automation projects  . A few useful applications for telemetry systems for FriendlyArm Mini2440.

 

   Picocom                                                                                 

http://code.google.com/p/picocom/  "As its name suggests, picocom is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom, only it's pico instead of mini! Picocom was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech "terminal-window" to allow operator intervention in PPP connection scripts (something like the ms-windows "open terminal window before / after dialing" feature). It could also prove useful in many other similar tasks. Picocom is ideal for embedded systems since its memory footprint is minimal (less than 20K, when stripped). Apart from being a handy little tool, picocom source distribution includes a simple, easy to use, and thoroughly documented terminal-management library, which could serve other projects as well. This library hides the termios(3) calls, and provides a less complex and safer (though certainly less feature-rich) interface. Picocom runs on Linux, and with minor modifications it could run on any Unix system with the termios(3) library. "

Download bin file of picocom for FriendlyArm Mini2440.  Picocom

 

  Email send application for FriendlyArm Mini2440        

http://www.muquit.com/muquit/software/mailsend/mailsend.html#introduction Mailsend is a simple program to send mail via SMTP protocol.

Download bin file of mailsend for FriendlyArm Mini2440. Mailsend

 

 

  Sqlite database                                                                      

http://www.sqlite.org/ "SQLite is a in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private.
SQLite is currently found in more applications than we can count, including several high-profile projects.
SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process.
SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
The database file format is cross-platform - you can freely copy a database between 32-bit and 64-bit systems or between big-endian and little-endian architectures. These features make SQLite a popular choice as an Application File Format.
Think of SQLite not as a replacement for Oracle but as a replacement for fopen()"
 
Download bin file of SQLITE3 for FriendlyArm Mini2440. SQLITE3
 
   How to install sqlite3 to FriendlyArm:     
 
Copy the files from zip to /usr/bin, usr/lib
You must make links for the lib files - execute the commands
ln -s /usr/lib/libsqlite3.so.0.8.6 /lib/libsqlite3.so.0
ln -s /usr/lib/libsqlite3.so.0.8.6 /lib/libsqlite3.so
 
If you want to use the sqlite database for FriendlyArm c\c++ applications add the headers from /inclued to your projects.
In makefile file add option -lsqlite3.

  Modbus TCP/IP server                                                                   

Modbus TCP/IP server for FriendlyArm Mini2440.

The server has :

256 Coils - 00001 - 00256

256 Inputs - 10001 - 10256

256 Input Registers - 30001 - 300256

256 Holding Registers - 40001 - 40256

The server supports modbus functions :

01 Read Coil Status
02 Read Input Status
03 Read Holding Registers
04 Read Input Registers
05 Force Single Coil
06 Preset Single Register

15 (0F Hex) Force Multiple Coils
16 (10 Hex) Preset Multiple Regs

The server listen at default Modbus port 502.

Download Modbus TCP/IP server for FriendlyArm Mini2440. TCPServer