I’m not sure if this is the right place to post this but I’ll give it a shot anyhow.
Anyway, I’m developing the firmware for a USB bridge chip to be used in a USB flash drive. The drive supports CD-ROM emulation as well as loading in of an ISO-9660 image file. This requires support for the “Read TOC” SCSI command. This has been implemented this and it works for most cases. However, whenever any software that has any drive letter access feature is running, the system either crawls(99% CPU usage by the process “System”), or gives me a BSOD. I’ve isolated the problem to my Read TOC implementation, since when I take it out, it works(but no ISO-9660 support).
I’ve read the SCSI MMC-3 specification regarding Read TOC response, but I still don’t get what exactly I’m supposed to return. Wondering if anyone could give me some help on what the response should be, byte by byte.