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.

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
- 電源供應

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:
- The software did not update and showed
E: Unable to locate package ntpdate
.
☑ Reinstall ntpdate after executingsudo apt update
. - The lack of internet connection causes the installation process to get stuck or fail.
☑ Useping 8.8.8.8
to test if the network connection is successful.
- The software did not update and showed

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:
- The system is connected to the network, but cannot find an NTP server, resulting in the message
no server suitable for synchronization found.
☑ Useping time.windows.com
to confirm whether the system is connected to the required server for ntpdate.
- The system is connected to the network, but cannot find an NTP server, resulting in the message

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.

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.
主要特點 VDX3-6755:
- DM&P SoC Vortex86DX3- 1GHz
- 1GB / 2GB DDR3 onboard
- 3S/2U/VGA/LVDS/GLAN/LAN/CAN/SATA
- 隔離式 RS232 / 485 介面
- 單通道 24-bit LVDS
- 可選配:隔離式控制器區域網路總線
- 工作溫度: -20 ~ +70°C / -40 ~ +85°C (可選配)
如需更多資訊和樣品需求,請寫信至 info@icop.com.tw,或致電離您最近的 ICOP Branch,或聯繫我們的 Worldwide Official Distributor.