EC954 series based on Arm structure. 2.1 Introduction The following chapter takes the EC954 series as an example to describe the application of external connectors and pin assignments in the EC954 series. 2.2 EC954-FQ38 Panel Top panel Front panel 2.3 EC954-FQ38 External Connector...
Page 3
Yellow light: ACT light, flashing when there is data 2.3.2 Serial port EC954-FQ38 supports 8 serial ports, with the first 4 channels supporting RS-232, RS-485, or RS-422 communication. The software is configurable, and the last 4 channels are fixed to...
EC954-FQ38 has a 2-way CAN bus interface and supports the CAN 2.0A/B standard. CAN2 is compatible with CAN FD and can reach a maximum speed of 5Mbps. RJ45 pin number RS-232 RS-422 RS-485 TxD+ three four TxD- five RxD+ Data+...
Page 5
Digital output interface No.2 Digital output interface No.3 2.3.6 USB EC954-FQ38 provides two USB 2.0 Host interfaces. 2.3.7 LED EC954-FQ38 has 12 LED lights that respectively indicate the power supply and system operation status. Identification Name Definition Power indicator light...
Page 6
When a warning exception occurs in the system and the system upgrade WARN Warning indicator light or factory restoration is not yet completed, the WARN light flashes. When a serious error occurs in the system and the system upgrade or Error indicator light factory recovery...
After the factory is restored, WARN and ERROR will turn off, and STATUS will flash. 2.3.8 User programmable buttons EC954-FQ38 provides an API interface, which users can call to detect the status of programmable buttons and then implement their own button logic.
2.3.10 SIM card slot EC954-FQ38 supports 2 SIM card slots. SIM cards need to be installed in a power-off state. Simply press and insert the SIM card into the slot. 2.3.11 MicroSD card slot EC954-FQ38 has a MircoSD card slot, and SD does not support hot swapping. It needs to be plugged and unplugged in the event of a power outage.
2.3.14 Antenna interface EC954-FQ38 has a total of 7 antenna interfaces, and the number of antennas standard for different models varies. The antennas are screwed into the corresponding antenna interfaces to complete antenna installation. Identification...
Page 10
2.3.15 mSATA hard drive interface EC954-FQ38 supports mSata hard drives, which are not included by default at the factory. If users have high-capacity storage needs and need to purchase their own mSata hard drives, they can also consult InHand to purchase mSATA.
ETH 4 192.168.6.100 3.1.1.1 Linux users Prompt These steps apply to connecting to EC900 on a Linux PC. Please do not apply these steps to the EC900 device itself. Before running the ssh command, make sure to configure the Ethernet port IP address of the PC within a specific range. ETH1: 192.168.1.0/24, ETH2: 192.168.4.0/24, ETH3: 192.168.5.0/24, ETH4: 192.168.6.0/24.
EC900 in the way of SSH command in the Windows environment. The following figure is an example of using SSH connection: 3.2 User Account Management 3.2.1 Switch to root user You can use the command sudo - s to switch to the root user. For security reasons, do not operate all commands under root privileges.
Unlocking edge users 3.3 Network and System Management EC954-FQ38 is based on the Debian 11 system, so it can use native Linux commands for network and system management; In order to facilitate user configuration, InHand has developed an IEOS system program that provides a web interface, allowing users to easily manage networks and systems through the web.
Page 14
supported by IEOS be managed through the IEOS web. For configurations not supported by IEOS, such as VPN, the configuration goals can be achieved by combining native Linux commands. 3.3.1.1 Logging into the web Considering that the user's program may require the use of HTTP/HTTPS standard port number 80/443, IEOS uses port number 9100 as the port for HTTPS connection and does not support access through HTTP;...
Page 15
Configure DHCP Client for eth1 interface Start the dhcp server function on the eth1 interface and assign addresses to the underlying devices of eth1...
Page 16
DHCP Server configuration parameter description: Enable DHCP Server: Switch for DHCP Server functionality Starting Address: The starting base address of the DHCP Server address pool, where network segment+starting address=the starting IP address of the address pool. In the screenshot, the network segment of eth1 is 192.168.1.0/24, and the base address is 1, so the starting address of the address pool is 192.168.1.1/24 Max Address Number: The maximum number of addresses in the address pool Lease period: Lease period...
Page 17
Cellular network parameter description: Enable: switch for cellular function; The default is the enabled state. APN Profiles: A set of dialing parameters used to configure APN, username, password, and authentication method information when dialing with a dedicated network card. If it is not a dedicated network card, there is usually no need to modify the configuration here.
Page 18
fails a certain number of times, it will switch to another SIM card for dialing. By default, sim1 will be used for dialing first. Max Number of Dials: After enabling the dual SIM single dial function, if the current SIM card reaches the specified number of dials, switch to another SIM card for dialing.
Page 19
In advanced configuration, there are some uncommon setting options. Debug Mode enabled: Whether to enable the debug function. After enabling it, some dial-up related debugging information will be added to the log, which is disabled by default. Enable Infinitely Redial: Enable infinite redial. In some cases, dialing may be in an abnormal state and can be restored to normal by restarting the system;...
Page 20
Enable Wi Fi: enable switch; Default Off Client SSID: The ssid that needs to be connected, which can be manually entered; You can also obtain nearby accessible ssids by scanning the button Enable Default Route: Whether to enable the add default route function. When enabled, a default route for the WLAN port will be added after a successful WiFi connection.
Page 21
Static routing configuration parameters: Interface: The outbound interface for static routing Target: Target network Netmask: Target Netmask Gateway: Next hop address Metric: The metric value of static routing 3.3.1.2.5 Configure firewall...
Page 22
Currently, only the iptables command is supported for configuration. 3.3.1.2.6 Configure DNS DNS servers: DNS server addresses, supporting up to 4 configurations Domain name hijacking: Domain name hijacking function, which can achieve binding between IP addresses and domain names. 3.3.1.2.7 Network Diagnostics Network diagnosis supports ping, traceroute, and nslookup functions.
Page 23
Cloud management Enabled: an enable switch for docking with the DeviceLive platform; DeviceLive is a remote monitoring and management platform for InHand devices; Cloud Server: DeviceLive platform has 2 addresses; One is the address of the domestic platform, and the other is the address of the overseas platform; Choose which platform to connect to here.
Up to 10 NTP server addresses can be configured, and the program periodically sends synchronization requests to each server address in sequence. After successful synchronization, the system time is written to the RTC and synchronization requests are no longer sent to subsequent NTP servers. In addition to using NTP to synchronize time, there is a synchronization button on the Device Info status page that allows for manual synchronization of time.
Page 25
The automatic restart option is disabled by default. After upgrading the firmware, the system needs to be manually restarted to take effect; After enabling the automatic restart option, the system will automatically restart after a successful firmware upgrade. 3.3.1.3.3 Others This page has two functions: system restart and system reset.
Page 26
3.3.1.4.2 Cellular dialing status information The cellular dialing status page displays the SIM card, IMEI, IMSI, ICCID, signal strength, as well as the IP address, DNS, and other information obtained during dialing. 3.3.1.4.3 Wi-Fi Station Status Information The Wi-Fi status page displays the IP address, gateway, and DNS information obtained after a successful Wi Fi connection.
Page 27
3.3.1.4.4 DHCP Server status information The DHCP Server status page displays the IP address, client host name, client host MAC, and expiration time assigned to the device as a DHCP Server. 3.3.1.4.5 Routing status information The routing status page displays information such as IPv4 direct routing, static routing, and routing neighbors.
3.3.1.4.7 Log information The log page can view system logs, user logs, and set the level of logs to be viewed, including Error, Info, Debug, and other levels. Logs can also be downloaded locally. 3.3.2 Linux based command line management When using the Linux command line for network and system configuration, the first step is to close the IEOS program.
3.3.2.1 Network Management 3.3.2.1.1 Set a static IP address If you want to set a static IP address for EC954-FQ38, modify the corresponding network configuration file by using the commands vim/etc/network/interfaces. d/eth1 or vim/etc/ network/interfaces. d/eth2 to set the default gateway, address, network, and subnet mask for the Ethernet interface.
Page 30
To determine the amount of available drive space, use the df command with the - h option. The system will return the amount of drive space decomposed by the file system. The available disk partition for users in EC954-FQ38 product is/dev/mmcblk0p8. Here is an example: 3.3.2.2.3 Query product model information...
The devinfo tool can view product model information 3.3.2.2.4 Adjusting Time EC954-FQ38 has two time settings. One is the system time, and the other is the RTC (Real Time Clock) time maintained by the hardware of EC954-FQ38. Use the date command to query the current system time or set a new system time.
Page 32
GNU library for C (glibc). This file is either a copy of/usr/share/ zoneinfo/file, or a symbolic link pointing to it. If EC954-FQ38 cannot find the/usr/share/ zoneinfo/file, please download the time zone information file you need from the )And re link to the local time file in EC900.
EC900 based on the Arm structure. 4.1 Serial port EC954-FQ38 has 8 serial ports, and the first 4 ports support multiple serial port modes including RS-232, RS-422, and RS-485. The default mode is RS-485, and the ih_uard_ctl command can be used to switch the serial port mode. The last four serial ports are fixed in RS-485 mode.
4.1.2 Viewing Serial Port Information: 4.1.3 Set the baud rate of the COM1 serial port: Sudo stty - F /dev/ttyCOM1 ispeed 9600 ospeed 9600 cs8 4.1.4 Setting the Baud Rate of COM2 Serial Port Sudo stty - F /dev/ttyCOM1 ispeed 9600 ospeed 9600 cs8 4.1.5 Setting the Baud Rate of COM3 Serial Port Sudo stty - F /dev/ttyCOM3 ispeed 9600 ospeed 9600 cs8 4.1.6 Setting the Baud Rate of COM4 Serial Port...
4.2.1 USB automatic mounting EC954-FQ38 supports hot swapping of USB storage devices. It will automatically mount all partitions. EC954-FQ38 will partition all USB storage devices and mount them to the/mnt/path. The naming format for the mounting folder is usb1<node>_<num>. Among them,<node>is the device node name of the partition, and<num>can be a number from 0 to 9.
Page 38
4.2.3 mSATA hard drive automatic mounting (1) Log in to the system, execute sudo fdisk - l, and locate your hard disk partition, as shown in the following image:/dev/sda1...
Page 39
(2) Format the partition to the desired file system, such as ext4 (3) Create a mount point, such as/mnt/sda1 (4) Edit the vi/etc/fstab file, Add/dev/sda1/mnt/sda1 ext4 defaults, nofail, x-system. device timeout=1s 0 0 at the end of...
4.3 CAN bus interface The CAN port of EC954-FQ38 supports two CAN buses, with CAN1 corresponding to device can0 and CAN2 corresponding to device can1 4.3.1 Configure Connection CAN1 Interface By default, the CAN port will be initialized.
Page 41
Sudo IP link set can1 up 4.4 IO debugging EC954-FQ38 supports 4-way DI and 4-way DO. When you want to use the IO port, please type the dio_mgmt command to control the input and output of IO. Usage of dio_mgmt: When you need to set a certain IO port to high or low, you can type the command dio_mgmt set D<I/O><number><HIGH/LOW>...
2. Type the gnss command to directly output parsed information such as time, longitude, and latitude 4.6 Power on/off button 4.6.1 Shutdown of equipment 1 . Press and hold the power button for 8 seconds to turn off the device 2.
It includes an encryption coprocessor for storing encryption keys, digital certificates, and other secure data, as well as supporting multiple encryption algorithms and security protocols. On EC954-FQ38, the standard TPM2.0 protocol stack and TPM2.0 tools have been integrated for users to use.
EC954-V2.0.0.img as an example for explanation. Create an empty ec900_img directory in the root directory of the USB drive (SD card), and place the EC954-V2.0.0.img file and md5.txt file published by inhand in the ec900_img directory. Confirm that there is only the MD5 hash value in the EC954-V2.0.0.img line in the md5.txt file.
Page 48
"dev_node":"/sys/class/leds/cell" "led_name":"SIM1", "dev_node":"/sys/class/leds/sim1" "led_name":"SIM2", "dev_node":"/sys/class/leds/sim2" "led_name":"WARN", "dev_node":"/sys/class/leds/warn" "led_name":"ERROR", "dev_node":"/sys/class/leds/error" "led_name":"STATUS", "dev_node":"/sys/class/leds/status" "led_name":"L1", "dev_node":"/sys/class/leds/level1" "led_name":"L2", "dev_node":"/sys/class/leds/level2" "led_name":"L3", "dev_node":"/sys/class/leds/level3" 7.1 IO Programming Guide At present, there are a total of 8 IO interfaces on the device: for example, DI0~DI3 on the device panel have 4 input pins; DO0~DO3 have 4 output pins. According to the device description information file/tmp/ieos/etc/systeminfo.json, the IO device nodes can be obtained as follows: DI0~DI3-- sys/class/gpio/gpio487~sys/class/gpio/gpio490...
Case: When DO0 needs to output high voltage, it can directly write 1 to sys/class/gpio/gpio491/ value Echo 1>/sys/class/gpio/gpio491/value When you need to check the level of DI0, you can also directly check the value of sys/class/ gpio/gpio487/value Cat/sys/class/gpio/gpio487/value Complete shell script: #!/bin/bash gpio491="/sys/class/gpio/gpio491/value"...
Page 50
User1:/sys/class/LEDs/user1 User2:/sys/class/LEDs/user2 There are some control files in the sys/class/leds/user1 directory used to control the properties and status of LEDs: /Sys/class/leds/user1/brightness: This file is used to control whether the USER1 light is on or off. Writing 1 means it is always on, and writing 0 means it is always off. /Sys/class/leds/user1/trigger: The trigger for the LED light, which can be written as timer to indicate the timer is triggered, and written as none to indicate the cancellation of the trigger.
Page 51
USER2_DELAY_ON="/sys/class/leds/user2/delay_on" USER2_DELAY_OFF="/sys/class/leds/user2/delay_off" # Light Up USER1 LED if [ -f "$USER1_BRIGTHNESS" ]; then echo 1 > $USER1_BRIGTHNESS else echo "no file exit "$USER1_BRIGTHNESS # Light Up USER2 LED if [ -f "$USER2_BRIGTHNESS" ]; then echo 1 > $USER2_BRIGTHNESS else echo "no file exit "$USER2_BRIGTHNESS # Set USER1 LED to Blink if [ -f "$USER1_TRIGGER"...
# Set USER2 LED to Illuminate for 1000ms if [ -f "$USER2_DELAY_ON" ]; then echo 1000 > $USER2_DELAY_ON else echo "no file exit "$USER2_DELAY_ON # Set USER2 LED to Turn Off for 1000ms if [ -f "$USER2_DELAY_OFF" ]; then echo 1000 > $USER2_DELAY_OFF else echo "no file exit "$USER2_DELAY_OFF # Disable USER1 LED Blinking...
Page 53
linaro 6.3.1-2017.05-x86_64-arch64 Linux gnu/bin Execute source~/. bashrc to make the environment variables effective on the current terminal; The newly opened terminal will automatically take effect. Using the classic Hello World program as an example, create the following directory and files mkdir ~/example touch ~/example/hello.c touch ~/example/Makefile...
Page 54
FCC STATEMENT This device complies with Part 15 of the FCC Rules. Operation is subject to the following conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
Page 55
between the radiator & your body. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. The availability of some specific channels and/or operational frequency bands is country dependent and firmware programmed at the factory to match the intended destination.
Page 56
IC STATEMENT This device complies with Industry Canada license-exempt RSS standard(s): Operation is subject to the following Two conditions: (1) this device may not cause interference, and (2) This device must accept any interference, including interference that may cause undesired operation of the device.
Page 57
Cet équipement est conforme aux limites d'exposition aux rayonnements IC établies pour un environnement non contrôlé. Cet équipement doit être installé et utilisé avec un minimum de 20cm de distance entre la source de rayonnement et votre corps.
Need help?
Do you have a question about the EC954-FQ38 and is the answer not in the manual?
Questions and answers