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.

    more:TBD


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.

相关文章推荐

error: more than one device and emulator .

用adb install安装APK时候报error: more than one device and emulator错误; adb devices查看如下: ...

Android adb 命令(附带"more than one device and emulator"错误)

常用的adb命令应该是用的比较熟悉了,如 Adb shell Adb remount Adb devices Adb install Adb uninstall Adb pull Adb push 这...

HAXM is not working and emulator runs in emulation mode。模拟器停留在开机界面时报的错。

错误如下:HAXM is not working and emulator runs in emulation mode                     emulator: The memor...

Some Point in learning Linux And Unix

在学习Unix等系统时,有挺多操作时值得我们反复斟酌和学习的,有20个教条大致如下,需要我们在工作中不断的加深和运用 : 1)        在单个命令中创建目录树。 2)        更改路径...

Linux 配置收集2 - Some Configuration In Ubuntu14.04.02 And EOS

Sogou输入法sudo add-apt-repository ppa:fcitx-team/nightly sudo apt-get update sudo apt-get install fcit...

Some common problems in RAD and their solutions/work arounds

Some common problems in RAD and their solutions/work aroundsBug in RAD Debugger!If the value of a va...
  • zjhgx
  • zjhgx
  • 2011年05月10日 18:51
  • 340
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:OS building, emulator, and some device model in WINCE
举报原因:
原因补充:

(最多只允许输入30个字)