This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB MASS STORAGE STALL

I am trying to implement usb mass storage device on lpc1768.
Enumeration is completed. SCSI commands started with INQUIRY command. correct response is send via device. New command receive is read format capacity(0x23) which is unsupported command so device should stall. After that host sends CLEAR_FEATURE, response is send for the clear feature.process done in clear feature are
1 Clear the STALL on respective IN end point.
2 Reset the IN end point.

When i receive next IN packet from host,device is sending NACK.

one more doubt is inside the clear feature reset toggle function is available but body of the function is NULL. What this function does? If i want to set toggle DATA PID to 0 how to do this?

I m using NXPUsbLib v0.98b for reference.

Thank you so much in advance