Flash writing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Flash writing

跳至解决方案
1,244 次查看
pietrodicastri
Senior Contributor II

Good morning

I have programmed the flash using the MK60DN512VLQ10 and the acceleration RAM. It was always ok.

I have used the same code with the MK64FN1M0VLQ12 and it does not work, I get out of the programming command, FlashProgramSection, the

0x20 meaning FTFx_ERR_ACCERR .

Any suggestion???

Thank You

标签 (1)
标记 (1)
1 解答
790 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Freescale provides C90TFS Flash driver software (Kinetis Flash driver includes demos).

Customer could refer K70, which using the same Flash architecture with K64. There with example demo about how to program the Flash.

Wish it helps.


Have a great day,
Ma Hui

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

在原帖中查看解决方案

6 回复数
790 次查看
pietrodicastri
Senior Contributor II

Hello

Just dump a project example using the EERAM for programming the flash, that's a good help.

The example in the SDK is not using the EERAM..

Thank You

Pietro

Best Regards

0 项奖励
791 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Freescale provides C90TFS Flash driver software (Kinetis Flash driver includes demos).

Customer could refer K70, which using the same Flash architecture with K64. There with example demo about how to program the Flash.

Wish it helps.


Have a great day,
Ma Hui

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

790 次查看
pietrodicastri
Senior Contributor II

Hello everybody,

I don t see relevant differences in the URM. I used the EERAM for programing, it should be available in the K64.

The example of the KSDK works, but I would like to understand why mine it does not work.

Help,,,,

Thank You

Pietro

0 项奖励
790 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Pietro,

Please screenshot and  tell me what is the error  , and please tell me how to reproduce it step by step.

i will test it on my side , and then tell you what wrong, thank !

BR

Alice

0 项奖励
790 次查看
pietrodicastri
Senior Contributor II

Thank You Alice...

I attach a stub of code I use for the programming. I have used up to now for the K60 processor, now it does not work with the

K64...

I wait for Your comment,,

Best Regards

Pietro

0 项奖励
790 次查看
santiago_gonzal
NXP Employee
NXP Employee

Hello Pietro,

K60 and K64 are using different versions of the Flash controller to program the internal Flash memory. Because of that reason the same code won't work in both devices.

K64 is using the same Flash controller as the K60 120 MHz family. You can create an example based on Processor Expert or you can download the Kinetis KSDK 1.2.0 and go to the folder KSDK_1.2.0\examples\frdmk64f\demo_apps\flash_demo to find an example.

Regards,

Santiago

0 项奖励