This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FlashFS finit error

Hi
I have a kind of mysterious problem about SD card.

I've programed FlashFS sample code into LPC2388 and it's completely fuctional for kingston 2GB SD card, SanDisk 1GB sd Card, 16GB Transcend class 10, but 8GB Transcend in class 10 never be initiated with finit and it makes always "2" or "3" as a response.

it's so interesting for me that Kingston 2GB is really fast in write and read, LPC2388 can write 3.6MBps but SDHC class10 can be written up to 2MBps.

that sample code has some incompatibility with SDHC which was about MCI clock:

static void mci_set_speed (U32 speed) {
  /* Set a MCI clock speed to desired value. */
  U32 i,clkdiv;

  if (speed == HIGH_SPEED) {
    /* Max. 25 MBit used for Data Transfer. */
    clkdiv = 1;//0;
  }
...

I changed it to 1 so MCI can work with 18MHz when CPU clock is 72MHz(when clkdiv=0 SDHC couldn't work properly).

would you please tell me what's going wrong with Transcend 8GB.(it is OK in windows XP and win7 and I formatted it some times in windows and DOS but doesn't make any changes at all).

thanks you