Scilab-EMB

Using Scilab in Embedded ARM-Linux System


Zhe.Peng, Longhua. Ma
State Key Lab of Industrial Control Technology
Zhejiang Unvi. P.R.China
Ver. 1.0, 1 Dec 2007

Please cotact me if any questions: pengzhe1113@gmail.com

You can download the detailed describe of Scilab-EMB Project Scilab-EMB-Mannual.

About Scilab-EMB Project

This project ports Scilab to Embedded ARM-Linux System. Design and realize controllers with Scilab as core. The controllers¡¯ hardware includes ARM9, and LCD Display. The controller¡¯s software includes Linux2.6, GUI (TinyX4.5), Scilab, and Scilab Related Toolbox.
If you want to design a controller, you just need to model and simulate with Scilab on host PC, then download the routines to target ARM. The controller can be used in complex industrial process system due to Scilab¡¯s computation ability.
The main advantage of Scilab-EMB is: You can design and implement a system on PC, then running the system on Embedded System which includes Scilab. This can reduce the development costing time.


Scialb-EMB Project Status

Hardware Environment

CPU: ARM, EP9315 Chip
SDRAM: 64MB
Flash: 32MB
Three Serial Port
10/100 Mbps Ethernet
VGA/LCD interface
Four-wire touch screen interface

Software Environment

OS: Linux
GUI: TinyX
WM: JWM
Others: TCL/TK

1Tips:
Using TinyX GUI due to running Scilab needs X11 GUI supported. Also you can use other GUI which supports X11 libs. Using JWM due to JWM is very very small.TCL/TK is the standard GUI language of Scilab before Version 4.*. But after Scilab Version 5.0, Scilab will use JAVA as its default GUI language.

The Steps Porting Scilab to ARM-Linux
Running Linux + TinyX + JWM + Scilab on ARM

After Linux boot on ARM. Run Scripts as follow:

export DISPLAY=:0
/home/zhepeng/TinyX/bin/Xfbdev &
/home/zhepeng/jwm-install/bin/jwm &
/home/zhepeng/scilab-install/lib/scilab-4.1/bin/scilab

The screenshot of running Linux+TinyX+JWM+Scilab as follow: