FLASH_ReadOnce KSDK 2.4

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

FLASH_ReadOnce KSDK 2.4

941 Views
manfredschnell
Contributor IV

Hi,

I'm moving my Software on Hardware K64 (MK64FN1M0_VLQ12) from KSDK 2.0 to KSDK 2.4.2,

We use the one time programmable memory to save MAC and Serialnumber,

Using KSDK 2.0 "fsl_flash.c":

status_t FLASH_ProgramOnce(flash_config_t *config, uint32_t index, uint32_t *src, uint32_t lengthInBytes);

status_t FLASH_ReadOnce(flash_config_t *config, uint32_t index, uint32_t *dst, uint32_t lengthInBytes); 

In KSDK 2.4:

In documentation are both functions mentioned. But "fsl_flash.c" is not included in package 2.4

And "flash.h" is empty....

Can anyone explain this??

Best regards

Manfred

0 Kudos
3 Replies

685 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Manfred,

In the SDK 2.4.2 these two functions are located in the files fsl_ftfx_controller.c and fsl_ftfx_controller.h

pastedImage_1.png

Hope it helps!

Victor.

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

685 Views
manfredschnell
Contributor IV

Hi Victor,

thank you for pointing this out.

Good answer, fast responsetime.

Please start a review of the API-documentation:

 "MCUXpresso SDK API Reference Manual" Rev.0 May 2018 (included in KSDK2.4.2).

Chapter "C90TFS Flash Driver" == section 15

there are all the FLASH_xxx() functions described.

Is the file "fsl_Flash.h" really necessary? --> I think it could be removed from src.

Best regards

Manfred

0 Kudos

685 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Manfred,

Thanks for the feedback! I will pass this information to the documentation team. 

Regards,

Victor.

0 Kudos