+2021xxxx 6.4.x
+ - Fix USB disconnect issue when no SD card is installed.
+
20210628 6.4.11
- Remove the "Blind Writes" option from scsi2sd-util. The firmware no longer
requires this option for improved write performance
lun,
ILLEGAL_REQUEST,
INVALID_CDB);
+
+ {
+ USBD_CompositeClassData *classData = (USBD_CompositeClassData*) pdev->pClassData;
+ USBD_MSC_BOT_HandleTypeDef *hmsc = &(classData->msc);
+ hmsc->bot_state = USBD_BOT_NO_DATA;
+ }
+
return -1;
}
}
lun,
NOT_READY,
MEDIUM_NOT_PRESENT);
+ hmsc->bot_state = USBD_BOT_NO_DATA;
return -1;
}
else
len = MIN(len, S2S_MSC_MEDIA_PACKET);
- // TODO there is a dcache issue here.
- // work out how, and when, to flush cashes between sdio dma and usb dma
- memset (hmsc->bot_data, 0xAA, len);
if( ((USBD_StorageTypeDef *)pdev->pUserData)->Read(lun ,
hmsc->bot_data,
hmsc->scsi_blk_addr,