Flash EPROM Support
FORCE OpenBoot Enhancements
Page 114
SPARC/CPCI-52x(G)
read
( addr length — actual ) reads at most length Bytes from the flash EPROM and copies
it to memory beginning at address addr. If actual is
0
or negative, the
read failed. The value of length can be chosen independently of the de-
vice’s block size. For information on the start address within the flash
EPROM see the description of the
seek
command.
write
( addr length — actual ) discards the information passed to the command. It always
returns
0
to indicate that the device does not support this function. How-
ever, this command is available to be standard compliant.
seek
( offset file# — error? ) seeks to Byte offset within the file identified by file#. An inter-
nal position counter is maintained and updated whenever a method is
called to read data from or to store data in the flash EPROMs. The posi-
tion counter can be adjusted using the
seek
command.
•
If offset and file# are both
0
, the internal position counter is reset to
offset
0
.
•
Otherwise, the value of file# is ignored and the value of offset is
assigned to the internal position counter. A subsequent access to the
flash EPROM then starts at the adjusted offset.
After a successful seek, error? is
0
, otherwise
-1
is returned to indicate
the fail state.
read-blocks
( addr block# #blocks — #read ) reads #blocks number of blocks where each
block is of length block-size Byte. The blocks are read from the device
beginning at the device block block#. The read data are copied to memory
at address addr.
read-blocks
returns the number of blocks actually
read (#read).
write-blocks
( addr block# #blocks — #written ) discards the information passed to the
command and always returns zero to indicate that the device does not
support this function. However, this command is available to be standard
compliant.
block-size
( — bytes ) returns the current setting of the block size bytes in Byte. This al-
ways is the size of the flash EPROM programming window.
max-transfer
( — bytes ) returns the size bytes in Byte of the largest single transfer the
device can perform. This always is a multiple of the value returned by
block-size
.
load
( addr — length ) reads a stand-alone program from the flash EPROM beginning at off-
set
0
16
and stores it beginning at address addr. It returns the number of
Bytes length read from the flash EPROM.
Summary of Contents for SPARC/CPCI-520G
Page 6: ...Contents Page iv SPARC CPCI 52x G...
Page 14: ...Using This Manual Page xii SPARC CPCI 52x G...
Page 18: ...Page 4 SPARC CPCI 52x G...
Page 20: ...Introduction Page 6 SPARC CPCI 52x G...
Page 24: ...Ordering Information Introduction Page 10 SPARC CPCI 52x G...
Page 58: ...OpenBoot Firmware Base 520 G Installation Page 44 SPARC CPCI 52x G...
Page 66: ...OpenBoot Firmware Base 520 G Installation Page 52 SPARC CPCI 52x G...
Page 102: ...Ethernet and EBus2 Devices PCIO Hardware Description Page 88 SPARC CPCI 52x G...
Page 114: ...PMC Slots with Busmode Support Hardware Description Page 100 SPARC CPCI 52x G...
Page 134: ......