Loading The Protocol File - Allen-Bradley 1784-KTX Reference Manual

Table of Contents

Advertisement

Chapter 2
Start up and Shutdown

Loading the Protocol File

2-10
Enable M16 Operation
Write the key bytes to enable M16 operation.
1.
Verify that the key bytes are operational by writing:
to the key 0 write register, address 805, with a 0x00H
to the key 1 write register, address 807, with a 0x00H
2.
Access the key read register, address 800, with a 16-bit read.
The value returned should be 0x0000. Note that the key read register
is a 16-bit register and must be accessed with a 16-bit read. 8-bit
accesses to these registers will return the value of the pulled-up ISA
bus, or 0xFF.
Important: If necessary, restore contents of the card control write register.
This should not be necessary because standard M16 mode is not
implemented by current APIs.
Now you can load the protocol file. Read the next section for instructions.
To download the protocol, your driver must:
transfer the loader file to the dual port
load the protocol file
Transferring the Loader File to the Dual Port
First transfer the loader binary file (LOADPCL.BIN) into the specified
area of the dual-port RAM. Your driver uses the loader program to
download the protocol ("soft" firmware) through the dual-port interface
and into the Z80's RAM.
1.
Clear all RAM on the KTx card.
a.
Reset the KTx card by writing 01h to byte :803h.
b.
Copy the CLRRAM.BIN program to the dual port,
starting at :0000h.
c.
Write 01h to byte :0802h (to release the Z80).
d.
Wait two seconds to allow the cycle to complete.
e.
Reset the KTx card by writing 01h to byte :0803h.
2.
Transfer the loader program (LOADPCL.BIN) into the dual port,
starting at :0000h.
Next, download the protocol.

Advertisement

Table of Contents
loading

This manual is also suitable for:

1784-ktxd1784-kts

Table of Contents