Cypress Perform

Home > Support
support.cypress.com     Bookmark and Share
Support

Knowledge Base Article



PSoC® 5 and PSoC 5LP Flash Memory Organisation and Array ID Parameter - KBA 84740

Last Updated: 12/06/2012

Question: How is flash memory organized in PSoC® 5 and PSoC 5LP? How do we choose the array ID parameter for the CyWriteRowData API?

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:


  • Array-ID: The block number in which the required row is present
  • RowAddress: Row number within the specific block
  • RowData: The data to be written

Related Categories: PSoC® 5, PSoC® 5LP




Provide feedback on this item to help us improve:

How likely are you to recommend this article to a friend or colleague?

Not at all likely
0
1
2
3
4
5
6
7
8
9
10
Extremely likely

Was this item helpful?
Yes
No
Maybe


Additional comments:

Email:

Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/02/13