Can we configure to run code in RAM without Processor Expert

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

Can we configure to run code in RAM without Processor Expert

497 Views
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

Labels (1)
0 Kudos
3 Replies

319 Views
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 Kudos

319 Views
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 Kudos

319 Views
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 Kudos