
Hardware

The CPU of onHand/Ruputer is 16bit micro-controller MN1020219 (Matsushita Electronics Corporation,).


The followings are peripheral devices.

 1. External SRAM       contains 128KB memory space (main memory)
 2. External MROM       contains 512KB memory space
 3. Flash memory        contains 2Mb (nonvolatile memory) memory space
 4. LCD and LCD driver  Black/White LCD (STN type) 102x64 dot
 5. Serial port         used for data transfer with RS232-C
 6. Infrared port       SIR and ASK waves can be generated
 7. Button (8 input)    Cursor pointer, left key, right key, up key, down key, Enter, Filer/Time, Menu, and EL
 8. FL back light       located in the back of the LCD panel
 9. Buzzer              Voltage buzzer
 10.RTC                 Time and calendar information
 11.Gate array          controls peripheral devices

Please refer to the Hard Configuration Figure <onHandHard.bmp>.


You can access to peripheral devices through BIOS library.  Please refer to <wbiosLibManu(c)/(ASM).txt>.

Distance when infrared port is used
* For communication between two onHands/Ruputers by ASK wave, the communication distance is about 10-30cm
* For communication between two onHands/Ruputers by SIR wave, the communication distance is about 5-40cm
* For communication between onHand/Ruputer and Sharp PDA by ASK wave, the communication distance is about 5-20cm
* For communication between a laptop computer and infrared adapter by SIR wave, the communication distance is about 5-30cm

When data is transferred by using infrared, the communication is failed or an error may occur because of the sunlight, the distance between the devices, angle of the communication devices (+- 15 degrees) and the battery shortage.  You should avoid using infrared communication under the strong sun light or fluorescent light.


Cautions on programming
 A strong electric current is required to use an EL back light, buzzer and infrared communication.
When all devices are used at the same time, stronger current is required.  Therefore, the battery is overloaded.  Please consider that multiple devices are not functioning at the same time if you develop an application software.





CPU Specification Outline

1.The address space is the linear address type which does not have a boundary.


2.8 registers (For data: 24bit X 4.  For address: 24bit X 4.  For others: 24bit.  PSW: 16bit.  Register for calculation: 16bit)


3.Operation mode

 There are three operation mode types such as Run, Halt and Stop.  The consumption of electric current is increased in the order of Stop < Halt < Run so that the battery is consumed accordingly.

* Run is the state that CPU core is running a program.  The CPU embed peripheral circuits such as a serial I/F can be operated.

* Halt is the state that CPU core is stopping.  However, the CPU embed peripheral circuits can be operated.  A CPU oscillator circuit runs at 3.68MHz(MC**) or 1.84MHz(MP**) and CPU clock is provided to CPU embed peripheral circuits and gate array.

* Stop is the state that both CPU core and CPU embed peripheral circuits are stopping.  A CPU oscillator circuit is also stopping.  About 280uS (micro-second) is necessary from the external interruption to the execution of interruption by CPU core.

For the migration of these modes, the following W-BIOS controls.


4.Instruction Set
 <MN10200c.txt> contains an outline list of assembly instruction of MN10200 series.

***** Cautions *****
Questions regarding onHand application development can be accepted on the forum within the onHand Home page.
Please do not contact with Matsushita Electronics Corporation. regarding onHand/Ruputer application development.





System Overview

For onHand/Ruputer, the management of file and memory is done by DOS which is called PsDOS.  This PsDOS supports major system call services of MS-DOS3.1.  The supported system calls can be called by C program.

 * The limitation of the file name is 8.3 format.
 * Drive --- Fixed MROM area A:  Flash memory area B:
 * The execution of application is loaded to the fixed address on the main memory.
 * Single task OS.


The interface between this OS and the above mentioned hardware is handled by W-BIOS(Wearable Optimized BIOS).  This W-BIOS electrically controls the peripheral devices in details.

W-PsDOS is created by combining the above mentioned optimized BIOS and OS in order to put it on human body.



The interface between this OS (file management and application execution) is handled by a filer.

A filer is traveled between directories by a cursor pointer and side button.  It is a resident application that can execute the application associated by an extension.

There are other features such as power management, alarm event, time modification, file transfer between onHands/Ruputers and battery capacity monitoring.

The communication between PCs is handled by an execution file (Rshell) within MROM that is called a remote shell.  A filer executes this remote shell (Rshell) when a serial connection is established by docking station or an infrared remote connection is established.  Please refer to <RshellManu.txt> (under ..\rshell\manual).

The resources that a filer provides can be used for rupsys library.  Please refer to <rupsysLibManu(c).txt>.




Memory Map
RAM as a work area is 128Kb and a half of the area can be used for users.

The followings are outline.


Address                 Usage                       Device
0xF000 -    0xF3FF      OS (some filers)            CPU embed RAM

0x80000 -   0x83FFF     OS (some filers)            CPU embed ROM

0x100000 -  0x109AFF    OS                          External SRAM
0x109B00 -  0x10D6FF    Filer is used               External SRAM
0x10D700 -  0x10F1FF    Filer (for child process)   External SRAM
0x10F200 -  0x10FFFF    Additional                  External SRAM
0x110000 -  0x11FFFF    User area                   External SRAM

0x200000 -  0x232FFF    Font                        External MROM
0x233000 -  0x265FFF    OS (some filers)            External MROM
0x266000 -  0x27FAFF    Filer                       External MROM
0x27FB00 -  0x27FFFF    ROMDISK (A:Drive)           External MROM



1.The stack of filer and user application is accumulated from the final address of SRAM 0x120000 to 0x100000 direction.


2.When a link is established, an address (0x110000) that is loaded to a main memory (SRAM) is set.  However, this load address can be modified.


3.The execution format file that is stored in a flash memory is loaded from 0x110000 on all main memory (SRAM).

    0x110000 - 0x1100FF PSP:256 bit
    0x110100 -         Program body

When the loading process is completed, an instruction is executed from 0x110100 (For PSP, refer to MS-DOS system call handbook).


4.If the final address of application that is loaded on the main memory is overlapped with the stack that is accumulated from 0x120000, the program becomes the runaway state.  You must be careful when you develop an application.  The final address can be confirmed by the map file (*.map) that is generated when link is established.  In addition, the file size the application should be less than 50KB.

5.When a child process within the application is executed, you should be careful about this overlap problem.

6.The area of a flash memory cannot be used as a working area.

===============================================================================
 Copyright (c) 1998-1999.  Seiko Instruments Inc.  All rights reserved. 
===============================================================================

