2019-09-18 03:50 AM
2019-09-23 01:36 AM
I don't know, right? The test Windows 7 is readable, written and formatted.
In usbd_msc_scsi.c file SCSI_Write10() function
Before:
/* check if LBA address is in the right range */
if(SCSI_CheckAddressRange(pdev, lun, hmsc->scsi_blk_addr,
hmsc->scsi_blk_len) < 0)
{
return -1; /* error */
}
Modified:
/* check if LBA address is in the right range */
if(SCSI_CheckAddressRange(pdev, lun, hmsc->scsi_blk_addr-1,
hmsc->scsi_blk_len) < 0)
{
return -1; /* error */
}