Kinetis Drivers - fsl_flash versus fsl_ftfx_flash

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

Kinetis Drivers - fsl_flash versus fsl_ftfx_flash

Jump to solution
1,349 Views
deniscollis
Contributor V

I see that some of the demos and/or examples use the fsl_flash driver, and others use the fsl_ftfx_flash driiver.  At first glance the APIs look the same.  However, the underlying code is different.  For example, fsl_flash has a mechanism to copy and execute the driver functions from RAM, which is not present in fsl_ftfx_flash.

Which is preferred?

Labels (1)
0 Kudos
Reply
1 Solution
1,248 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Denis Collis,

   fsl_ftfx also copy the run command to ram, please check this code:

pastedImage_1.png

When you use the flash, please copy the launch command code to RAM.

Wish it helps you!

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
1,249 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Denis Collis,

   fsl_ftfx also copy the run command to ram, please check this code:

pastedImage_1.png

When you use the flash, please copy the launch command code to RAM.

Wish it helps you!

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
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
Reply