write dflash and pflash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

write dflash and pflash

963 Views
814420552
Contributor III

hello,   I set Flex NVM as Dflash in the following function,

 

FLASH_DRV_DEFlashPartition(&flashSSDConfig, 0xFFu, 0x0bu, 0x0u, false, false);

 

Can you tell me whether it is right?

the result after called this function  the return value is wrong, please tell me  how to change flex NVM as dflash  and erase dflash and program eflash, wish  your help , thank you very much

0 Kudos
1 Reply

756 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

If you want to use the FlexNVM as DFlash, you do not need partitioning. It is by default

The DFlash can be programmed and erased by flash commands. 

The important note:" When required by the command, address bit 23 selects between program flash memory
(=0) and data flash memory (=1)."

I hope it helps.

Best Regards,

Diana

0 Kudos