Subversion Repositories NaviCtrl

Rev

Rev 378 | Rev 380 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 378 Rev 379
Line 519... Line 519...
519
                UART1_PutString("Error setting block length to 512.");
519
                UART1_PutString("Error setting block length to 512.");
520
                        result = SD_ERROR_SET_BLOCKLEN;
520
                        result = SD_ERROR_SET_BLOCKLEN;
521
                        goto end;
521
                        goto end;
522
        }
522
        }
Line 523... Line 523...
523
               
523
               
524
                //SSC_Disable(); // set SD_CS high                                                                       
524
                SSC_Disable(); // set SD_CS high                                                                         
-
 
525
                // here is the right place to inrease the SPI baud rate to maximum              
525
                // here is the right place to inrease the SPI boud rate to maximum              
526
                SSC_Speed(2000);
Line 526... Line 527...
526
                //SSC_Enable(); // set SD_CS high
527
                SSC_Enable(); // set SD_CS high
527
 
528
 
528
                // read CID register
529
                // read CID register
529
                result = SDC_GetCID((u8 *)&SDCardInfo.CID);
530
                result = SDC_GetCID((u8 *)&SDCardInfo.CID);