For a write instruction, my understanding is that usb writes data to "USB_TO_SATA_WRAP_WINDOW_ADDR", then sata writes data from "USB_TO_SATA_WRAP_WINDOW_ADDR" to the device.
in tusb9261 fw source code/ums_bot.c

When the scsi write command is issued, the usb transfer request is issued at the same time.
actually, the usb transfer must be completed first, then the data in "USB_TO_SATA_WRAP_WINDOW_ADDR" can be transfered to sata.
How does the program ensure the order of execution?