Table of Contents Introduction ........................ 1 Packing List ......................... 1 Optional Accessory ......................1 Layout ......................... 2 Pin Assignment and Definition .................. 3 Reset Button ........................3 Power LED .......................... 3 Ready LED .......................... 3 Link / Act LED ........................3 Serial / CAN Port LED ......................
Page 4
3.31 CANOpen .......................... 13 3.32 Install GNU Toolchain ....................... 13 3.33 Getting Started with the Hello Program ................14 3.34 Auto Start Program on Boot ....................14 Artila Utility Software ....................15 update ..........................15 setuart ..........................15 setconsole ......................... 15 version ..........................
Matrix-522 User Guide 1. Introduction Matrix-522 is an ARM9-based Linux ready industrial computer. The key features are as follow: ARM926EJ-S ARM Thumb Processor 400MHz w/MMU 32-KByte Data Cache and 32-KByte Instruction Cache 64MB SDRAM, 256MB NAND Flash on board ...
The Power LED will show solid green if power is properly applied. 3.3 Ready LED The Ready LED will show solid green if Matrix-522 complete system boot up. If Ready LED is off during system boot up, please check if power input is correct. Turn off the power and restart Matrix-522 again.
Serial Console RS-232 To use the serial console port, you need to open the metal case of Matrix-522 and the CON1 connector is near the reset button and LEDs. User can also redirect the serial console port to any one of the serial port by command /setconsole.
Inittab contains information of system initialization. The system initialization script /etc/rcS.d runs first then the run level 5 /etc/rc5.d. Matrix-522 uses run level for system setup and the default run level is number 5. Please refer to introduction to linux (http://tille.garrels.be/training/tldp/) for information about run level.
IP 192.168.2.127. Matrix-522 also supports Wireless LAN. Use wireless_essid XXX wireless_key YYY To add SSID and WEP key if necessary. XXX is SSID and YYY is WEP Key. Matrix-522 supports popular USB WLAN adaptor. Please contact Artila for the most update driver support. ‧7‧...
Matrix-522 User Guide 3.18 File System The 256MB NAND Flash memory of Matrix-522 contains Boot loader (uBoot), Linux Kernel, Root File System and user disk (\home). The file system and disk space are shown as follow: 3.19 Devices List The supported devices are shown at /dev directory. Following list are most popular ones: 1.
Matrix-522 User Guide Please refer to Appendix for the utility collection list. 3.21 Mounting External Storage Memory To find out the device name of the external memory device which plug into Matrix-522, you can use the command: dmesg | grep sd dmesg | grep mmc To find out the device type (sda, sdb or mmc).
[time server ip] 3.25 SSH Console Matrix-522 supports SSH. If you use Linux computer, you can use SSH command to login Matrix-522. The configuration of SSH and key are located at /etc/ssh. The key generation program is available at /usr/bin.
It can be used to install, upgrade and remove the software package for Matrix-522. Currently user can use ipkg to install the software package from Artila FTP. You can find the configuration at ipkg.conf.
Matrix-522 User Guide 3.30 Configure CAN To configure CAN device, you can use utility programs: /canconfig /candump /canecho /cansend /cansequnce User can also use ip command to configure CAN e.g. /ip link set can0 down /ip link set can0 type can bitrate 250000 /ip link set can0 up /ip –details link show can0...
Matrix-522 User Guide 3.31 CANOpen The Artila FTP also includes CanFestival 3 open source for CANOpen. Please refer to: \example\CanBus\canfestival and http://www.canfestival.org for Canfestival. 3.32 Install GNU Toolchain Find a PC with Linux OS installed as followed: Fedore 7, ubuntu 7.04, OpenSUSE 10.2, Mandriva 2008, Debian 5.0, Centos (RedHat) 5 and above.
Matrix-522 User Guide 3.33 Getting Started with the Hello Program There are many example programs on Artila FTP. To compile the sample you can use the Make file and type: make To compile and link the library. Once done, use ftp command ftp 192.168.2.127...
Unlike Matrix-510 which shares the serial console port with the serial port 3, Matrix-522 uses dedicated pins for serial console (debug port). setconsole command allows user to redirect the serial console port to any one of the four serial port of Matrix-522. Therefore user can avoid opening the metal case to access the serial console.
Matrix-522 User Guide 4.4 version Find out the version of OS. 4.5 gpioctl The gpio can be configured by gpioctl and the usage is as shown followed. ‧16‧...
If you miss the timing, please power on again the Matrix-522 and do it again. Select U will prompt the run level selection message. Run level 0 is halt, run level 1 is single user (disable login and service).
Use passwd to change the password setting. 6.2 Forgot the IP Address If you forgot the Matrix-522 IP address, you can use the Java Manager available on Artila FTP to search the IP address of Matrix-522. Or use serial console port to find out the IP address by #ifconfig.
Loader: m522/m522.alf Kernel: m522/m522K File system: m522/m522R The files are available on Artila FTP. Please prepare an USB disk and copy the image files to it before choosing this option. 7.2 Make Filesystem This option is used to create customized file system. Before using this function, you need to copy the folder of mkimage522 on Artila FTP to an USB disk.
Use Arrow keys up and down to selection the functions. Use Arrow keys left and right to go to higher or lower levels of menu screen. To force system go into DataFlash booting, repeatedly keying “!” (Shift +1) right after Matrix-522 power on. ‧20‧...
Matrix-522 uses ipkg to manage the software installation, upgrade and removal. Artila will continuously add the kernel module and utility on Artila FTP, user can install these software from Artila FTP. In addition user can also setup your FTP server to update the software you want.
Page 26
$ ipkg install pythonpyserial How to setup ipkg via USB disk You can also copy the Utility and module folder from Artila FTP to a USB disk, then use USB disk to install the software by changing the ipkg.conf src/gz usb_arm ftp://root:root@127.0.0.1/media/sda1/Utility src/gz usb_kernel ftp://root:root@127.0.0.1/media/sda1/modules...
Page 27
Matrix-522 User Guide The webmin for Matrix-522 provides following modules: Webmin: webmin configuration System: system boot, process and log management Server: Apache and SSH server configuration Network: network configuration Hardware: RTC setting Others: File manager, upload and download Remember to use command: depmod –a /lib/modules/2.6.29.4/modules.dep...
Need help?
Do you have a question about the Matrix-522 and is the answer not in the manual?
Questions and answers