參數(shù)資料
型號: LSI53C895A
英文描述: LSI53C895A PCI to Ultra2 SCSI Controller technical manual v2.2 4/01
中文描述: LSI53C895A PCI到Ultra2 SCSI控制器的技術(shù)手冊2.2版4 / 01
文件頁數(shù): 85/166頁
文件大?。?/td> 1330K
代理商: LSI53C895A
SAF-TE Module
3-37
firmware_buffer
is a large enough buffer to hold the entire firmware.
Once a SCSI transfer has begun, the next SCSI transfer must wait until
the firmware from the previous transfer is successfully moved to the
serial EEPROM by using the TWS bus. Actual code should check for the
BUSY or SUCCESS check conditions. If the status is BUSY, the code
should wait until a check condition of SUCCESS or FAILURE is returned
and the sense data should be read to verify that the command to update
the structure was successful. Finally, the command to issue a REBOOT
requires no additional validation, as it is purely a SCSI command.
The pseudo-code is presented below:
char send_buffer[1025]; //Generic buffer to hold data to
send.
dataptr = buffer;
status = GOOD;
bytes_left = firmware_size; //Initialize to size of firmware
image
while (firmware_size > 0)
{
//While there is data left and previous write succeeded,
// issue the next write buffer command.
bytesToSend = bytes_left;
if (bytesToSend > 1024)
bytesToSend = 1024; // Reset maximum transfer to 1KB
//Copy bytes from dataptr to send_buffer,
//compute checksum and append
Copy(bytesToSend, dataptr, send_buffer);
checksum_byte = Compute_Checksum(bytesToSend, dataptr);
send_buffer[bytesToSend +1] = checksum_byte;
if ((status = SCSI_Write_Buffer(4, bytesToSend+1,
send_pointer)) != GOOD)
{
Request_Sense();
return;
}
//Error on the SCSI Transfer
if ((status = SCSI_Write_Buffer(4, 0xFF0000, send_pointer)) != GOOD)
{
Request_Sense();
//Error on the SCSI Transfer
return;
}
Request_Sense();
//Issue a request sense -if not
相關(guān)PDF資料
PDF描述
LSI53C896 LSI53C896 PCI-dual channel Ultra2 SCSI multifunction controller
LSI53CF92A LSI53CF92A Fast SCSI Controller technical manual v2.1 4/02
LSI5464E LSI5464E Ethernet host adapter
LSI60800 LSI60800 PCI to USB host adapter user's guide v1.1 11/00?
LSI7000X LSI7000X Fibre Channel:? single/dual & quad PCI-X host adapter
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LSI53C895A-208QFP 制造商:LSI Corporation 功能描述:Ultra SCSI Controller PCI/Flash Memory 208-Pin QFP
LSI53C895A208QFPLEADFREE 制造商:LSI Corporation 功能描述:
LSI53C895A-272BGA LSA0564 制造商:LSI Corporation 功能描述:
LSI53C895A-272BGALEADFREE 制造商:LSI Corporation 功能描述:
LSI53C896 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ULTRA2 SCSI CONTROLLER