Hello,
I have a product flavor that sports a mass storage device. I don't really need it now, but it is connected to an internal RAM file system which could be handy to have (is security codes are provided), so I want to keep it. The problem is that I think that writing large files to the drive can prevent system tasks other than the USB tasks from running, hence triggering a watchdog reset. I was hoping to limit the transfer rate using the 'bInterval' parameter in the endpoint descriptor, but as long as I keep on using bulk transfers that will have no effect. Is there a way to limit the transfer rate except from answering the host with a NACK...?
Do you have any task in main loop, which should be assigned higher priority than mass storage?
No. I will try to tune the priority of the USB interrupt. Thanks for the tip about interrupt transfers that do not belong in a mass storage device!
Tsuneo,
I have reduced task and interrupt line priority and that seems to solve the problem. Thanks.
Tamir