User`s manual
t167 Test Program
E-32 Single Board Computers SCSI Software UserÕs Manual
E
Mode Sense Parameters
This exercise shows how to get the current device's mode page parameters.
This example senses the current page 3 parameters; however, default,
changeable, and saved parameters could be fetched instead as well as other
mode pages.
1. Select menu item 1 to build a Firmware control structure. Note that most
of the parameters can be left at their default values. Also note that the
data_ptr parameter is reset back to the start of data buffer 0. Once the last
parameter that requires a change has been changed, the "." command can
be issued to return the command prompt.
F/W Tools --> 1
Control structure [0] (0):
UINT user_defined ................ (0):
UINT cmd_ctrl ..................... (-2147483635): 0x8000000D
UINT addr_ilvl .................... (0):
UINT lun .......................... (0):
UINT cdb_lgth ..................... [0 - 12] (6):
UCHAR cdb[0] .................... (18):
0x1a
UCHAR cdb[1] .................... (0): 0
UCHAR cdb[2] .................... (0): 3
UCHAR cdb[3] .................... (0): 0
UCHAR cdb[4] .................... (64): 0xff
UCHAR cdb[5] .................... (0): 0
UINT msg_in_lgth .................. (7):
UCHAR *msg_in_ptr ................. (0x1FBCCE1):
UCHAR msg_in[0] ................. (1):
UCHAR msg_in[1] ................. (3):
UCHAR msg_in[2] ................. (1):
UCHAR msg_in[3] ................. (63):
UCHAR msg_in[4] ................. (8):
UCHAR msg_in[5] ................. (0):
UCHAR msg_in[6] ................. (0):
UINT msg_out_lgth ................. (6):
UCHAR *msg_out_ptr ................ (0x1FBCCF0):
UCHAR msg_out[0] ................ (192):
UCHAR msg_out[1] ................ (1):
UCHAR msg_out[2] ................ (3):
UCHAR msg_out[3] ................ (1):
UCHAR msg_out[4] ................ (25):
UCHAR msg_out[5] ................ (8):
UINT data_count ................... (988):
UCHAR *data_ptr ................... (0x1FBDCC4):
0x1fbdca0
struct siop_struc *link_ptr ....... (0): .
F/W Tools -->