Search found 10 matches

by Kot_dnz
Thu Feb 13, 2014 9:39 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Actual is
Jan 15,'14 R0.10a Added arbitrary strings as drive number in the path name. (_STR_VOLUME_ID)
Added a configuration option of minimum sector size. (_MIN_SS)
2nd argument of f_rename() can have a drive number and it will be ignored.
Fixed f_mount() with forced mount fails when drive ...
by Kot_dnz
Thu Feb 13, 2014 9:26 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Dear Giovanni,

On fact my troubles not cleared, but first at all question:
Are you has planed upgrade FatFs to current FatFs R0.10a with according m ?
I check: enough in chibios-os-various in fatfs_diskio.c in functions disk_read and disk_write instead "byte count" write "UINT count".
And in end ...
by Kot_dnz
Thu Feb 06, 2014 8:43 am
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Giovanni,

Thank you.
Problem resolved.
by Kot_dnz
Tue Feb 04, 2014 8:52 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Kot_dnz wrote:Sorry - i edit my post before read your reply.
I try to check with pins and post result.


I try to reconnect CS from PD11 to PB12 - nothing is changed. :(
by Kot_dnz
Tue Feb 04, 2014 4:41 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Sorry - i edit my post before read your reply.
I try to check with pins and post result.
My question was not correct.

Can you reply on 'russian' early question"PPS: 'Looks like it is a long wait.' - currently this is a while(true), should it be failing after some time, say 3 or 60 seconds and it's ...
by Kot_dnz
Tue Feb 04, 2014 4:28 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Giovanni,

In one other source i found info that especially in STM32 SPI data sent via shifted register and at first time require clear it by send 0xff and only after there receive new data. If we receive data - viсe versa. Is this true?
by Kot_dnz
Mon Feb 03, 2014 4:03 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

Are you writing from a single thread or multiple threads?

Thank you for reply.
I receive log strings from one periodical thread.

Now I use MMC driver.
I found m - running directly via SPI. (the same solution + with DMA (explained on russian) - m ) -> All this working directly via SPI.

May be ...
by Kot_dnz
Mon Feb 03, 2014 12:33 pm
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

Re: STM32F4 Discovery MMC over SPI how to accelerate

What is correct sequence how to initialize MMC over SPI2 and receive maximum performance?

SPI2 connected to MMC: PB13 - SCK, PB14 - MISO, PB15 - MOSI, PD11 - CS, 3.3v

I try to show clear code - please specify where mistake or something lost:

initSpiModule(&SPID2, GPIOB, 13, GPIOB, 14, GPIOB, 15 ...
by Kot_dnz
Sun Feb 02, 2014 9:50 am
Forum: STM32 Support
Topic: STM32F4 Discovery MMC over SPI how to accelerate
Replies: 28
Views: 21973

STM32F4 Discovery MMC over SPI how to accelerate

Dear Guru,

I'm novice in this OS and desk STM32F4Diskovery and ask your help.
I write a LOG module for save my logs to MMC card over SPI2 (target twice per second).
I learned a lot of samples (OS, Japan guru, other) and found good feedback about MMC over CSD or MMC over SPI in DMA mode.
What i have ...
by Kot_dnz
Fri Jan 31, 2014 12:24 pm
Forum: User Projects
Topic: STM32F4 Discovery + Embest BB Demo
Replies: 8
Views: 12478

Re: STM32F4 Discovery + Embest BB Demo

I made a big update.
This requires FatFS 0.9b which has added get/set label.

Are you update require updated files in ChibiOS_2.6.1\os\various\fatfs_bindings ?
Can you share?
Last actual Chan version FatFs is R0.10a, but in os we have 0.8

P.S. SDC & MMC interface look like the same.
Now i write ...