USB copy speed with MQX4.2 ColdFire MCF52259

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

USB copy speed with MQX4.2 ColdFire MCF52259

950 次查看
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 项奖励
回复
2 回复数

749 次查看
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 项奖励
回复

749 次查看
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 项奖励
回复