advertisement
4.2.2
User Space via FTP
Sometimes, user wants to execute applications in file system of EKI-1121L/1122L/
1124L. Please use the following commands to get and execute the files.
Figure 4.1 How to Get Applications via FTP
4.2.3
Root File-system
we support jffs2 file system in current version.
4.3
Device APIs
4.3.1
Serial port APIs
Each serial port has an associated device file. To access a serial port, you simply open the corresponding device file.
Peripheral
Serial Port 1
Serial Port 2
Serial Port 3
Serial Port 4
Device File
/dev/ttyAP0
/dev/ttyAP1
/dev/ttyAP2
/dev/ttyAP3
Port configuration is done using the POSIX termios interface. Developing in C, you will first need to include the <termios.h> header file to use the required functions.
Additionally, the serial port line drivers are software configurable for RS-232, RS-422 or RS-485 operation, through the termios interface. You will need to include the adv.h header file or the following defines.
#define IRS4220100000
#define IRS4850200000
39 EKI-1121L/1122L/1124L User Manual
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 8 Overview
- 8 Features
- 8 Specifications
- 9 Packing List
- 12 Understanding the EKI-1121L/1122L/1124L
- 12 Hardware
- 12 LED Indicators
- 12 Table 2.1: EKI-1121L/1122L/1124L LED Indicators
- 13 Dimensions (Units: mm)
- 13 Figure 2.1 Front View of EKI-1121L
- 13 Figure 2.2 Side View of EKI-1121L
- 14 Figure 2.3 Back View of EKI-1121L
- 14 Figure 2.4 Top View of EKI-1121L
- 15 Figure 2.5 Front View of EKI-1122L
- 15 Figure 2.6 Side View of EKI-1122L
- 16 Figure 2.7 Back View of EKI-1122L
- 16 Figure 2.8 Top View of EKI-1122L
- 17 Figure 2.9 Front View of EKI-1124L
- 17 Figure 2.10Side View of EKI-1124L
- 18 Figure 2.11Back View of EKI-1124L
- 18 Figure 2.12Top View of EKI-1224L
- 19 Connecting Hardware
- 19 Choosing the Location
- 19 Figure 2.13Combine the Metal Mounting Kit
- 20 Figure 2.14Din-rail Step
- 21 Figure 2.15Din-rail Step
- 21 Connecting Power
- 21 Figure 2.16Power Connector
- 22 Connecting Serial Device
- 22 Connecting to a Host or the Network
- 24 Connecting the Hardware
- 24 Figure 3.1 The boot up messages
- 25 OS Configuration and Usage
- 25 Configure RTC
- 25 Figure 3.2 Configure RTC
- 26 Configure IP
- 26 Figure 3.3 Configure Ethernet Interface Using Static IP
- 27 Figure 3.4 Configure Ethernet Interface Using DHCP
- 28 TELNET Service and Client
- 28 Figure 3.5 TELNET Service and Client
- 29 FTP Service and Client
- 29 Figure 3.6 FTP Client in Another Computer
- 30 Figure 3.7 FTP Command in Another Computer
- 31 Figure 3.8 FTP Client in EKI
- 32 TFTP Service and Client
- 32 Figure 3.9 TFTP Server in EKI-1121L/1122L/1124L
- 33 Figure 3.10TFTP Client in EKI-1121L/1122L/1124L
- 34 NFS Client
- 34 Figure 3.11NFS Client in EKI-1121L/1122L/1124L
- 35 NTP Client
- 35 Figure 3.12NTP Client in EKI-1121L/1122L/1124L
- 36 SNMP Service
- 36 Figure 3.13SNMP Client in EKI-1121L/1122L/1124L
- 37 Figure 3.14SNMP Message in Manage Computer
- 38 Mail Client
- 38 Figure 3.15MAIL Client in EKI
- 39 3.2.10 Web Server
- 39 3.2.11 PPP Client
- 40 3.2.12 PPPoE client
- 41 Partition of Flash
- 44 Establish Develop Environment
- 44 Install the Cross Compile Tool Chain
- 44 Setup the Runtime Environment
- 44 Put Applications into
- 44 Check the Flash Memory Space
- 45 User Space via FTP
- 45 Figure 4.1 How to Get Applications via FTP
- 45 Root File-system
- 45 Device APIs
- 45 Serial port APIs
- 46 RTC APIs
- 46 LED APIs
- 50 Troubleshooting
- 52 Restore the Platform Kernel
- 54 Erase JFFS2 File System
- 56 File manager
- 56 Editor
- 57 Network
- 57 Process
- 58 Others