Files cannot be synchronized using the wince ActiveSync synchronization function.

Source: Internet
Author: User

 

1. Problem Description

When you use ActiveSync for synchronization, you will find that the synchronization fails. The synchronization interface of the PC synchronization software is as follows:

Figure 1

An error occurs on the wince device, such:

Figure 2

 

2. Problem Analysis

Files cannot be synchronized. It should be related to the file system of the wince device.

3. Problem Solving

 

3.1 later I found that I could change the Rom-only file system selected by the system to Ram and ROM file system.

3.2 select Rom-only File System

(1) Ensure that the XXX. BAT file in the BSP package contains the following content:

@ REM for hive based registry

Set imghivereg = 1

Set prj_enable_fsextrepl = 1 // you can leave this option empty.

If/I "% imghivereg %" = "1" set prj_enable_fsreghive = 1

If/I "% imghivereg %" = "1" set prj_enable_regflush_thread = 1

 

(2) Add the following registry key in platform. Reg.

[HKEY_LOCAL_MACHINE \ SYSTEM \ storagemanager \ profiles \ <storageprofile associated with the root file system> \ fatfs \ filters \ fsreplxfilt]
"DLL" = "fsreplxfilt. dll"
"Order" = DWORD: 1; must be loaded after other Filters

The <storage profile associated with theroot file system> is FlashDisk for our mlc nand Flash system, for example

[HKEY_LOCAL_MACHINE \ SYSTEM \ storagemanager \ profiles \ NAND \ fatfs \ filters \ fsreplxfilt]

"DLL" = "fsreplxfilt. dll"

"Order" = DWORD: 1

This registry entry must be between; hive boot section and; end hive boot section.


 

(3) set the environment variable sysgen_fsreplxfilt

Figure 3

Then select clean sysgen.

 

 

Related links:

Http://technet.microsoft.com/zh-cn/subscriptions/ee490220

Http://social.msdn.microsoft.com/Forums/zh-CN/winembeddedzhtw/thread/b3343b15-5d03-4f21-b85e-7566792606d4

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.