problem with SCSI read(10) request

Status
Not open for further replies.

ruchi bansal

Newbie level 3
Joined
Mar 9, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,324
scsi read(10)

I m working on mass storage device enumeration process.I have configuerd the device in self powered. i m using AT89C5132 microcontroller.
enumeration process completed successfully and device is detected by the system.

For usb mass storage i m using Bulk Only Transfer(BOT) protocol.
my device supports 2 end point of 64 max length.
EP Bulk IN
EP Bulk OUT

For SCSI inquiry, read capacity requests device respond properly to the host but for read (10) request host receives garbage data of 512 bytes. i m using external 128 MB memory with FAT 12 support.

On read request i m transmiting 512 bytes of first sector to the host in 64's chunk.
after this Test unit ready works properly

i also got new drive(with free space size 0) in my computer.

what is the problem with read(10) request...
any suggestion
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…