cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

LuTa_3414376
New Contributor

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

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator

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
Honored Contributor

HI,

It's NOR Flash technology.

Thanks and regards,

0 Likes
JeHu_3414236
Contributor II

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
ShipingW_81
Moderator
Moderator

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
Top labels