Knowledge Base Article
Answer: PSoC 5 and PSoC 5LP flash is organized as either one block of 128 or 256 rows or as multiple blocks of 256 rows (see Figure 1). Each row contains 256 data bytes plus 32 bytes for either error correcting codes (ECC) or configuration data.
Figure 1: Flash Memory Organization for PSoC5/ PSoC5 LP
The blocks of N rows are called arrays and the array-ID parameter in the CyWriteRowData() API refers to these blocks. The details of the API are available in the ‘System reference guide’, which can be located in PSoC Creator at the following path:
Help > Documentation > System Reference > System Reference Guide
The parameters required for the CyWriteRowData() API are as follows: