how to read and write from flash memory in KL25z

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

how to read and write from flash memory in KL25z

1,412 Views
mohammads0019
Contributor II

Hello Anyone knows how to write data on flash memory in KL25Z FRDM board.. i am knew to this.. can anyone provide read and write code .. and how to do that.. i am using IAR ..

Tags (3)
0 Kudos
2 Replies

596 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Mahammad,

You can also refer to "C90TFS-FLASH-DRIVER-DEVD "(download from here : http://www.freescale.com/search?site=fsl_en&proxystylesheet=search_style_fe&oe=UTF-8&ie=UTF-8&ud=1&o...  ) .

This software contains the Flash program/erase drivers for Freescale's microcontrollers.,  and after you install it , the KL25 demo on IAR about flash  you can found here :

...\Freescale\Standard_Software_Driver_v1.03\C90TFS\Demos\build\MKL25Z128xxx4\IAR

pastedImage_3.png


Have a great day,
Alice

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

0 Kudos

596 Views
DavidS
NXP Employee
NXP Employee

Hi Mahammad,

Please download and install KDS and KSDK.

KSDK has following example that supports IAR:

C:\Freescale\KSDK_1.2.0\examples\frdmkl25z\driver_examples\flash\iar

Please review videos:

Kinetis Design Studio

And documentation:

Kinetis Design Studio

Regards,

David

0 Kudos