USB copy speed with MQX4.2 ColdFire MCF52259

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

USB copy speed with MQX4.2 ColdFire MCF52259

633 Views
aftab_s81
Contributor I

Hello,

I'm using MQX ver. 4.2 on MCF52254, Coldefire MCU. In my applications, I'm copying files from USB to SD card. Everything is fine except the copy speed. Currently it takes around 15-16 seconds to copy a 1MB file, i.e, around 62kB/sec throughput which is very slow considering a USB 2.0 interface.

In my code I am using Shell_copy function to perform copy.

Is there any member who has experienced the same, how to accelerate the USB copy process.

One of the solution I have read in the forum is to replace the KHCI drivers with EHCI, but MQX_USB_Host_User_Guide.pdf page 20 says that EHCI is used in high end V4 Coldfire devices, MCF52259 family is a V2 device.

Some member suggest that MQX Ver.5 should be used, but this MQX ver. is only for Kinetics device, not for Coldfire architecture.

That means we need some changes in the KHCI driver? Or any other solution?

Please guide if someone else has done that.

Regards,

Aftab.

0 Kudos
2 Replies

432 Views
Doug_EmbeddedAc
Senior Contributor I

Hello Aftab,

Just to clarify about MQXv5, the current list of supported devices includes Kinetis and i.MX processors, however, MQXv5 can be ported for you to just about any NXP processor. Please send an email to mqxsales@nxp.com if you'd like to explore this option.

Regards,

Doug

0 Kudos

432 Views
aftab_s81
Contributor I

Dear Doug,

Thanks for the reply.

1. Is there any possibility to enhance the performance of MQX 4.2

regarding USB file copy speed? What is the upper limit of file copy in

this scenario experienced practically? I just want to figure out if

62kB/sec is the speed we can achieve with this software package or there

is something else we can do to enhance the speed. I am using Shell_copy

function (which is part of MFS).

2. Has porting MQX5 to Coldfire processor extra cost associated with?

Regards,

Aftab.

0 Kudos