Can we configure to run code in RAM without Processor Expert

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

Can we configure to run code in RAM without Processor Expert

510 次查看
isaotakashima
Contributor IV


I want to configure to run code in RAM for the TWR-K65F180M.

I understand that I can configure to run code in RAM on Processor Expert project, ex FRDM-K64F.

I have the TWR-K65F180M, unfortunately Processor Expert does not support the K65 now.

I believe that I should modify MK65FN2M0xxx18_flash.ld to do this.

But I cannot do that.

Please advise how to modify MK65FN2M0xxx18_flash.ld to run code in RAM.

 

Best regards,

Takashima

标签 (1)
0 项奖励
3 回复数

332 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ISao,

Do you use the KDS IDE?

If yes, you can install the KSDK1.3 on KDS, then it can create one K65FN2M0 PE

project :

pastedImage_0.png

You can download the KSDK 1.3 at here :

Software Development Kit for Kinetis MCUs|NXP

Hope it helps


Have a great day,
Alice

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

0 项奖励

332 次查看
isaotakashima
Contributor IV

Dear Alice,

Thank you for your reply.

I'm using KDS 3.2.0 and Kinetis SDK 2.0. According to another discussion, Kinetis SDK 2.0 does not support Processor Expert.

Therefore I believe that I should modify MK65FN2M0xxx18_flash.ld to do this.

Do you know that how to modify MK65FN2M0xxx18_flash.ld?

Anyway, I can make Processor Export project after install KSDK_1.3.0_Eclipse_Update.zip.

But I cannot see RAM and FLASH configurations in Generator_Configurations as below.

pastedImage_0.png

Should I change below Generate linker file settings?

pastedImage_1.png

Please advise as soon as possible.

Best regards,

Takashima

0 项奖励

332 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello lsao,

You can compare the configuration when select RAM and FLASH:

RAM:

pastedImage_0.png

FLASH:

pastedImage_1.png

If you want use the KSDK v2.0, you can refer to the generate code the KSDK1.3 .

Hope it helps


Have a great day,
Alice

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

0 项奖励