OS building, emulator, and some device model in WINCE

原创 2012年03月24日 20:27:40

1 modifying the OS

    In WinCE4.0, there is a standalone suit to build the OS. In version later than 5.0, it is a plugin in VS2005 called "Platform Builder". Basically you can configure the high level components in a GUI there, such as USB functionality, kernel service. For different hardware you need to write drivers to make hardware cooperate with high level components. Something often modified are that memory layout, register table, boot-up programs. They are done in the configuration files in the Platform Builder. Register table is something special for Windows system unlike Linux system, it works like the files stored in /etc directory in Linux. In PB there are 4 separate register files which would be merged into one register file at the OS building procedure, and the final register file could be write into device Flash or Memory, resulting a w/r or read only file.

    details:  TBD

2 some device model:

    USB port which is used to connect the device to another host, could be model as a network port or a serial cable, it depends on your settings in PB. In version below WinCE5.0, USB slave port which was used to connect to development PC, more specific ActiveSync software, works as serial cable model, I mean at OS level it is a serial port. The ActiveSync added a protocol on that making it looks like a network port, so the device would have network access through the path: USB->host->host NIC->network. Unfortunately I see no way to make the USB port works as network card without ActiveSync client running. In WinCE6.0 or later, the port works as network port as default, and ActiveSync using it as network directly.


3 emulators:

    in WinCE4.0, the emulator runs fast because it emulate target device at API and OS level, so the binary is actually x86 instructions. The setup of it is done as a package in EVC4 automatically.
    in WinCE5.0 and later (vs2005), the emulator is true one runing ARM RISC instructions, emulating target device at binary level, so the execution is very slow but more like the real use case. To install it you need to rebuild a SDK and an emulator image in platform builder where kernel is built, according to the real configuration for target device. It is just like building another version of kernel and have many options such as memory size, serial port settings.


处理下面的警告需要 [WARNING] Some problems were encountered while building the effective model for com.xxx.x...
  • u013008179
  • u013008179
  • 2016年03月19日 00:00
  • 5451


安装配置略 setting.xml文件使用默认 示例程序 1 新建hello-world文件夹   2 在该文件夹中创建pom.xml文件  1 ...
  • retacn_yue
  • retacn_yue
  • 2014年08月27日 14:31
  • 6621


错误原因: 编译下载最新的maven源代码,但是出现错误。错误如下: [WARNING] Some problems were encountered while building the...
  • thisisvoa
  • thisisvoa
  • 2013年08月23日 15:35
  • 5051

WIN7 VS2005 安装wince6.0教程(不管是X86还是X64,我都尝试成功了)

我是安装中文版的vs2005,我是用来开发应用程序,所以说不需要安装wince6.0的操作系统,下面就来真格的了,讲一下我安装的过程 1第一步当然安装vs2005中文版,提示一下中文版与英文版安装的后...
  • xiaoaoqing
  • xiaoaoqing
  • 2013年11月22日 11:10
  • 1748

Building For Different Environments with Maven

思路一——向MAVEN中传递参数,通过参数实现插件的不同行为 操作 maven-antrun-plugin test ...
  • chaozhi_guo
  • chaozhi_guo
  • 2015年12月01日 15:45
  • 207

解决more than one device and emulator问题

1.查找所有设备 adb devices 2.选择你要使用的设备 adb -s 设备名称 shell
  • dragonpeng2008
  • dragonpeng2008
  • 2014年03月14日 11:14
  • 14052


安装WinCE6.0开发环境 安装步骤如下:                Please install the following software in order ...
  • zxxSsdsd
  • zxxSsdsd
  • 2013年12月21日 15:18
  • 2842

Microsoft Device Emulator 模拟器菜单 中文

Microsoft Device Emulator 3.0 是基于 ARM 设备的设备仿真器的第三个公开发布的版本。Microsoft Device Emulator 3.0 还将与 Visual S...
  • yanzhibo
  • yanzhibo
  • 2010年04月05日 21:10
  • 1556

umount “Device is busy”

 取消挂载 umount 时出现的 “Device is busy” 转自:http://www.jb51.net/os/RedHat/1051.html 在 Linux 下 umount ...
  • yueguanyun
  • yueguanyun
  • 2016年06月01日 17:10
  • 519

【转】Wince Device Emulator使用介绍-Device Emulator 2.0

转自:http://tech.ddvip.com/2008-12/1230082051102388.html 最近用了一下WinCE的模拟器,我做WinCE有几年了,从来没有用过WinCE的模拟...
  • suck666
  • suck666
  • 2014年01月23日 11:06
  • 739
您举报文章:OS building, emulator, and some device model in WINCE