Вы находитесь на странице: 1из 17

RISC Window CE.

NET
installation and testing

Paul Yang
Application Engineer
Applied Computing Group
Advantech Co. LTD.
Agenda
RISC Window CE Overview
Bootloader Mission
Safemode and startup
Boot Sequence and Memory Arrangement in
Flash
How to Upgrade??
Testing and utility
Live Demo
RISC Window CE Overview
PCM-series
Windows CE.NET 4.1
Windows CE.NET 4.2
SOM-series
Windows CE.NET 4.2
MPC-series
Windows CE.NET 4.1
Windows CE.NET 4.2
RISC Window CE Overview
Whats the combination of Window CE?

Bootloader (eboot.nb0)
WinCE Image (nk.nb0)
Upgrade tool
Bootlogo
Registry file (wince.reg)
Bootloader Mission
The mission for Bootloader:
HW initialization:
Basic Hw initialization, including check CPU ID.
GPIO initialization
Memory Controller initialization
Interrupt Controller initialization
Clock Manager initialization
OS timer initialization
Power management module initialization
Download OS image from :
Lan Card
Compact Flash Card
On Board Flash
Download Registry from
Compact Flash Card
On Board Flash
Display Boot Logo
Create KITL channel for OS to connect
Handle Software Reset routine
Handle Wakeup (for Suspend) routine
Safemode
What is Safemode ??
In CISC system (Intel x86 for example), we would reserve a
specific item in BIOS to load default BIOS setting. A similar
function is also available in RISC and we call safemode This
function is only applied on RISC product with CE.NET solution.

How to??
1.Create a folder called safemode on empty CF,
2.Put the CF to system and power on.
3. WINCE will recognize and recover the system back to default
system
AP Startup
What is Startup ??
In order to let your program is able to be performed
automatically after the system boot up
How to??
A.
Step1 Create "startup" directory in CompactFlash card
or in "\DiskOnChip\".
Step2 Copy executable files to "startup" directory that
is created by Step 1
B.
Step1: The same as Step1 in Method 1.
Step2: Create a file called "startup.ini" in "startup"
directory. Type in the commands you want to execute
after boot up in that file.
WINDOW CE Boot Sequence
The following diagram demonstrates the sequence which the PCM series
follows to search for registry during bootup period.

Power On

No Registry on CF No
SAFEMODE *1

Yes
Yes
Image on Image on Yes
CompactFlash CompactFlash
Image on Image on
No
Flash Memory CompactFlash
No No

Image on Image on
Flash Memory Flash Memory

No No
Yes
Yes
Yes
Registry on
No
Flash Memory
Yes

Boot Failure*2 Boot Failure


Yes

Yes Boot by Default Boot by Registry Boot by Registry


Registry on CF on Flash Memory

Boot Success Boot Success


Memory Arrangement in Flash

There are three kinds of files can be upgraded by


CF: Bootloader, Logo bitmap, and OS image
Flash Space Arrangement :
Bootloader (256KB)
Boot Logo bitmap (256KB)

32 MB WinCE OS image

IPSM
How to Upgrade??
Upgrade Procedure
Put upgrade utility and the target files you want to
upgrade in CF card.
Go to My Computer=>Storage Card and launch
upgrade.exe. Select options and press Upgrade.
Compress vs. Normal

Boot-up time : Compressed OS image takes more time


while system booting.
IPSM size : Compressed OS image reserves more space
for IPSM.
Bootloader Bootloader
Boot Logo bitmap Boot Logo bitmap
Compressed image
Normal image
IPSM
IPSM
What is IPSM ??
IPSM: Intel Persistent Storage Manager
=> It was designed and developed specially as an
enhancement to Microsoft Windows CE OS. PSM
eliminates extra disk-like storage such as storage
cards, redundant RAM and ROM. For example,
PCM-7130/7210 use IPSM to utilize the free space
of flash ROM for persistent storage. The IPSM
region in the system is located in \IPSM
directory. Any file or directory stored in \IPSM
directory would be kept persistently.
Notice (1)
After refreshing CE image by CF card, you
need to wait until seeing IPSM icon appears on
My Computer (the icon on desktop) since WinCE
would take about 90 seconds for IPSM format.
That's why you would see the operation may
not be very smooth within about 90 seconds in
the first boot-up after upgrading CE image.
Notice (2)
If you couldn't see the processing bar while
initializing, that means bootloader display setting
has not been updated. To solve this problem,
please select the correct display mode and click
"Set" in System Configurator==>Display when
entering WinCE.
Testing and utility
How to test???
Networks, PCMCIA/CF /SD/MMC, RS232 Full fucntion,
IrDA, USB Host, RS-485 COM Port, USB Client, TV-
in/out

Go by corresponding I/O
device
Testing Utility (AUTO Test V1.17)
Internet Explorer /PING
ADAM-4250
Testing and utility
Test Item!!
COMx (LOOPBACK)
COMx <=> COMy
TOUCH SCREEN
PS2 Keyboard
PS2 Mouse
Audio Record
USB Keyboard
USB Mouse
WATCHDOG Timer
Backlight Test
A-Sync Launch
WRITE EVA SOC-M Write MAC ID
Power Properties
DIO Control DIO function validation
HARDDISK R/W CF
REPEAT TEST
Live Demo!!

Вам также может понравиться