CAN we use code written for MK22FN512VLH12 on MK22FN1MVLH12

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

CAN we use code written for MK22FN512VLH12 on MK22FN1MVLH12

391 Views
sudhanshumehta
Contributor IV

Hi Team,

I have purchased FRDM-K22 Board having MK22FN512VLH12  controller on it.

I am developing some demo application for my project on this controller.

Now our team has decided to change microcontroller  MK22FN1MVLH12.

My question is can I program MK22FN1MVLH12 using the application I am developing for MK22FN512VLH12.

Of course I will change the microcontroller number in debug configuration.

In-case I will not be able to do so, Please suggest some way and provide some documentation.

Thanks

Sudhanshu.

0 Kudos
3 Replies

271 Views
sudhanshumehta
Contributor IV

Hi Team Can you please provide me linker file.

0 Kudos

271 Views
miduo
NXP Employee
NXP Employee

Yes, both the parts are same except the memory size. You can use the code for MK22FN512VLH12 with MK22FN1MVLH12. Only you should change is the .lcf for the memory allocation.

Best Regards,

Fang

0 Kudos

270 Views
sudhanshumehta
Contributor IV

I feel attached are the linker files you are mentioning to change.

Do you have such files for MK22FN1MVLH12.

or some reference files to change the memory locations.

0 Kudos