Patent ID: 8799607

Claim:
In a system having a memory controller for accessing a main memory and a set of non-volatile memories, wherein each non-volatile memory of the set of non-volatile memories comprises a plurality of sectors in locations having a sequential order, wherein there is a predetermined number, K, of non-volatile memories in the set of non-volatile memories having a predetermined order beginning with a first non-volatile memory and ending with a last non-volatile memory, a method of operating the memory controller, comprising: receiving a first command to write data from the main memory to the set of non-volatile memories, wherein the first command indicates a total number of sectors, N, into which the data is to be written; when N is greater than K, and N is not an integer multiple of K, identifying within the data a first grouping of the data that includes data corresponding to an integer multiple of K sectors, identifying within the data a second grouping of remaining data that includes data not included in the first grouping of the data, and generating a second command and at least one additional command from the first command, wherein the second command is to write the first grouping of data, and the at least one additional command is to write the second grouping of data; executing the second command by writing the first grouping of data contemporaneously to sectors in each non-volatile memory of the set of non-volatile memories; and executing the at least one additional command by writing the second grouping of data into the set of the non-volatile memories.