Make a code made for FRMD K64 works on FRDM K66

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

Make a code made for FRMD K64 works on FRDM K66

1,484 次查看
flauberttagu
Contributor III

Hello Community,

I need to know if it is possible to make a code made for FRDM K64 works on FRDM K66.

The code perfectly works on the FRM K64 but since USB data transfer is too slow, I tried to debug it directly to the FRDM K66.

Unfortunately, It does not work. many problems was returned (attach file).

Can someone of the community help me to handle it.

I am not a developper. A freelance did the code for me (I think is important to make this precision).

Thank you in advance.

0 项奖励
回复
6 回复数

1,441 次查看
mjbcswitzerland
Specialist V

Hi

FRDM-64F code written in the uTasker project can run on FRDM-K66F and i.MX RT parts without porting effort (change #define FRDM_K64F to #define FRDM_K66F in its configuration file) but if your HW library is based on other solutions it is unlikely and will probably need a redesign based on a different target part library.

Supposedly your main reason for change is to use the K66's high speed USB interface rather than the K64's FS one. This may be possible if you can get your freelancer to put his application in the uTasker FRDM-K64F project (which supplies the FS USB interface) and then switch to the FRDM-K66F setting, which will automatically exchange this for the HS USB interface with application layer compatibility (but faster speed).

Otherwise a service is offered also here: https://www.utasker.com/services.html

Regards

Mark

 

 

0 项奖励
回复

1,433 次查看
flauberttagu
Contributor III

Hello mjbcswitzerland,

Thank you for advising me again.

I will discuss it with the dev about this point.

Hope this could work.

I will surely keep the community up to date about the outcome or other method used.

regards.

 

0 项奖励
回复

1,476 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi Flaubert,

No, this is impossible. They have different clock setting. They even not pin-to-pin compatible. You must port the application source code from K64 to K66.

 

Regards,

Jing

0 项奖励
回复

1,473 次查看
flauberttagu
Contributor III

Thank you for replying Jingpan,

If I understand you correctly, the only way to make it works it to program the K66 with this same source code as the K64 and it will work depending on the pins used?

regards,

Flaubert

0 项奖励
回复

1,447 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

The porting work includes but is not limited in pin assign and clock setting. There maybe other works you must to do when porting.

 

Regards,

Jing

0 项奖励
回复

1,430 次查看
flauberttagu
Contributor III

Dear Jingpan,

Thank you for your answer. I will plan to work with the developper on that.

and make the debug works on FRDM K66 first before moving forward.

regards.

0 项奖励
回复