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
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
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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
Hello Manfred,
Thanks for the feedback! I will pass this information to the documentation team.
Regards,
Victor.