Make a code made for FRMD K64 works on FRDM K66

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

Make a code made for FRMD K64 works on FRDM K66

1,013 Views
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 Kudos
6 Replies

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

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

1,005 Views
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 Kudos

1,002 Views
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 Kudos

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

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