write dflash and pflash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

write dflash and pflash

998 次查看
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 项奖励
1 回复

791 次查看
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 项奖励