esdhc slow write speed with SD card

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

esdhc slow write speed with SD card

833件の閲覧回数
jlevie
Contributor I

Hello -

I have a design using a K60F120 part and an SD card with the esdhc driver.

The driver is configured for a 50 Mhz clock to the sd card, and 4 bit SPI mode. The OS was just updated to to MQX4.2, and MFS is used for the filesystem on the SD card.

I am seeing very slow write speeds to the SD card. FTP writes are roughly 400KBytes/Sec. The MFS swt test utility, when benchmarked with a hardware based millisecond counter I have in the design takes about 32 milliseconds to write each of its 10K files, with performance best at the 512 Byte size.

Has anyone seen similar speeds, and is there a way to speed things up?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

529件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Jeff,

Are you using a freescale board?

Did you test using a sample code?

Could you please try using the SDCARD example, it is located at the path: C:\Freescale\Freescale_MQX_4_2\mfs\examples\sdcard

Regards

Sol

0 件の賞賛
返信

529件の閲覧回数
bonzo
NXP Employee
NXP Employee

Have you confirmed that the clock is running at 50MHz?

What type of card are you using?

Also, it could be task or interrupt priority issue.  See this post SDHC Interrupt

0 件の賞賛
返信