Patent ID: 7774508

Claim:
An electronic apparatus comprising: an interface section that communicates with a host device through a command and response line and a data line, wherein: a command and a response are transmitted through the command and response line, and data is transmitted through the data line; the command, the response and the data are transmitted in this order between the electronic apparatus and the host device; the transmitted data is divided into data blocks with a block size specified by the host device when a length of the data is at least a predetermined length; and the interface section receives, via the command and response line, a block size setting command which informs the electronic apparatus that information specifying the block size is to be transmitted via the data line without specifying the actual block size via the command and response line, transmits a response acknowledging receipt of the block size setting command via the command and response line after receiving the block size setting command, and then receives the information specifying the block size via the data line after transmitting the response acknowledging receipt of the block size setting command; a storage section that stores the received information specifying the block size; and a data buffer that stores data, wherein when the specified block size is larger than a capacity of the data buffer, the interface section includes error information indicating that the specified block size is larger than the capacity of the data buffer in a response acknowledging receipt of a command different from the block size setting command, and transmits the response including the error information to the host device.