Data flash partition

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

Data flash partition

1,057 Views
814420552
Contributor III

hello,

   <1>how to partition the FlexNVM to EEPROM? call this following API?

   FLASH_DRV_DEFlashPartition

   <2>if have partitioned, I want to delete partition information ,how to do?

   <3>if have partitioned , I want to partition again, also call the API FLASH_DRV_DEFlashPartition ?

   <4>EEPROM has write protect, is there weite protect??

0 Kudos
3 Replies

938 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello kui, 

Regarding your questions please see my comments below. 

<1>how to partition the FlexNVM to EEPROM? call this following API? FLASH_DRV_DEFlashPartition

Yes. But keep in mind that before calling this function you need to initialize the driver, this is done with the function FLASH_DRV_Init. 

<2>if have partitioned, I want to delete partition information ,how to do?

  For this, you can use the function FLASH_DRV_EraseSector. 

<3>if have partitioned , I want to partition again, also call the API FLASH_DRV_DEFlashPartition ?

Yes, you can call that function again. 

<4>EEPROM has write protect, is there weite protect??

Could you please clarify this question? 

As additional information, the SDK for the S32K144 includes an example named "flash_partitioning". This example will help you to understand how the flash partitioning works. 

Have a great day,

Victor

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct"button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

------------------------------------------------------------------------------- 

0 Kudos

938 Views
814420552
Contributor III

hello victor

<4>EEPROM has write protect, is there read protect??

0 Kudos

938 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello kui, 

Thanks for the clarification! No, the EEPROM doesn't have read protect. 

Regards, 

Victor 

0 Kudos