MS18V2.EXE is the programming utility for programming the internal memory of 
NM95MS18 device. This utility can be run directly from DOS. There are four 
options and each of them is explained below. Also please read the NOTE at the
end of this document.


Option #1 (To Program 2K PnP data)
==================================

MS18V1 [SW] WP  <filename>

This option will program the Plug-n-Play Resource data file on to the PNP 
portion of the NM95MS18's internal memory. This option will automatically 
calculate the two checksums as required by the ISA PnP Specification. 

<filename> is the name of the Plug-n-Play Resource data file to be programmed.
This file should be a "binary" file and the maximum size of this file can be
508 bytes depending on the usage of Non-PnP portion.

WP is the switch to Write ( Program) PnP protion

[SW] is an option which needs to be specified on command line to reprogram the 
internal memory if NM95MS18 was write-protected previously. Also the Switch [SW0-4]
inputs to NM95MS18 should be "HIGH" and N_PNP input should be "LOW" for this option 
to work.
[SW] option need not be specified if NM95MS18 was not write-protected previously.


Example: On the DOS prompt type the following:
	
	 MS18V2 WP SMPL_18.BIN  
	 
In this example SMPL_18.BIN is <filename>

Upon execution this will create the following two files :	
i)  RDB_PNP.BIN -- This file contains the programmed data read back from the 
		   NM95MS18 after it is programmed.
ii) NEXT.BIN    -- This file contains the data for the next NM95MS18 to be 
		   programmed. This file is essentially  same as the original 
		   Plug-n-Play Resource data file but with the "SERIAL NUMBER" 
		   incremented by one.

Note: 1) The file NEXT.BIN is created only when the initial programming is
	 done successfully.
      2) The file NEXT.BIN is NOT created when the "SERIAL NUMBER" for the
	 current device is "FFFFFFFF". This means that the serial number for
	 the next device is exhausted !!!!

Option	#2 (To read 2K PnP data)
================================

MS18V1 [SW] RP
This option will read the 2k PnP portion of the NM95MS18's internal memory and 
store it in a file RDB_PNP.BIN. 

Here "RP" is a switch to enable reading of internal memory. 
	
Option #3 (To Program 2K Non-PnP data)
======================================
MS18V1 [SW] WNP <filename>

This option will program the Non-PnP configuration file on to the Non-PnP portion 
of the NM95MS18's internal memory.
<filename> is the name of the data file to be programmed. This file should be 
a "binary" file and the maximum size of this file can be 248 Bytes.

WNP is the switch to Write ( Program) Non-PnP protion

[SW] is an option which needs to be specified on command line to reprogram the 
internal memory if NM95MS18 was write-protected previously. Also the Switch [SW0-4]
inputs to NM95MS18 should be "HIGH" and N_PNP input should be "LOW" for this option 
to work.
[SW] option need not be specified if NM95MS18 was not write-protected previously.

Example: 
	MS18V2 [SW] WNP NPNP_18.BIN
        
	In this example NPNP_18.BIN is <filename>
	
Upon execution this will create the following file :	
	
RDB_NPNP.BIN -- This file contains the programmed data read back from the 
                NM95MS18 after it is programmed.

Option	#4 (MS18V1 [SW] RNP)
============================
MS18V1 [SW] RNP

This option will read the Non-PnP portion of the NM95MS18's internal memory and
store it in a file RDB_NPNP.BIN.

MS18V2 RDU

Here "RNP" is a switch to enable reading of internal memory. 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

NOTE:
	1) This programming utility assumes presence of only ONE plug-n-play
	   card on the system. Presence of any other Plug-n-Play card would 
	   prohibit proper programming.

	2) This utility uses a default READ_DATA_PORT of 0x203. Though this
	   port address is commonly not used, in case of any problem during
	   programming, make sure this address is indeed unused.

	3) After programming the PNP portion the device needs a Hard-Reset
	   for the new data to take effect. 
	   
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
