xp640 eprom programmer user's manual - Matthieu Benoit

P R 0 G R A M M A B I E A R R A Y t 0 G r C ( p . q , L s ) ... a zero insertion ...... va. N. N. -l vl. N. N. -il vl. N. N. \t. Ch a. I t tr g. |t t o ai. G rt o. Fl. I tt t\). _jl o\. C). N. -.I.
2MB taille 0 téléchargements 754 vues
*-*{ -l,i't

l

i 'f:"i''*i{

'- '

,

i

I I I

XP64O EPNOT PROCNAT{TEA

Fi:

usEns ilttruar,'

I i i l

Copyright GP If,DUS9BII$

t

a

:--

E; -,

t'

ELETTNOXICS -

I J

I

- T able

XP64O llanual

of Contents

.......e....o.............o..........1 IntrOduCtiOn .............. XP540 EPROI{Programmgr f ............1 . . . . . . . . . . . . . .. 1 progranning ltoctule XU52O Universal .....................1 Xfi,51? EPROUEnulation Module Instruetions 1: General 0perating Section Supply voltage to note Points Using the llacblne Layout of the XP640 ........................ The Keypad 15 Character Alphanumeric Di splay ............ Video Display

. . o . . ..2

2

5 4 4 4 5 5 5 6

oo....

a a t a a a a o o a a a a a o o

....... o............ r........ Video Display Fornat o...... o...... .... o... r... tED indiCatOrS Diseretg o... . r.......... o. I o...... Version numbgr Flrmwarg ....................o. Sockgt Force Insgrtion Zeta

2:

Section

.. . . . . . . .. . . .. . . . . o . . . .. . ..J EditOr' ... "'J ................ Functioas

Hgx

xP5 40 RAr{ E d i t i a g STOP Hexade c inal keys FI{ (Punctioa)

( o r a 7 4 5 5 7 e 9 A B c D E r ) . . . . o. . r . . o. . . . 8

Cursor EI{TER Ct E A R IiIEl,I ( t'tem o r y a d d f g s s ) a .

a

o

a

a

o

t . . .

a

a

a

a

a

a

a

t

a

a

a

o

a

a

a

a

a

a

a

a

a

o

'

o

o

t

t

t B

"

"

9 9

a o o a a a a a a a a a a a a a a a a t a a a a o a a a a a a a a a a I a a a o a a a a

T\Aml I/./[IfA

PAGE ASCII

o

a

a

a

a

a

O

a

r

i

r

.

.

........................r....! .

a

o

a

a

a

a

o

a

a

a

a

a

a

a

a

a

a

a

o

I

o

a

.

a

a

o

o

a

a

. o o..

DEFINE

t.

r r.

r...

r.

a

'

a a

a a a a a o a a a a a o a a a a a a a a a o a a a o a a a a o a o a a a a a a a a o a

r t......

r r....

r.....

r......

I NVERT ..

SHIFT

o.........

t..........................

CO P I FILL

.

a o .

.

.

.

.

.

.

.

.

.

i ....\4

a

a

.

r

r

.

I

r

r

.

r

.

.

.

a

a

|

.

.

.

.

.

.

.

r

.

.

.

.

.

a .

a

.

.

o a .

a

a

a

a

a

o

a

a a a o .

a

a

a

a

.

.

o .

a

a

a

r

r

.

SPI,IT .. . . .. ...

SHUFFTE

.. ....

10 12 12 12 14 \

j

16 16

r. o . .. . . .. . . o. .. . .. . . . .. . . . 16

REPTACE

. . . . . . . . . . . . . . I o . r . . . . . . . o o . . . . . o . o r . o o . . . .17 . r.... o o.. r................. o.... ...17 ....... ! . . . . o . . ... 18 o o. .... . . . . .. . . .. ..... .. . .. ....

SEARCH

t.

INSERT DEIETE

[QCK PRINT

r.

o o..

o.

r........

r.

r.

r.

r.

o....

o..

o...

5:

o.

o.....

r o..............

f....18

. . . . ..

f dgntifigr

o............1

i.....

..............

PRO!{ Functiong

. . . . . . . . . . ..

E].ectroaic

. . o | . ...

. . . . . r o . . o . . . . ..

o.. r r r.....

. r...

r.......

PROc (frogran) o..

VERIFY STORE

r..

. . . . o . . . . . . . . . . . o . . . . . . r . . . r . . . r . c t . t . . . . . . . . 1$

Section ll[gnu

o o.

r.

r r r.....

o........

o..........

r.

o. r r.

o..

o..

o.

r... o.

o.

o......

..

...2O ..

.21

....21 ...22 ...2J

o............ o..

t

o......

....24

..26 r.. o. o................ ........... SUU (CUgcksum) CRC (Cyelic Redundancy o............... ....2J Check) ..28 r... o..... ... o o o........ IBC (fffggal Bit Check) BTANK .. o. o..o............................. o.. t ....2! ERASE

. ..

. . ..

El{U (nrutate )

. ..

. ...

. . o.

. ....

..

.........

! o ..

..

o . | . o o ...

.....2)

a.

r....

....2j

a...

XP64O ilanual

-

Table

of

Contents

70 30 50 50

Section 4z XP540 Iaterfaces XP540 Serial Data Transfers Word Format Sord The Serial Handshaking 0utput SeriaI Input Serial of Remote Control DI,Ii{P

,1 ,1 ,1 the

32 5t

XP640

o o. o ....J{ o......... ...... Set-Up Paramgtgr Intgraal ...76 o . . .... o . . . . o . . . . . . . . . . . PrOCgdUrg CalibratiOn . . ..J8 o . r . . . . o . . . r . . . . . . o o . . . . Intgrfaeg The Printer .. o....A1 r..... A1 /A2/A3 o o o. o.. .A4/L5

Formats o o....... r.. . '....

Data Transfer Serial A: Appendix ........,.... F o r n a t D a t a Hex Intel ff o r s fr format Exorcisgr Motorola

A6 format GP Binary A7 f o r n a t L i s t Serial ( r u r u n x ) o . A B/ A 9 . o . . . . . . . o . f . o r n a t H e x a d e c i n a l Tektronix A 1 O/ L | 1 d a t a f o r m a t T e e h n o l o g y UOS 2/L1t . r . . . . A 1 f o r m a t T r a n s n i s s i o n D a t a A b s o l u t e Signetics . . t A o . r t 4 /A15 P e r c e n t a n d A p o s t r o p h e C o m m a , S p a c e , ASCII 5 f o r n a t s B H L F ' B 1 0 F B P N F , ASCII 6 fo rna ts and Binary DEC Binary .

a

a

a

o

a

a

a

r.

o

a

a

o

a

a

a

a

aA

In.troduction XP64O EPROU Progranner to keep you ahead in=-ftrs-fasT-*o.ring Tffiffi4-ri@ device world of programmable technology. It combines both a reliable and EPR0M duplieator, video RAM editor, display nost comprehensive input/output make it to one the of sophisticated machines available anywhere. The RAM editor can be "locked at any tine out" to make the XP540 a very easy to use EPROM workstatlon. This a11ows the machine to be used by unski 1 1 ed personne 1. for 1ow vo lume production runs. The XP640 works equally in elther well true stand-alone node or your connected to computer or developnent systen. 0nce connected, data ean be transferred between the two machines and programmer the can be remo te 1y contro 1 1 ed to make i t an part integral of your workstation. XU52O Universal Prograrning trre xpe'dfs-expffirr

todule trre xu52o

nodule

to

support:

BIPOLAR PROM from all naj or manufacturers S I N G L E C HI P E P R O M M I C R OCO MP U T E R S P R 0 G R A M M A B I EA R R A Y t 0 G r C ( p . q , L s) Xi512 EPROII Enulation l{odule provides The emulation option memory. Two nodules can be connected the written from target nicroprocessor emulators.

up to

64k x B of

for 16 bit side to

Page

1

emulation

emulation. a1low its

Data can be use with

Section

1:

General

O:Sragi"g

Instructiqns

Suppll Voltage Machines sttpplied in the UK aad Europe are set to operate at 24Ov, 5QHz supply. A mains cable is supplied with the machj.ne. The cores of the cable are colour eoded as follows: Live:

Brown

Neutral:

B1ue

piugs The mains cable into the located on the rlghthand side, this connector are:

Earth:

Green/Ye11ow

XP640 via the fused connector rear of the unit. The pins on

Earth Live

Neutral

The unit is protected by a 5O0nA Antisurge nains connector. Ensure mains voltage is attenpting to replace the fuse.

Us i n g t h e To ensure points:

lllachine trouble

free

operation,

please

a/

0perate

b/

Do not direct

locate the sunlight

c/

Ensure

no metal

d/

Disconnect

e/

D0 NOT switch the the ZIT socket

t/

Check the device the ZIF socket

g/

Periodically clean the ZIF socket brush to ensure good contact

h/

the

machine

from

on a vibratj-on

nachine

parts the

can mains

machine

type

fuse located disconnected

observe

free

any source

fa11

into

supply on or

setting

Never force an EPR0M into or a zero insertion force socket

Page 2

with

of heat

in

out

of

in

use

EPROM devices

when inserting

with

or

machine

when not off

following

surface

near

the

the

in the befor-e

EPR0Ms into

a stiff

ZIF

in

bristle

socket

it

is

IIA I NS CABLE

Layout

for

the

I

xP540

I

I 18

'lTF STATUS

CHARACTER

DISPLAY

LEDS

PR OM FUNCT I ON KE YS

RAM EDITING

CURSOR KE YS

CONTROL KEYS

XP64O

REAR

i I FUgE

R9232 PORT

MAINS

UIDEO

CABLE ON./ OFF gU I TCH

Page 3

PANEL

t I

I PARALLEL PORT

The Keypad FE ffia' is divided into three separat e sec tions . (.) the right hand section is used for cursor and keyboard eont ro 1 (t) the centre section for the Hex editor (c) the left h'and section is subdivided into input/output and PROM funetion keys The keyfunctions o f t h e m a n u a1 .

are

described

in

detail

in

the

later

sections

16 Character A lphanuteric DisplaJr This is the on-board display and al1ows the XP540 to be used without a video monitor. it is used to display keyboard. commands, messages, address and data information. (current The display usually shows the eursor address address of interest) and RAM and PR0M data at that address a.s i 1 1us trated be I ow:

OOOO

FF

cursor address

RAM data

Video Di.splay A composite video output labe11ed VIDEO at the rear DIN socket

connections

is of

(viewed DIN

PROM data

message

provided at the XP540. from

machine

CONNECTOR

( REAR

1 2 1 4 5

READY

32

U I EII' )

Video out ground Signal Video out +5v do not conneet Lightpen do not connect

Page 4

the

rear)

DIN

connector

Fornat Video Display four sections:into is divided The video display type and device selected section showing 1/ A status i-nput / ou t pu t parame t e rs display line to the on-board line sinilar 2/ Data entry and address showing the cursor dnd data display Address t/ the ASCII and that address at RAM data PR0lrl and equivalent of the RAM byte. cursor. A hex dunp of 255 bytes with on-screen 4/

Discrete LEI! indicators with it. ET'e progrffii@has 5 LEDs associated the ZTF to applied when power is LED indicates The active or removed when the IED EPROMs should not be inserted socket ( tfre socket the ST0P can be powered down by pressing is on. key. ) I for the of pin the position two LEDs indicate The other device depending on whether it has 28 pins or 24 pins. selected

V ersion l{unber Firlrare 'f BUSY' NITIALISE to the XP540 an applied When power is f i;sT cheek. a systen self it performs whilst message is displayed in the nunber is displayeC the Firmware version When complete number. V X.Y READY'where X,Y is the version message'XP540

Page 5

Force Socket Zero Insertion type and will force ffie;6--l;;ertion T1€ Jocte-s a n d used c l e a n k e p t p r o v i d e d i t i s service reliable way to t h e c o r r e c t The diagram be 1 ow shows prope r ray' the socket. PROM into

Lever open, insert remove PR0M

Lever closed, fi rnly he 1d

or

PR0II is

The ZIF is designed to accomodate both 24 pin and 28 pin PR0M orientation, The diagram be low i 1 1us t rates correct

Page 6

28 pln

device

24 pin

device

give in the load a

PR0Ms.

Section

2z

Ee:

Editor

gives of the XP640 editing description a detailed This section taken one key at a time. facilities and in are given on the use of each key by itself, Exanples with other keys. eonjunctlon gives RAM editing of the available a list below The table facilities.

KEY

DECSRIPTION

STOP HEX FN CURSOR ENTER CL E A R ME}I DATA PAGE ASCII DEFINE INVERT SHIFT COPY FILL SPTIT SHUFFLE INSERT DELETE R E P T A CE SEARCH t0cK

roturn to normal mode Power d.own ZTT socket, data keys Hexadecimal editing keys key to activate Function & right move cursor up, down, left buffer from display load hex entry last hex entry clear move cursor to memory address change hex da t a a 255 byte page select display ASCII dunp on-screen & PR0M functions define a RAM block for editing data in RAM block invert data with cursor keys or to any address shift copy source block to destination fill block with a data value 16 bit to I bit spllt 8 bit to 16 bit shuffle insert data at address delete data at address change data strings to new strings accurance of data string find lock or unloek RAM edltor

in the examples which fo11ow the'DISPLAY'section ilote: display display. the on-board fluorescent The video messages, but in expanded form. sinilar

Page 7

means gives

STOP the machine to norna 1 and return This wi 1 1 stop any function ST0P the ZIT mode ready to accept new keyboard commands. After is now b lock p r e v i o u s d e f i n e d 1y is powered down and any socket undef ined.

H B X A D B C T f , A LK E Y S

(Ot 21456?89ABCDEF)

These lower case keys of hexadecinal entry accessi-b1e.

enabled are only otherwise data,

when t.he XP640 requires are not directly they

rr (ruxcrrox) key is used to enable This RAM editing prior to any or accidental unintentional Select

tsxanple:

key and must be used any editing prevents use Its function. e d i t o r . use of the

page 34 for

disPlay

KEYPRESS

DI S P T A Y

MEANING

FN PAGE

FN P AG E PAGE-54 1400 FF

is enabled RAM editor prompt for page number enter the page number is 3400, address cursor data FF, no PROM data

54 ENTER

RAM

cuRson to move These are the arrow keys and ean be used at any tine o n ce will k e y t h e P r e s s i n g r i g h t . l e f t o r the cursor up, down, d o wn will k e y t h e c u r s o r p o s i t i o n . H o l d i n g one move the cursor r e q u i r e d . a s t h e c u r s o r m o v e continuously Exarple:

Move cursor'right,

KEYPRESS Right

arrow

up

MEANING

OOO1 FF FF

eursor inerement one cursor increment 16 ( t s c r e e n l i n e ) cursor decrement one eursor decrement 15 (t screen line)

001 1 FF FF

arrow

0010 FF FF

Up arrow

1eft,

DI S P L A Y

Down arrow Left

down,

0OOO FF FF

Page

I

address

by

address

by

address

by

address

by

fote |

1/ The cursor address is shown followed by RAM data and P R O M d . at a bo th are hex FF in this example. 2/ The video always shows a dump of RAM data. PR0M data at the corresponding RAIr{ cursor address 1s also pR0M data shown. If the is shown as '--' then the cursor is outside the range of the se lected EPROM (i.". no PR0M data is available).

Ef,TER This i-s used during the course of hexadeeinal data entry. E.g. address and data inf ormation, Fi11 parameter, lock cod.e. 'YES' It is also an inplied k"y to reply to questions asked by the XP640. The XP540 will only act on the data entry once the ENTER key has been pressed.

CLEAR This can be used to clear a hex entry E.g. if been made. it is also used as an inplied'N0'key response to q.uestions asked by the XpG40. Exanple:

Move the

cursor

to

address

a mistake has for use in

O13F and correct

KEYPRESS

DISPLAY

MEANING

( rll;

o13c

A D D R ES S ADDRESS-o1'C

CLEAR F

ADDRESSO15

ENTER

01 3F DE FF

pronpt for memory enter address but is wrong last entry eleared 0K now enter th digit eursor address is data DE, PR0M data

MEM

ItEt{ (ilerory

mistake

address last digit

e

correct 01JF, FF

RAM

address)

This moves the cursor to any RAM address within the 64k x 8 user RAM. The base address of the RAI'l is 0000 and corresponds to PR0M (Ztp) add.ress 0000. The last address of the RAll is FFFF. The last address of the PROM depends on the size of the device selec ted.

Page 9

Move eursor

Eranple:

to

address

FFFF.

KEYPRESS

DISPLAY

MEANING

( rr ) r{EM

ADDRESS ADDRESS_FFFF FFFF FF READY

pronpt for new cursor address enter the address cursor is now at FFFF, RAM data is FF but no PR0M data available is because the selected device is smaller than the RAM

I'FF F ENTER

f,otez

1/ Blanks are shown in the PR0M data field i f the cursor adtlress is outside the range of the PR0M. 2/ The cursor, can also be noved with the cursor contro I keys or the page select key. I f no hex address entry is nade and ENTER is pressed 5/ the XP640 wi 1 1 substitute 0000 as the required address as shown be 1ow.

Exanple:

Move cursor

to

address

0000

KEYPRESS

DI S P L A Y

MEANING

( FN ) IvrEM

ADDRESS-

ENTER

O O O OF F F F R E A D Y

pronpt for new address no address entered substitutes 0000 cursor address. PROMdata is FF.

cursor so XP540 at ne!r RAM and

DATA This comnand address.

a1lows

keyboard

entry

P a g e 10

of

hex

data

at

the

cursor

;r'lit.lii

Change data

Exanple:

at

address

8000,

8001,

8002

KEYPRESS

DI SPLAY

MEANING

(FN)

ADDRESS_

pronpt for address enter address address cursor data is FF prompt for data enter the d.ata noved cursor address r €trter keep entering will increnent entry

MEM

8000 ENTER

A D D R E S S8 0 0 0 READY 8000 FF

( F N) D A T A 01 ENTER

8000 FF 80OO FF 8001 FF

Ot

2t

BO01 FF

23

ENTER 45 ENTER STOP

8002 BOO2 8OO' BO05

ilote:

If no hex XP640 will

FF FF FF FF

to

01,

45

cursor

new

is

27,

8000,

RAM

entry next to data data, cursor after each

+S n-nAny

data

entry

terminated

entry is nade & the ENTER key is pressed, substitute 00 as the data as shown be1ow.

the

Exanple:

KEYPRESS

DISPTAY

MEANING

( F N) D A r A ENTER

BOO' FF 8004 FF

LEFT ARROW

BOO5 OO

STOP

800,

prompt for data made so XP640 no data entry increments enters O0 and curso r ehange review data entry data entry is required data entry terminate functi-on

f,ote:

O0

READY

data entry 1/ keys can be used during The cursor move to a new add.ress mode is terninated the ST0P key 2/ Data entry with

Page 11

to

PACE the to the MEM key but positions identical alnost This is p l a c e d p a g e . T h e c u r s o r i s 2 5 6 b y t e t h e s t a r t o f a a t cursor v i d e o . t o p l e f t . o f t h e at the Exarple:

Select

page 83

( ptt

cursor

at

address

8r0O )

KEYPRESS

DI S P L A Y

MEANING

( F N) P A G E 81 ENTER

PAGE PA GE-83 8r0O 49

pronpt for page number enter page to address cursor moved no is 8r00, RAM data 49, (Ufanks PROM data available in the PR0M data field)

READY

ASCIT Provides an ASCII dunp of the on- screen hex dump. position by a corresponding is shown The eursor (inverted video) in the ASCII dump. This function connected to the XP540. usable with a video monitor

cursor is only

DEFTtrE block define function for use with many of This is the powerful and the PR0M functions defines the start and editing keys. It end address of a RAM block. the a block using There are two different ways to define cursor keys or using the hex keys. Exanple:

Define

the

block

0000

lFFF

using

the

hex keys

KEYPRESS

DISPLAY

MEANING

(fN)

DEFINE_

pronpt address of for start I RAM block address enter the start pronpt for end address enter the end address block is now defined press FN prior to an edi ting limits are command and block shown edit command terninate

DEFINE

0000 ENTER 1F F F ENTER FN

BIOCK 0000 BLOCK OOOO: BL0CK OOOO-Tfff B L O C K 0 0 O O - 1F F F FN 0000-1 FFF

STOP

875D 43

READY

P a g e 12

(FN) key the function then a block is defined If 1/ prior to any block limits the d.isplay always will those reminder that is usef uI command. ( tfris editing do so). gditing that can act on a block will functions bloek a defined can be moved through 2/ The'cursor as a by DEF-D (aefined) the READY message being replaced the block is defined. that reminder keys the PROM function has been defined, a block If 5/ and the function address, for a R0M start wi I 1 pronpt act on the b1ock. will but is undefined, the block When ST0P is pressed, 4/ and are stil 1 available linits entered the previously ( f U ) E N T E R . DEFINE by the key seq.uence can be recalled l i n i t s (i.e. manual 1y entering without a block define entered. linits). the block using the last define will editing to use the block A block need not be defined 5/ ( f U V E R T , will as these C0PY, FILL) SHIFT, functions no is there if pronpt and end addresses start for n ot 1 wil but a PROM function block previously defined a re Iimits block their addresses Iince pronpt for block ( s e e PROM and end addresses to be the PROM start taken function). until ST0P is pressed. 5/ A block remains defined is it unless of the block is not part The cursor 7/ as shown in the fo 1 1 owing the b I ock, used to define example.

fote.

data blocks large for defining example is typical The previous p r o g r a m' copy a e.g. block the PR0M functions use wlth for to RAM ete. PROM block can be used to example shows how the cursor fhe following blocks. define the

Define

Exarple:

bloek

2000 using

1I'FF

KEYPRESS

DISPLAY

I{EAN I N G

(FN)

ADDRESS_

pronpt address

MEM

1T T F ENTER (fU) DEFINE RIGHT ARROW

A D D R E S S1F F F 1F F F F F F F R E A D Y DEFINE 20OO fF FF *1FFF

ENTER

B L O C K 1F F F

Iote:

The cursor block

can

for

cursor

new

cursor

put cursor a t 1F F F prompt for block start XP540 flxes nove cursor, o f the t a r t a s s address I FI'F blo ck the block has been defined

2000

be moved

the

in

Page 13

any

direction

to

define

a

ItrYENT This is useful on the data bus -

data in a RAM block Inverts buffers which have inverting Invert

Erarple:

the

data

in

the

block

microsystems

for

OOOO

001 1

S KEYPRES

DISPTAY

MEANING

(fU)

DEFINE_

pronpt address for start block to be inverted address enter the start pronpt for end address

INVERT

BLOCK OOOO BLOCK OO00-B L O C K O O O O - O Ot 1BIOCK OO0O-OO1 I N V E R TI N G DONE

OO0O ENTER oo1 1 ENTER

of

the block define bu sy inve r t ing complete function

as part of the was defined the block 1/ In the exanple, had previously the block however if INVERT function, (using DEFINE), then no pronpts would have been defined appeared for the block linits' until ST0P is pressed 2/ The block remains defined

ilote:

SHIFT shifts function This keys or direct cursor overwriting without is transferred. block through the RAM. Exarple:

Shift

the

through block defined addr€ss. to the cursor Data of data. or loss as side to the other

a

block

0000

0001 to

address

K E Y P R E SS

DISPLAY

MEANING

(FN)

ADDRESS_

pronpt address

MEM

FOOO ENTER (ff) SHIFI

A D D R E S SF O O O REIDY FO00 C3 DEFINE

oooo

B r o c Ko o o o

ENTER 0001 ENTER

BLOCK O00O-BrocK 0000-0001 BLOCK 0000-OOO1 SHIFT T0 f000

ENTER

BUSY F000 D9

DONE

Page 14

memory using the Data is shifted of the in front moves the block

for

F000.

new

cursor

put the cursor at FOOO pronpt for block start prompt de fine data eursor shift

for

block

end

the block to shifted be can ( see note ) position complete

Iote

2

" a hex is displayed 1/ When the message "SHIFT T0 to where the block is can be mad.e as the address entry pressing the to be shifted. ENTER (r" in the exanple), is used. as the shift address. cursor movements the cursor keys can be 2/ For'sma11 shift " message used to move the b lock when the "SHIFT T0 is displayed. the define could have been defined using The block 5/ function When shift is complete, the block remains defined 4/ until the ST0P key is depressed

coPr the RAM. When a This command will copy blocks of data within h a s b e e n t h e h a s copy completed, source data not been changed, but has been duplicated at the destination address. The copy 'intelligent' command is in t h e d e s t i n a t i o n block that if m a d e a t the overlaps s o u r c e b 1 o c k , t h e n a c o m p l e t e c o p y i s the been destinatiorrr the source having overlap obviously overwritten. as part The data block can be defined of the COPY command. or usi-ng the DEFINE function. Erarple: at address

Copy the 10O0.

block

fronn 0000

to

0800

the

KEYPRESS

DISPLAY

MEANING

(FN) coPY

DEFINE

prompt for address start

0000 ENTER o800 ENTER

B L 0 CK 0 0 0 0 B L O C K O O O O: BLOCK OOOO-OEOO COPY TO FOO2

10 0 0

c 0 P Y T 0 10 0 c

ENTER

BUSY 1000 F4 1A DONE

pronpt

for

area

starting

source

block

block

end

pronpt for destination to use the address or option adddress (rOOe) cursor 1000 as but enter address required been copled, block has RAM and is at 1000 cursor PROM data are different

tote: exanple the cursor f n this was at address F002 and would have been used as the destination address if ENTER had been pressed when the 'COPY T0 F002 ' prompt had appeared .

Page 15

FILL Menory speeific

is fill value.

Erarple:

Fil1

used

the

to

fill

RAM block

a1 I

0125

or

part

of

0254 wi th

the

RAM with

0A

K E Y P R ES S

DI SPLAY

MEANING

(rr ) FrrL o12'

DEFINE

pronpt

fo r

block

start

ENTER

B L o C K 0 12 5 BLOCKO125-6214_ B r 0 c K 0 1 2 7 - O 2 34 FILL WITH FILL WITH OA B U SY DONE 0 12 3 O A

pronpt

fo r

block

end

define pronpt

the for

block parameter fill

o234 ENTER OA ENTER

ilote:

B r o cK o l z l _

a

with 0A block is fil1ed the start is at cursor the block

of

the DEFINE using have been defined could 1/ The block function the ST0P key until remains defined 2/ The fi 1 1ed block is pressed

sPtrr type by the device as specified the RAM block divides This in i s s t o r e d two. Al 1 data at even addresses into selection i s s t o r e d d a t a odd address and all of the b1ock, the lower half in the top ha1f. the RAM 15 bit data had been loaded into if is that The effect (from the serial 2 can be E P R O M s port) t h a t so it can be split the a d d r e s s e s ' e v e n t h e d a t a a t progranmed one containing : data at odd addresses. containing other

SHUTTLE This is the converse of SPLIT. of shuf f 1e is to interleave The effect data in the lower with of the block bit shuffle. by the l,imits are defined The block menu.

P a g e 15

the half device

data in the top half to B a 16 bit i.€. selected

from

the

(also

IISBBI

aee DETETB)

a free byte (FF ) at any address in the RA{. Inserts cursor at the current the RAM starting The XP640 searehes (f bytes at FF). address for the occurance of 5 unused bytes back at FF is shifted byte found, the first space'is free If address. The data the intervening data to the eursor through the DATA function. using can now be nodified address at this pressing ENTER wi 1 1 0nce the INSERT mode has been entered, bytes as of ten as req,uired. there are no free if insert free a'N0 cleared, SPACE'message is bytes or the RAM is completely displayed. To exit from INSERT mode, press ST0P. data at address 001O. Exarple: Insert exanple assumes the RAM is eompletely This at address except for 5 free bytes starting

KEYPRES S

( fn )

INSERT

ENTER

with

data

DISPLAY

MEANING

0010 0O FF READY

at cursor fo"ition insert address locating free bytes insert complete 1oca t ing free by tes no free bytes available

the

BUSY 0010 FF FF INS' 0 0 10 F F F F B U S Y N0 SPACE

No data has been lost f,ote: byte block has been shifted ro further addressr insertions no more free space

DELETE

fi1 1ed 0010.

FF in the 5 or added. The first cursor memory to the through because there was were possible

(t t so see IilSEBT )

there are at least any byte in RAM provided Deletes 5 bytes of search for address. The XP640 will free space above the delete to the and working address at the cursor free bytes starting address the data at the cursor top of the RAM. 0nce found., down one data will be shifted be deleted intervening will be added to the free bytes block. address and an FF will Erarple: completely 0007.

De lete data at 0005. This exanple assumes the RAM is at 0000 fi11ed for a data block with FF except

KEYPRESS

(r'N) Derntg ENTER ENTER ENTER

DISPLAY

MEANING

OOO5 O0 FF READY

cursor addresS

oooS oo FF O O O S0 0 F F 0005 FF I'F O O O SI ' F F I ' N0 SPACE

delete first deLete again and again

DEr' DEI' DEL' BUSY

Page 17

is

at

the

delete

byte

possible no nore deletions da ta f"on cursor to top all of RAU is at tr'F

-

NEPLACE ( a l s o a Replaces occurances to the new The search towards the

aee StsARCE)

data string a new data string. with Any number of of a string ean be foutrd, (see SEARCH) and changed string. Maximum string length i s 10 b y t e s . for'strings begins at the cursor address and works top of the RAM.

Eratple: Replace the data strings This example assumes that the RAM is the 2 strings of 01 , 2t at addresses KEYPRESS

at OO1O, OO20 to 45, fil1ed with FF except 001O, 0020.

DISPLAY

MEANING

0OOO FF FF READY

position

( r,,n ) RE'LA'E FrND

ll:-;:

cursor

to

start

;::"iri:il"1"r.

6 ' 1. for

of

to be

found

o1 21 ENTER 4557 ENTER

FrND 01 23 REPLACEWITFpronpt fo r new s t ring da ta REPLACEWITH 4r 67 HOWMANY SWOPS_ prompt for the number of string changes H O W M A N Y S W O P S2 BUSY busy searching DONE all required strings have been replaced with the new s t ring OO2O 45 FF READY cursor is at the s tart of the last string to be reDlaced

2 ENTER

STOP

Iote

2

SEARCE

1/ The maximum string length that can be changed bytes 2/ Any number of strings can be replaced

(also

is

1O

see REPTACE)

Searches the RAM for the occurance of a specified data string. The search starts at the current cursor address and proceed.s ' until a match is found with the specified string. Subsequent or previous string occurances can be found by usi-ng the cursor right and cursor left keys.

P a g e 1B

Erarple: Search the RAI,Ifor the data strings 3Q, 51 . This example assumes that the RAM is f111ed with FF except two strings of 1Q, 5l at addresses 0010, 0020. K E Y P R E SS

DISPLAY

MEANING

0000 r'F FF READY

position at RAM start cursor pronpt data for string

( rlr ) SEARcH 3O t1 ENTER

FIND FIND-30 BUSY

RIGHT ARROW RIGHT ARROW

0 0 1 0 5 o F F N EX T 0020 30 FF NEXT 0020 10 FF BUSY DATA NOT FOUND

tote: bytes.

for

51

The maximum string

-

1 ength

search for first string found it at 0010 next string found no more strings that

in

can be searched

RAM for

10

is

LOCK This useful comrnand will lock out the RAM edit or to prevent personn e1. The PR0M aecidental use or use by unauthorised functions and cursor keys are not inhibited. the editor. A 4 digit code is req.uired to loek and unlock Exaple:

Lock

and unlock

the

editor

with

c o d e O 12 1

K E Y P R E SS

DISPLAY

MEANING

(rr ) LOcK o125

pronnpt for

ENTER FN

L O CK LOCK-A123 OO2O 3O FF READY UNTOCK-

o12t

OO2O 'O

fhe

PBftf

all

editor is locked out pressing FN asks f or unlock code editor unlocked

Key

Thi-s keJr outputs parallel port. for records with 0nce

FF READY

code

data in the currently The key requests start address fields it also

parameters

have

been entered,

Page 19

selected fornat via and end addresses, asks for an offset. it

will

print

the

the and

data

I I

I

Section

7z

PROI{ Func tions

i

I I

t-I I

keys - a the PROM function below brief 1y describes The table in this section. explanation is glven later detailed (""cept on a BtANK, ERASE, MENU, EMU) operates Each function u s e r d e f i n e d b l o c k o f d a t a i n t h e R A I V Ia n d d e v i c e s o c k e t . on the has been defined, then the function operates If no block RAM area. corresponding whole device and its KEY

DESCRIPTION

IBC

Perforn an i11ega1 bit check" on the PROMusing RAM block data Calculate the cye I ic redundancy check value for the eomplete PROM or a specified RAM block Calculate the checksum of the complete PROM or a speeified RAM block Copy PR0M data at starting the speeified address to the RAM block Verify PR0M against data RAM and show error Program the PR0M at any specified address with the RAM block Performs a blank check on the entire device Electrieally erase EEPR0Ms Device table Enulation function

cRc SUII{ STORE VERIFY P R OG R A M BI A N K ERASE MENU EMU

Note:

1/

The block is defined using the DEFINE key and defines a RAI{ block 2/ If il bloek is defined, the function will operate on the whole PR0II and the correspond.ing RAM area address is outside the range of the 3/ If the PROM start deviee selected it will be rejected and req.uested again

Page 20

tenu

(device

selection,

Electronic

ldentifi-er)

type to the particular XP640 must be set up to correspond The The device type is selected of EPROMto be read or programmed. up, down keys or hex keys. using the I{ENU.key and the cursor the current display the MENU key the machine will By depressing to defa,ult as new will The XP540 when supplied EPROMselected. value can be changed at default however this 2764 at power on a n y t i m e ( s e e S E T P A R A M E T E R)S. step the cursor up or eursor down keys will either Depressing the EPROMlist. through the display 0nce the req.uired dev j-ce appears in the display, Press ENTER to it. select A Device selection by ENTER. eurrently The section status

can also

be made using

hex keys

the

device number always seleeted of the video display.

device the correct To select listed overleaf. two tables

from

the

device

appears

in

the

to

the

of side the right. the top of

the

menu, refer

hand on the left are listed PROI,I manufacturers to devices are listed page, and their respective at for the XP640 is listed selection The correct page in the 1ine labe 11ed DEVICE MENU.

followed

the

in the device menu. duplicated are apparantly Some devices 2764A & 2764Q. 2764N, 2764f, E.g. nethod (tf , A or a ) ref ers to the programning I, suf f ixes The EPR0M the by as stipulated devices by those req.uired manufa eture rs N I A a

= = = =

( iOts pulse ) Nornal program programnlng Intelligent 'A' version of standard INTET Fuj itsu Quick Pro programning

part nethod

you are to natch the XP640 with the devices is inportant It program in the same way as I 2764L does tof progranning E. g. a 2754. if or inadeq.uate progr&mming nay result to the devices Danage is used. set!foS the incorrect I dentifier Electronie high speed programming EPR0Ms now provide ffiaffi (".g. INTEL's identifiers with electronic along algorithns 's signature ) . silicon identifier, SEEQ intelligent to device to match the selected are provided These identlfiers p r e v e n t nain use is to Its high speed. algorithn. the correct n o n on progranming algorithm high speed of a the use t h e (and thereby possibly under-program devices intelligent device). from the menu, the user is device is selected If an intelligent ier. identif algorithrn glven the option to use the electronic N0 "AUTO SELECT ?" key CLEAR fo r tne pronpt respons e to In ( don't ier)- ot ENTER f or yes (use identif ier). ,r"" the identif

Page 21

r€ g f*

o c+ F d P o

|| o

u

l| H

x

?a (: @

t2

ul

H' E o

F

o el x(

o

FI H

t ut ()

tr|

|| t{

o t

il F F

E H

t

u

ti

tl o € c' !d o Fr

r H

}|

GO cl trt

H I

EI

||

H

F

el

u!

||

ri

€ }| 3a H

ao

H

H @

trl H

tl

hl cl l,

I I

tt

ct I l-t

ai G rt

o

{ht o

o



It

t tr

g |t t o

It o F

o o !l o E I

Fl

F

o o d

o o 5 o o B

Ft

N

t u ru vl o o

ts P

o F'

vt o o

Fn t:t

o B

N il

t\) -l \tl

E I It I ,t D

\'

o

o

() it E

tu

r\)

-l \tl

-l \JI @ td

F

o r':l @

o

E

g I

Itt lil

t; to

lr lFl

-tr

l\) -l

tr Il o

Ot

c iu t l\)

-:

47 =t c) fu N' -,J --1 r

c) o\

Ol

@

tt

Ol

-T c) c) !t tu ru *l -.1 ro\ Or

E \'l

tst l\) -J

t\) -it o\

Or X

trt 4 5 Ol t! -l

F3 N)

\'l

o\ Clt

t\) _jl

N il

l> lut IF lF

o\

o\

lr

C)

o\

ru

o n F

o o

N

@

o

\n

\'

l

ll

ltr

o frl o ar

I

I

I

()

o H l'.

c) E I

H H

o

() o trl

-

Er

F gt I l-t

Fl

rt sl t T

l.o/ u2

a " indicating outputs the pronpt that it is ready to receive eonnand . by typing all or part of the menu Connands are entered conmands, following by a carriage return. If you enter an anbi guous command the XP540 wi I I in te rpre t i t as be ing the matching flrst command in the Menu. The Comnand Menu is listed below: COTTTXD OPERATIOT II{ENU; Def ine a block SHIFT; a block Shift FILL; a block FilI data MERGE; Conbine 16 bit DELETE; Delete byte at cursor FIND; Find string D A T A; Data en t ry D U MP ; H e x d u n p o f m e m or y memory INVERT; Conplenent COPY; Copy a block SPLIT; Split 15 bit data INSERT; fnsert FF at curreat cursor REPTACE; Replace string llEll; Define cursor address gurrent page P A G E; D ef i n e print PRINT; Parallel SOUT; Serial output VERIFY; Verify device against RAM CHECKSUM; Checksum BITCHECK; Illegal Bit Check ERASE; Erase E E P R O M gd e v i c e s PARATLEL SELECT; Select list fornat STATUS; List XP64O status SIN; Serial input PROGRAM; Program devj.ce STORE; Copy device data into RAM redundancy cheek CRC; Cyclic B T A N K C H EK C; Blank che ck ' DEVICE SELECT; Device selection El{UtAfE; Enulation function tOCAt; Return command,to XP640

Page 72

All the

functions following

'H, = trgrt = rrTrr = rfYrr =

curgor cursor cursor cursor

work in addition

the same rray as in 3 The cursor keys

the are

mode, with loeal as: lnplemented

right left up down "Q", to by keying nay be terninated redisplay " A B O R T E D" a n d t h e n i t w i l l

A func tion reply will

which the XP540 the prompt.

is nade by typing fornats of device and parallel Selection the selection s e l e e t ing a f t e r f o r n a t the name of the device b y displaying t h i s s e l e c t i o n XP640 confirns The mod.e, ehoice. pronpt ready The inf ormati-on. AAAA Cursor address B I O CK \ I X Y Z

ABCD

is

displayed

DD

PP

RAI,I data

together

with

cursor

and

in your

block

XTZ&B

PROM data

Machine status

BIock

limits

d.ata. hexadecinal DUilP is used to display will it once given a d d r e s ses, e n d a n d p r o m p t s f o r s t a r t It by interupted Dunp noay be print data on the screen. Hex end to stop at the CT R I - S w h i c h w i 1 1 c a u s e t h e d i s p l a y keyiag line. of the current ende d re turn or n a y then be resuned wi th a carriage d u n p The "Q". with

Pag-e 15

Paraeeter

Iaternal

S e t-Up

( other systen parameters of the XP540 operating All key. The are set up using the port type ) device the menus being visible with is menu driven selection display. and the vacuum fluorescent the vj.deo display

the than paralneter both on

displayed, wit,h a complete menu is the video display 0n line by a cursor on the active indicated selection current only display shows fluorescent vacuum menu. The the is hand side of each menu line On the left line. current gives the line number of the menu entry this digi t number, H E X A D E Cr l , I A L ) . Se1ec tion tethod required

from

the

menu nay

be made in

the of the a 2 ( io

one two ways 3

to the Up and Down cursor keys 1: Use line of the menu and press EIITER to select

select it.

the

line desired the 2z Press the HEX keys to select tethod p r e s s e d d i s p lay the hex key is soon as the first numb€r. As for ". "SELECT The CLEAR and ENTER keys are used as show mad.e, the is selection hei entry. f f an i.nvalid all other ". with "SELECT beep and repronpt XP540 will All of the return To selected.

Iain

Port

to the main o€nr. control sub menus return I should to the XP540 ready mode options 7 or

lenu

00 o1

BAUD RATE SERIAL FOR1UAT

o2

04 o5 o6

PARAttEt FORMAT W O R D F OR I I , I A T E I I { U t A TI O N KEYBEEP STATUS

o7 o8

CA I I B R A T E SET PARAMETERS

0g

END

ot

be

speed set up serial transfer data selec t serial fornat print ilata format select set up serial word fornat emulation select I or 16 bit sritch keybeep oa/off status nenu display of current ( no thing may be change d ) procedure calibrate paramters internal in save EEPR0U and re turn to c omnand re turn to c ommand 1eve I

Paee 74

The baud rate, seriar for.ngt & parallel forrat lists of speeds/ fornats which ,iy t" selected. The rord foraat These are:

optioa

goes

DATA BITS STOP BITS : TEST PARITY ? ODD PARITY ?

to

main

a series

of

The status

option

oo o1 o2 o, o4 05 o5 o7 o8 og OA

the

The ealiblatg voltages of the

the following

( aids

(aids

set parareterg saves the so that they wi 11 always

or

16 b i t s

use

use

with

with

dlsplay to showthe !h" ' , s r e c r l n^'l::ush g ;:i:ll:: any optio n cau""u a

optioa xio+0.

g

display:

Deviee type Baud rate ,,SERf Message saying AL,, fluorescent di"pf"y) Serial format saying " p A R A t t- E L,, {?usage uu fluorescent di;playjv t Parallel fornat Stop bits Data bits Parity H a n ds h a k e Enulation

maj.n menu.

is

(gNrun = yEs, SLEAR= $o )

gi.ves

:l:,.:l;"o;.1;I:,:::.0"'

q.uestiorrs.

7 or 1 or

The erulation optioa asks whe the emula tion the appropriate v a r u e s r r o ; i ; i h : b. e entered. The keybeep option asks: KEYBEEP ON ?

present

8) 2) (nurnn = yEs, CLEAR = $O) ( only if yES to above, then ENTER = yES , CTEAR = , ( E N T E R = Y E S , C T E A R = N O) N0) menu )answer \answer

H A N D S H A K E? Returns

through

options

allows the user s;;- ir," sec;i;;

to check the on ealibrati.on.

selec tion nade in the internal be recal led on power up.

return

to

internal

EEPR0M

ll; .;:3 ;3f':1,,!ot;:f,'l;",11"rfr;;l;:ewith the new parane ters

Page 3j

Callbration

Procedure

The XP540 is All tining controlled controlled

a precision

made machine.

for' program pulses, set by a Z8O Microprocessor and fixed.

T h e p o w er s u p p l y v o 1 t a g e s a r e they leave the fac to ry

up tines and are

pre s e t

ete. are therefore

and computer

software crystal

tested

These voltages nay need adj ustnent f ron tirne to time. Before attenpting to calibrate the XP640, first check is required: Selec t CATIBRATE from the port menu. Follon voltage Move to To exit

the sequence as specified. the next step from calibrate

of

steps

listed

below

and

gain To aecess to the potentioneters, eover Please fo11ou the instructions in the XP54O Users Manual.

2/ glven

that

measure

it

the

by pressing t h e U P A R R O Wk e y . 'STOp' mode, press .

If one or more of the measured. voltages are specified in the table then repeat the procedure preset potentlometers numbered belor.

NOTE rhere T calibration electronics

before

are dangerous voltages should only be carried engineer or technicisrr.

When reassernbling the in the users guide.

remove the XP540 top on its removal as given

inside oirt

XP540 please

5/

the xp54o and by a eompetent

fo1low

Danage caus ed by inc o rre c t calibration dismantling of the XP640 will void the warran ty .

Page t5

outside those and adj ust the

the

or

proced.ure

inexpert

table:

Calibration

Step Nunber

Pin Nunber

Lo Volt Linit

Hi Volt Linit

Adjust

One Two Three Four Five Six

28 28

5.90 4,80 24.7O 2O.7O 11.70 4. go

6.20 5.2O 25.5O 21.5O 12.40 5.2O

1 4 6 1 2 5

Seven

to be Measure the pulses on pin 27 of the eopy socket mark space TTL pu l ses of 1ras (.pprox). This checks ("*ysta1 is 0K to that the system clock controlled) guarantee is possible software timing. No adjustnent or should ever be necessary.

To

exit

f rom CAIIBRATE mode,

Po tentione

ter

press

'STOP'.

I dentification

POTENT I OI1ETER

Page 37

1

2

3

4

5

6

I BENT I F I CAT I ON

The Pri.ater

I nterface

Ge n e r a l The XP54O printer interface is a parallel interface.It is conpatible with the Centronics type port which the najority of printers are eq.uipped with. The data is transmitte,d in standard ASCII code with the 8th bit set to a zero. Carriage R et u r n s and Line Feeds are sent at the end of each I i-ne. Co n n e c t i o n ffirportisthe26pinIDcconnector"ontherearof the XP54O. It nay be eonneeted to any Ctsf,TnOffCS type printer via an IDC/CEITROIICS cable. The pinout of the connector is shown in the table below:

i PrN i STGNAL 1 2 5 4 5 5 7 8 9 10 11 12 15

STROBE DATA 1 DATA 2 DATA ' DATA 4 DATA 5 DATA 6 DATA 7 DATA 8 NC BUSY NC NC

T h e Ce n t r o n i c s

i PrN i 14 15 16 17 18 1g 20 21 22 2t 24 25 26 Type

SI G N A L ThIISTED PAIR TWISTED PAIR TWISTED PAIR TWISTED PAIR TWISTED PAIR T I f I S TE D P A I R TWISTED PAIR TTISTED PAIR T W IS T E D P A I R TWISTED PAIR TWISTED PAIR CND NC

Printer

Pin Out of The Ceutronics

G R O U N D( p r u 1 ) G R O U N D( p r u 2 ) C R O U N D( p r u t ) G R O U N D( p r u 4 ) C R O U N D( p r l r j ) G R O U N D( p r u d ) G R O U N D( p r r 7 ) G R O U N D( p r u 8 ) G R O U N D( p r t l 9 ) G N O U N D( p r r 1 o) G R O U N D( p r n 1 1 )

Port

Connector

oifE-TiEE"r""" srnoBE an active low output sffitrE-illT!"[t to indicate that there is valid data on the port, BUSY rhen this input is high the XP540 wi 11 not output d.ata. It is used to indicate that the printer is not ready to receive data. DATA | -8 these 1 ines carry the output data. CfD all of the ground lines are linked to the Xp54O systen ground. Problens paral 1eI interfaces wlth often stem fron bad ground.s, hence ensure that al l grounds are connected,

Page 78

T i.ring

Diagran

f or

the

Centronics

Port

Frrrrllr.

il1

lr I I

c.*rrrrrr4 i -ll

flrr

n$?tz9

Pin

Connector

f,are

trb.rtnt

Pinout

Direetion

1 2 5 4 5

Protective TXD RXD RTS CTS

7 20

Signa 1 ground DTR 0uT

De s c ri.pti.on

ground

OUT IN OUT IN

Page 79

0utput data fron P9000 fnput data from P9000 Pai red wi th DTR Handshaking i-nput ( contro 1s data output) Handshaking output (eontrols data input)

Iatel

Eer Data Forrat

Ge n e r a l The Intel Hex format is a widel y used fornat for the transfer of binary data. ft transnits the data as short data records ln ascii eode each, record having a checksum in order to ensure integrity of the data. record There are several types within the definition of Intel Hex, but the XP640 only uses three of them. These are: type 00 -data record, type 01 the end of file record"and type 02 the record. extended address the XP540 receives If aay other just records it discards them. Data

Intel Byte

Record

( type oo )

Forrat

(: ) delimiter

1

Colon

5

Nunber of binary bytes of data maximum is 32 binary bytes (64

5

Most d . at a .

significant

byte

of

the

start

address

of

the

7

Least data.

significant

byte

of

the

start

address

of

the

8g

ASCII

zetoes.

"record

10

Data bytes. Each binary byte is eharacters each one representing Hex representation of the byte.

Las t

cR, LF

The

type"

ln this record. ASCII bytes).

for

a data

The

reeord..

two sent as ASCII one nlbble of the

two bytes Checksun of all bytes in the record, excluding the deliniter, carrlage return and line feed.The checksum is the negative of the nodulo 255 binary sum of all of the bytes in the record. Carriage

re turn ,

Appendix

A:

line

Page

feed. .

Inte1

Ertended

Byte

1

address

Colon

(r)

2

3

"O2" The

4

5

ASCII

6

7

Record

8

9

10

CR,LF

deliniter reeord

1ength

zetoes type

"O2"

Cheeksum of all bytes in the reeord, exeludlng the deliniter c s r r i a g e return and line feed.The checksum r is the negative of the nodulo 255 binary sum of all of the bytes in the record,. Carriage

fntel

End of 1

File

returnrline

Re cord

Colon

(,)

zeroes.

J

ASCII

4

5

Most significant by XP540 ; set

(f yp"

to

6

7

Least significant by XP640 ; set to

8

9

Record 11

CRtF Iote:

type

Ol )

01 .

byte of transfer zetoes). byte of zeroes).

Indicates

transfer

end of

Cheeksum. Carriage

all

feed.

deliniter.

2

1O

02)

USBA Upper segment base address (tfre 'top 15 bits of a 24 bit address) ft is used in Intel's 15 bit data records. If no 02 records are sent the USBA is set to zeto. ff a USBA is specified then the botton 12 bits are added to the of f set address of the data record.s. 11

Byte

(fyp"

record

ASCff

return,

eode

Appendix

line

i-s sent

A:

as

Page

feed,. seven. bits

2

address

address

record,

( not

used

(not

used

An Eranple of Intel Eer. Given the da ta s t rean 25 45 AF B1 D0 77 to be sent as an InteI Hex Reeord to s tart at address 0000. The Reeord would be: : 0 5 O O O O O205 4 5 A F B 1D O 7 7E B < c R > < I , F> Whi ch nay

be broken

Deliniter Nunber of Bytes in Start Address High Start Address Low R ec o r d T y p e Data

d.own as : : the

05 00 o0 00 23 45

Record

AF B1 DO

77

Checksun cR,LF

Where the

EB OD OA Checksun

is

calculated

as

fo 1lows :

C S = 0 6 + O 0 + 0 0 + 0 0 + 2 5 + 4 5 + A F + B 1 + D O + 7 7+ - - 1 15 =15 ModuIo 255 =EB Negative N.8.3 The Hexadecimal

above

Upper

Base Addresses

Segrent

ehecksum

calculation

was

Derforned

1n

(USne)

The Intel Hex records nhich nay be received by the XP64O nay be either the stand.ard 8 bit ( record types O & fornat 1) or (additional the extended 16 bit fornat reeord type z). The USBA is a 16 bit number which is used to set the current (This segnent base. terminology is derived from the fntel 8086 ). fn effect this means that the 16 bit number is shifted right four tines a n d a d d e d t o t h e 15 b i t address of the type O data records. This results in a 24 bit address. The XP54O only actually uses the 15 least significant bits.

E.g.: USBA = A D D R E S SI N D A T A R E C O R D = A C T U A TA D D R E S S0 F D A T A =

1 257H 1114H 12 5 4 0 H + 55r4H 15674H

I N T H E X P 5 4 O T H T S W O U L DB E

Appendix

A:

Page

5674H

f,otorola

Eroreiger

or

'S'

Fornat

General ''S, E[e I,6toroIa for.mat provides for the transnission of data in printable ASCII format. The data is divided into records. The XP640 recognises and uses three types of record,, these "S 1 " and "S2 " the data record,s, and "S9 " the end of f ile are: record. Exorciser

Data

Byte

"S"

1

2

Record character

ASCII

1.

(typ"

Forrat

Sl )

deliniter

The record.

t

4

Byte count. record plus

5

6

Most data

7

I

Least significant data record.

type

for

data.

The number of binary data bytes ( t for checksum and z for three

signlficant record.

byte

of

byte

the

of

start

the

Data bytes. Each byte is sent eharaeters, each representing representation of the byte.

9

Last

start

in the address ) .

address

of

address

the

of

as two Ascrr one nibble of

the

the

Hex

two bytes cheeksum of all bytes in the record excluding the deliniter and record type. The checksum is the (ttot ) of the nodulo 255 binary 2 's eomplenent sum of the bytes in the record..

C R' L F

Carriage re turn and line feed are output XP640, but are no t cheeked when input .

Erorciser

Data Becord Forrat

Byte

"S"

1

eharacter

(typ"

from

the

52)

deliniter I

2

ASCII

,

4

2.

The record

Most significant record

5

5

Next data

7

I

Least signifieant record

9

type

byte

of

most significant record

for start

byte

byte

of

of

start

datao address

start

A:

Page

4

the

address

address

Data bytes. Each byte is set as characters', each representing one nibble representation of the byte.

Appendix

of

of

of

the

data

the

data

two Ascrr of the hex

Last

tro

bytes bytes in the record excluding Checksum of all the deliniter and reeord type. The checksum is the 2's complement (fOt ) of the nodulo 256 binary sum of the bytes in the reeord,.

CR,LF

Carriage return and line feed are output XP540, but are not checked when input.

Erorciser

End of rrS"

1

Byte 2

ASCII

File

deliniter 9 Indicates eount

end of

= Oi

file

4

Byte

5

5

Most signifieant the XP540; set

byte of to zero)

7

8

Least significant the XP540 ; set

to

10

in

end of

record flle

start

byte of zero).

record address

start

address

( not

used

( not

in

used

by

Checksum

C R' L F

Ca r r i a g e re turn and line feed are outpu t XP64O, but are not checked when input.

An Erarpl.e of lotorola Forrat. A Motorola record consisting at 21tF would be :

of

the

from

d.ata 57 AO 4A 28 to

s 1 0 7 2 1 7 F 6 7 A 0 4 A 2 B 1 C< C R> < L F > Which

the

Record

t

9

fron

consists

of:

Deliniter Record Type Byte Count (Oata + t) Start Address High Start Address Low Data

S 1

o7 21 5F, 57 AO 4A 2B 1C OD OA

Ch e c k s u m CR tF

Where the Cheeksum is calculated CS = 07+21+7F+57+1,0+4A+28 = 1Et Uodulo 255 Et 1's Conplement lC N. B. : The above

calculations

Appendi-x A:

as

were

Page

5

follows:

perf orned

in

Hexailecinal

the

start

GP BinarJr Fornat General This is a sinple fornat devised by GP specifical 1y for users writing there o$n formats. It is designed to be as si-nple as possible reasonably to write driv ers/ receivers for. Al I data is sent in I bit binary, LSB first. F orrat of GP binarJr pTffiEea m;;-a-aE fi by a 4 byte I ength and a ehecksum:

bloek

consisting

Byte

of

block

1

Least

signifieant

2

Most

5

Least

4

Most

significant

5

Data

bytes.

The block

byte

signifieant

length

The checksum t rans fe rre d , An Erarple A GP Binary be:

significant

byte

is

is the

the

of

byte byte

block

of of

65515

of GP Bi.nary . record to send the

the the

number of

nodulo

the

of

a block-

length.

length, checksum"

checksum.

bytes binary

fo 1 rowing

in

the

data

sum of

data

2j

the

record,. data

dT gF zA would

o4 oo 4t

Low Block Length High Block Length Low part of Checksum High part of Checksum Data

01 2t 57

8F 2A Ifhere the checksum C S= 2 1 + 5 7 + 8 F + 2 A N.B.:

The above

was carculated as folLows: =1144 j5 =

calculatj.on

Appendix

A:

$as

Page

perforned

6

in

being

Hexadecinal

Fonat

of

Serial

List

This fornat is an output only primarily fornat designed to dri ve a seria 1 'printer. Data is output as ASCII characters in r o w s o f 15 c h a r a c t e r s , eaeh row being preceeded by the address of the first character in the ror. Each row is terninated by carriage return and line feed.. The data is sent in blocks of 256 bytes. After every third block a form feed is sent to prevent data being printed on the perforations of the paper. Eranple

of

serial

ligt

output

0000 E4 AA cD 00 gg cg E5 15 E1 Fl 4F 7D ED CF 21 01 0010 21 FF FF 0A E4 C4 01 Cg 22 FD 22 E4 14 C' FF FF

Appendix

A:

Page

7

The fektroai.r

(lffnfX)

forrat

Heradeciral

provides This format for the transfer of data blocked into reeords of printable ASCII characters. There are 2 types of records used and recognised by the XP54O. These are the data record aad the end of fi le record. Tekhex Byte

Data

Record.

t'/t'

1

character;

deliniter

2

3

Most data

4

5

Least signifieant data record.

5

7

Byte count. . record

8

9

First checksum, sum of aI I bytes, s ix hex digi ts of the 1 oad address

1O

byte

of

byte

The number

the

the

of

binary

two bytes Checksum of all of the calculated as the nodulo maklng up the data bytes.

CRrLF

acldress of

start

End of

1 t

"/"

File

the

address

of

the

bytes

in

the

data

nodulo 256 of the and byte count.

as two ASCII one nibb 1e of

data bytes in 255 sum of all

the

Hex

the record., the nibbles

Carriage return and line feed are output XP640, but are no t ehecked when input .

Tekher Byte

start

of

Data bytes. Each byte is sent characters, each representing representation of the byte.

Last

2

significant record.

from

the

used

in

Becord

deliniter

Most significant the XP64O ; set

byte of to zero )

start

address

(not

4 the XP640 ; set to zero). = OO in

6

7

Byte

9

10

Checksum of a 1 1 bytes in the deliniter and record m o d u1 o 2 5 6 b i n a r y sum of bytes in the record,.

CRrLF

An erarple

count

end of

file

record

the record exc luding type. The ehecksum is the the NIBBTES naking up the

Carriage return and line feed are output XP64O, but are not checked when input.

of

TEKEEX data

forrat

Appendix

Page

A:

I

from

the

T o E e l a l t h e d a t e 2 5 , O O , A 8 r I 9 , 1 7 , 0 4t h e d a t a f o r n a t like: _

would Iook

/ 0 0 0 0 0 6 0 6 2 r o o A8 A g 1 7 0 4 1 6 < c R > < L F > Thich

coasiste

of:

Delinlter Start Address Byte Count Checksun of Addrees fleld Data Checksun flhere the checkguns rere Checksum of Checksum of

Address data

/ 0000 06 05 25rOO,L8,A9,17,O4 t6 calculate

as:

= 0+0+0+0+5= 6 = 2 + r + O + 0 + A + 9 + 1+ 7 + 0 + 4 = r 6 H

Appendix

A:

Page

g

f,OS Teehnology

data

forlat

In this fornat the data is divided into records and sent as printab 1e ASCIf ' charac ters. There are two types of record used and recognised by the XP540. These are the data record and the end of file record. IOS Data Byte

1

Record "; "

charaeter;

deliniter

2

t

Byte count. record .

4

5

I'lost significant data record.

6

7

Least significant data record.

I

Last

CR'LF

:

The number of

byte

byte

of

of

binary

the

the

Data bytes. Each byte is sent characters, each representing representation of the byte. four

data

start

start

bytes

address

adctress

as two ASCII one nibb 1e of

in

of

the

the

of

the

the

Hex

bytes Checksum , sum of a1 I data bytes in the record. The checksun is the nodulo 65i36 binary sum of all the bytes in the record including the block length and address, but exelucling the deliniter and the checksun itself. It is transnitted high byte then 1ow byte. Carriage return and line feed are output XP640, but are not checked when input.

Appendix

A:

Page

10

fron

the

IOS Blal of fl1e

necoral

Rvta I

":"

2 - 5

Byte count = OO in

deliniter

4 -

5

6

7

Least significant all record.s

8

9

Most

1O -

lt{ost significant all records

11

of sun of

byte

byte

of

of

total

sum of

total

bytes

setrt in

bytes

sent

of IOS TECEfOLOef data

fron

85 AF E5 64 98 99 99 OO the ItloSrecord

be:

Which conoigts

of:

Deliniter Byte Count Start Addrees Data Cbecksun the

; 08 OO00 85AF856498999900 0448

ehecksun

is

calculate

as:

C h e c k s u m = 8 6 + A F + E5 + 5 4 + 9 8 + 9 9 + 9 9 + 0 0 = 0 4 4 8

Appendix

the

lecorils.

E4 9 8 9 9 9 9 o o 0 4 < L F> 56 ;oEoooos6AF

llhere

in

checksum

Carriage return end Ilne feed are output XP540, but are not checked uhen input.

To send the data record flould

byte

recoral

f1le

L,east sigaificaat byte of the checksun of all byteo ia the recoral erclualing the deli!0iter antl record type. The checksuE ia the norluLo 65576 binary sun of the bytes iu the record.

CRrL? Errnple

significant

entl of

A:

Page

I 1

Signetics

Absolute

Data

Transrission

data is fn this fornat characters. The XP540 record. The data record Si-gneti.cs 1

Byte

Absolute ":"

records divided into of printable ASCII uses and recognises tro types of data aad the end of file record..

Data

Eecord

character;

deliniter

2

3

Most data

4

5

Least signifieant data reeord.

6

7

Byte count. record .

B

9

1O

significant record.

Checksum fields) previous one bit.

Forrat

byte

of

byte

the

of

The number of

start

the

start

binary

address

data

Last two bytes Checksum ,sum of all data bytes checksum 1s calculated checksum.

bytes

as two ASCII of one nibble

in the record the in the same way as

Carriage return and line feed are output XP64O, but are not checked when input.

Signetics

Absolute

Byte

":"

1

End of

File

the

of

of all the bytes in the address ealculated by EX0Ring each byte byte, then rotating the resul tant

Data bytes. Each byte is sent characters, each representing representation of the byte.

CRrLF

address

of

the

in

the

and with byte

data the left

the

the

Hex

first

fron

the

used

in

Record

deliniter

2

t

Most significant the XP640 ; set

byte of to zero )

4

5

Least significant the XP540 ; set

byte of to zero ) .

6

7

Byte

start

address

(not

!

B

9

CRrLF Erarple

eount

Checksum fieldst previous one bi t.

= 00 in

end of

start

file

address

(not

2,

of all the bytes in the address ealculated by EX0Ring each byte byte, then rotating the resul tant

EE F1 2A D4 55 99 the

Appendix

A:

Page

12

by

reeord.

Carriage return and line feed are output XP54O, but are not checked rhen input. of SICIEIICS ABSOLUTE data fonat

To send the data as follo$s 3

used

data

record

and with byte

data the left

from

the

would

be

: o o o o o ? o2Er E E rI 2 A D 4 5 5 9 9 4 l fh i c h c o n s i s t s

of:

Deliniter Start Atlclress Byte Couat First Checksun Data Second Checksun

: 0OO0

o7 0E 2588I"12AD45599 L6

I{here the checksun6 are calculateat

as fotlors

?

t r ' i r s t c b e c k s u n ( ( ( o O e x o n o o) * 2 E x o RO O) * 2 E x o R o ? ) * 2 = O E s e c o l d c h e c k a u n ( ( ( ( ( ( z f E x o R E E ) * 2 E x o Rr ' 1 ) * 2 E x o R 2 A ) * 2 E x o R D 4 ) * 2 E x o R i 5 ) * 2 E X o R9 9 ) * 2 = 4 6

Appendix

A:

Page

11

The ASCII

Space,

Co m a ,

lpostrophe

and Percent

these formats Data is transmitted in in sequential, two groups character representing hex bytes followed by the exeeute code space, percent, apostrophe or co et. Data may be transmitted as either The XP640 assumes that the 4 or 8 bits. prior two characters to the execute were a valid code character. f f only one character prior was received to the execute code then a leading zeto is assumed. When the XP640 i-s recei.ving types of information; these Checksum.

"it in these f ormats recognises 5 are Address information, Data and

General The data transmission must (OeU) rhich character nay thea data or by an address fieId. terminated with an (OfU) field or at least 16 nu11s. Ilata

be preceeded with an be followed inmediately with The transmission must be followed by either a checksun

f ie ld

Each tine an execute code is are assumed to be valid data. ASCII Hex bytes prior to the assumes leading zetoeg. Address

received If there execute

the two previous bytes have not been two valid code then the programmer

field

'r$t' When the xP64O receives a followed by an ,A" it then giving expects the address 4 ASCII Hex digits of the first data fie1d. This address must be terminated by a comna (except "Comma" fornat in the where it is terminated by a fu11 stop).The input data wi 11 then be load.ed, starting at this addresg. Checksuu

f i.e 1d

The data field nust be terminated with an this nay optionally be followed rith a ehecksum. The checksum 1s 't$'r ''S'' expected as followed by followed by the four bytes of the checksum. The checksum must be terninated a comma (or rith for the comma fornat a fu 1 1 stop). The checksum is eaI culated as the nodulo 65555 sum of alL of the data sent since the previous . If the cheeksun is not sent then at least 15 characters must fo I low the to prevent a tine-out error.

Append.ix A:

Page

14

An erarpl-e

an ASCff

of

SPACE data

transrission

< s T x > $ A 0 o o(oc,R > < t F > ,1 FF 77 C7 FF FE 75..........(ETX> $s12r4, An erarpl.e

an ASCff

of

COITA

data

transrission

$A0000. 1 1 , g F , 7 7 , C l r F Fr F Er 7 6 . . o. . . o , . . < E T X > < C R > < t F > $s1254. An erarple

an ASCII

of

PERCEII

data

transrission

< s T x > $ A o 0 0 o( ,c R > < t F > 7 1 f , F F % 7 7 % c r % F t f l 1 E ".f ,. 7. 5o . . . . . ( E T X > < c R > < l F > $ s 12 5 4 , < C R > < L r > |.n erarpI.e

of

an ASCII

APOSIOPEE data

transnission

< s T x>$ A o o o o(,c R>< L F>

'FF'71'er'FF'FE'76. 31 $s1254, ASCIf

. , . oo. . . r < E T X > < c R > < L F >

BPIF.BELF.BI OF Forrats

fn these formats eaeh byte of data is transmitted as an ASCII ''8'' followed by eight ASCII bytes representing the bits of the data byte. Zeroes and ones are represented respective 1y in the two

formats

by:

ttNtt,

rrPrr

or

ttLtt,

ttHtt,

or

ttott,

tt1t'.

.'F".

Each

byte

is

terninated the with character ASCII data The is transnitted least significant bit The entire data stream first. must be started with a non-printable and ended with a non-printable . The data the XP540 output fron is fornatted to suit device a list by outputting a space between each byte, and a at the end of each line of six bytes. Aa erarple The data

of

BPilF fonat.

stream

OFr84r73r21

would

be sent

as:

< S T X> B P P P P N N N N FB N N P N N N N P FB P P N N P P P N FB P N N N N P N N ln

eranple

The data

of

BELF fornat.

strean

0Fr84r7tr21

< S T X> B H H H H I L L L F B t t H t L t t H F

An erarple The data

of

81Of

stream

would

be

sent

as3

B H H L T H H H L F B H t L t L H L t F < E T X>

fonat.

0Fr84r7tr21

would

be

sent

as:

< s T x > 8 1 I 1 10 0 o O F 8 0 0 1 0 0 0 0 1 F B 1 10 0 1 1 1o F B l o O O O lo O F < E T X >

Appendix

A:

P a g e 15

DEC Bi.nary

and BinarJr

fonats

In both formats of these data is transmitted of as a string binary The only iaformation. difference in the two formats is of record. the record the start For Binary rith any starts (ffU). number of nu1l's followed by a rubout the In DEC binary with any number of rubouts format starts fo 1 lored by a nu1 1. the record. start The data after is a string data with of binary no checksumsr oo byte counts and no print fornatting. As there is no end of file deliniter the receivlng must have machine told how nany bytes beea to expect. In the XP540 this is entered from the keyboard.

Appendix

A:

Page 16

XP54O ITDEX

4/5

Display

Video

Calibratg Checksum

. o.. o o........ o '.... '....... r... o.... !.. o o.............

. . o . . o . . o o . . o . o | . o . . . . . o . I r i o o o o . . . $

CTEAR

. . r o o . . . . . . . o . . . . . . . o . . . r r . . . o o o . . . . 1t

COPY

. r . . . . . . . . . . . . . . o . . o . . o . . . o o . . o . . . . . .2J

CRC

. . . . . . . . r o . o r . . o . . . | . I o o . t . . . . . r . .8

Cursor

D A TA DETETE D E FI N E DIII{ P

a o a a a a a a a a a a a i a a o a a a a a a

.

1 O/ 1 1 17

a a a a a a a a a o a t a

. . o . . . o . . . . . . . . . o . . . o . . . . . . . r . o . . . 1 2 /1, o

.

.

.

o

o

o

o

l

.

.

o

.

.

.

o

.

.

.

.

.

.

o

.

o

a

Electronie fdentifier ( E n u l a t i o n) El,lU ENTER

..

ERASE

. o....

t...

o..

.

.

o

o

o f ..

.

.

.

.

.

.....21

o..

r o..

r r...........

. ...

o o....

o...

o...........

.......

...

...J t ...29

.. o. o.. . o. ...1

. o o o t . . . | . . . . . . r . . . . . . . . . o . . . . . . . . ..

FILI Firmwarg

(funetion)

HEX

Keybggp

tED

Bit

o o o..

15

....j

o......,.28

........

Check)

Parameter . o..

o...

r...

...........

Sgt-up r...... r o......

o.. o...74

........ o. o.......... o r....

..14

o. o .....JJ

. . o o . o o . . . o . . . . . . . . r . . . . o o r . . . . . . . {

. . . . . . . . o . . o . | . . . o . . .. . . ..J

indicators

LOCK

r.

. . . . o . . o . . o . o . . . o . . . . . . r . . . r . t . r . .17

Intgrnal

Kgypad

o o o r r....

r . . . . . . o . . . . . . . . . . . . . . . o . . . . . . . .8

(fffegal

INSERT

INVERT

o.

.oo.oo...or.ro.....o.......8

keys

IBC

..

vgrsion

JJ

1/ 2 9 / t 5

o o r...

Expandability

FN

...J5/76/71 o ..'..26

o r . . o r . | . o r o . . .. . . . . o o . . . . . . . . . , o . . . . 1$

MElrt (ttgmory

Addrgss)

........

o.. o r..

o....$

Mgnu

. . . . o . . . . . . . . . o o . o . | . . . . . . o . o o r . . . o oU

PAGE

. . . . . . . o . . . . . . . . I o . . . . r I r . . . . . . . . . . . 12

Printgr PR0GRAM PRINT

Intgrfacg

. o.......

..r.rroro...r.......or....or

o...

o o....

/lq

r ...58/39 ...r.22

. . . . r . . . . . . . . . . . . . . o I o o . . . . . . . . . . . . 19

XP54O IXDEX

7 32

RAM editor REMOTE REPLACE

18

18/19 SEARCH Handshaking Serial 51 SeriaI Input 51 ..... .. 50 ..... o........... Intgrfacg Serial o . . . . . . . . . . . . . . . o t r . . . . . . .. t1 Output Serial Word Fornat Serial 30/15 fornat Serial ASCrr BPNFTBHLFTBl0F ..........o...A15 ......,o....A14/A15 SpacerApostrophe ASCII ...........o..,A14 ASCII ConBBrpercent /A15 DEC

.....f ....r.oo.oor......A16 .o....o....o.........r...A6

Binary

GP

Binary Hgx INTEI

M0S

SHIFT SHUFFTE SPTIT Sta tus STOP STORE SUM Supp1y vo 1 tage

a a a a l a a a a a a a a a a

a a a a a a a a

a a a a

a

a

a

a

a a

a

t

o

/A2/A5

.,..o...........A4/A5 Exorciser !..............o.......47 list ....r...........A12/A13 Absolute .....................A8 Hgx /A9

Motorola Serial Slgnetics Tektronix

a

.....oo.r.....o.......r..A1 ............o.r.....A10/A11

Technology

f

a a t o a a ! a

o

a

14/15 15 16

l o a a a a o l a a a a

a

a a a a

r

a

a a a a a a a a a o t o a

55 r

a

a

a

a

a

a

a

a

a

a

a

o

a

a

a

o

a

o

o

a

a

a

a S

2 4/ 2 5 26 2

a a a a a a a a t a a a a a a a a a a a l a a a a a a o o o o a o a l

VERIFY

Zeto

...

o o. .....

Insertion

Force

r...

o.....

socket

o.........

.,..

o. r....

. ..23

..5

/24

^I

i

.t