A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: front/Model_main.php

Line Number: 35

Backtrace:

File: /var/www/html/application/models/front/Model_main.php
Line: 35
Function: _error_handler

File: /var/www/html/application/controllers/Home.php
Line: 1292
Function: init

File: /var/www/html/index.php
Line: 315
Function: require_once

ICOP Technology Inc. - [Technical Tips] Time Synchronization with ntpdate on VDX3-6755 (Debian)
cancel

[Technical Tips] Time Synchronization with ntpdate on VDX3-6755 (Debian)

2025-06-30

In embedded applications, accurate system time is very important for data logging, communication protocols, and system logs.
In this guide, we will use VDX3-6755 to demonstrate how to synchronize time with a network time server using the ntpdate tool in a Debian 12 system environment.

Tips28_top

What is ntpdate?

ntpdate is a command-line tool used to manually synchronize system time, which connects to an NTP (Network Time Protocol) server over the network to obtain the correct time and immediately update the local time.

Why do we need ntpdate?

Because the system time may deviate due to hardware errors or reboots, in order to keep the system time accurate, it is necessary to use ntpdate to synchronize with the "standard time server" on the internet, ensuring that the system operates with the correct time to avoid issues such as record discrepancies or abnormal controls.

Step-by-step process video


Hardware Preparation

Before performing time synchronization, please prepare the following devices and network environment:

  • VDX3-6755 Embedded Board : Supports VDX series up to VEX2
  • Storage Device : This test uses a 16GB SATA DOM; a minimum of 8GB is recommended
  • USB Keyboard and Mouse
  • Monitor
  • Network Connection
  • Power Supply
Tips28

Step 1 : Install ntpdate (if not already installed)

sudo apt install ntpdate
  • Install ntpdate through this command to ensure the system has the latest version.
  • Common mistakes:
    1. The software did not update and showed E: Unable to locate package ntpdate.
      ☑ Reinstall ntpdate after executing sudo apt update.
    2. The lack of internet connection causes the installation process to get stuck or fail.
      ☑ Use ping 8.8.8.8 to test if the network connection is successful.
Tips28

Step 2 : Execute the following command to synchronize and set the date and time.

sudo ntpdate time.windows.com
  • This command will query the current correct time from time.windows.com, then immediately synchronize and set the local system's date and time.
  • Common mistakes:
    1. The system is connected to the network, but cannot find an NTP server, resulting in the message no server suitable for synchronization found.
      ☑ Use ping time.windows.com to confirm whether the system is connected to the required server for ntpdate.
Tips28

Step 3 : Confirm results

date
  • This command verifies whether the time and date are displayed correctly; if they are correct, it means synchronization is successful.
Tips28

Maintaining accurate time in embedded applications is crucial. By using ntpdate, you can easily correct the system time on an ICOP industrial computer running Debian to ensure consistency in data and system behavior.


Main features of VDX3-6755:

  • DM&P SoC Vortex86DX3- 1GHz
  • 1GB / 2GB DDR3 onboard
  • 3S/2U/VGA/LVDS/GLAN/LAN/CAN/SATA
  • Isolated RS232 / 485
  • Single channel 24-bit LVDS
  • Optional: Isolated CANbus
  • Operation Temperature: -20 ~ +70°C / -40 ~ +85°C (Optional)

For more info and sample request, please write to info@icop.com.tw, call your nearest ICOP Branch, or contact our Worldwide Official Distributor.

Δ