UROM(10.1) UROM(10.1) NAME urom - read and write programmable devices through DATA I/O Unisite SYNOPSIS urom [ option ] ... DESCRIPTION Urom serves as an interface to the DATA I/O Unisitetm pro- grammer. Options are used to specify the device type, and whether the device is to be read or written. -w Specifies that the device is to be written; default is read. -sn Specifies a starting address (default 0) in the device in decimal. -tstring string Specifies the device type of the device. If it is an ambiguous name, all the possible conflicts are listed. -mstring string Specifies the manufacturer of the device; this must be specified before the type (-t) of the device. Only needed if the name is ambiguous. -n Causes the program to echo the code that it is sending to the DATA I/O, and causes the DATA I/O the echo the size and initial state specified by the code. No read- ing or writing is done. -b Causes a blank check to be run, the illegal bit test is run unless it is an electrically alterable rom. No blank check is done if the rom is being read. -X -x Specifies hexadecimal data with upper case or lower case respectively. -C Specifies character data, for logic devices with JEDEC format. -D -d Specifies decimal data, octal is default. -O -o Specifies octal data, which is the default. Page 1 Plan 9 (printed 12/21/24) UROM(10.1) UROM(10.1) -fn Use format n 50, the default, is for hex, octal, or decimal format files. 91 is for JEDEC files. -Istring inhibits checking of following character string, e.g. `-I C' inhibits continuity checking. -J JEDEC format (same as -f91 -C option) -i Causes the data to be (ones) complemented on input and output. -v Normally urom does it work silently, this is the ver- bose flag. To read an Intel 2716 device one could say urom -m Intel -t 2716 < filename or to write a National PAL16L8 one could say urom -w -m National -t 16L8/A/A2 < filename The input for logic devices on the Unisite must be in JEDEC format. In this case use urom -w -m National -t 16L8/A/A2 -f 91 -C < filename or urom -w -m National -t 16L8/A/A2 -J < filename When a device is read, the addressed locations are copied, one per line, onto the standard output. When a device is written, the standard input is assumed to be of the same form, and is copied onto the device. Various Unisite errors, such as the device having a pattern that conflicts with the data (illegal bit test) when being written, are reflected back to the user. Transmissions over the RS-232 line are checksummed, and when writing the device is veri- fied. The speed of the Unisite should be set to 9600, position 14. FILES /sys/lib/cda/urom.codes SEE ALSO xpal(10.1) BUGS Case shouldn't be important for type or manufacturers. Page 2 Plan 9 (printed 12/21/24)