Command error - illegal transfer length

Reason for receiving this message:

The transfer length in the command descriptor block would cause the read or write buffer to overflow.

What to do: