參數(shù)資料
型號: LSI53C040
英文描述: LSI53C040 Enclosure Services Processor programming guide v1.1 12/00
中文描述: LSI53C040箱體服務(wù)處理器編程指南1.1版12/00
文件頁數(shù): 85/166頁
文件大小: 1330K
代理商: LSI53C040
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描述
LSI53C1000 LSI53C1000 PCI to Ultra160 SCSI Controller technical manual v2.1 2/01
LSI53C1000R LSI53C1000R Ultra160 SCSI controller
LSI53C1010 Controller Miscellaneous - Datasheet Reference
LSI53C1010-33 LSI53C1010-33 PCI to Dual Channel Ultra160 SCSI Multifunction Controller technical manual v3.2 2/01
LSI53C1010-66 LSI53C1010-66 PCI to Dual Channel Ultra160 SCSI Multifunction Controller technical manual v2.1 2/01
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LSI53C040-160QFP 制造商:LSI Corporation 功能描述:Enclosure Services Processor 160-Pin PQFP
LSI53C040-160QFP LEADFREE 制造商:LSI Corporation 功能描述:
LSI53C1000 制造商:未知廠家 制造商全稱:未知廠家 功能描述:LSI53C1000 PCI to Ultra160 SCSI Controller technical manual v2.1 2/01
LSI53C1000-B1 制造商:LSI 功能描述: 制造商:LSI Corporation 功能描述:
LSI53C1000R 制造商:未知廠家 制造商全稱:未知廠家 功能描述:LSI53C1000R Ultra160 SCSI controller