PSoC 6 flash type

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LuTa_3414376
Level 1
Level 1

PSoC 6 comes with 1 MB flash for code and data. Is it a NOR flash or a NAND flash?

0 Likes
1 Solution

You can not change a single bit or byte without erasing the entire row first using Cy_Flash_ProgramRow(). It needs to earse whole row before the programming. The single bit or byte can be changed through a absolute address.

View solution in original post

0 Likes
3 Replies
KaKi_1384211
Level 6
Level 6
100 replies posted 50 replies posted 50 questions asked

HI,

It's NOR Flash technology.

Thanks and regards,

0 Likes

All the flash operations operate on 512 byte rows.  Am I able to change a single bit or byte from 0 to 1 within a row without erasing the entire row first using Cy_Flash_ProgramRow() or some other function?  Other MCUs using NOR flash allow this but it seems the Cy_Flash_ProgramRow() API does not:

Before calling this function, the target flash region must be erased by the StartErase/EraseRow function

0 Likes

You can not change a single bit or byte without erasing the entire row first using Cy_Flash_ProgramRow(). It needs to earse whole row before the programming. The single bit or byte can be changed through a absolute address.

0 Likes