DMA issue to be tested

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
chaithanyarss
Date:
Sat Sep 10 05:10:06 2016 +0000
Parent:
303:b49b486a7107
Child:
305:beb148fe97dc
Commit message:
no SD write and read

Changed in this revision

cdms_sd.h Show annotated file Show diff for this revision Revisions of this file
--- a/cdms_sd.h	Mon Sep 05 11:25:33 2016 +0000
+++ b/cdms_sd.h	Sat Sep 10 05:10:06 2016 +0000
@@ -262,7 +262,7 @@
 
 int SD_WRITE(uint8_t* buffer,uint32_t fsc,uint8_t sid)
 {
-    uint32_t block_number;
+    /*uint32_t block_number;
     int result = 10;
     if(SD_STATUS == DEVICE_POWERED){
     if(sid==0x01)
@@ -325,13 +325,13 @@
         }
         return result;
     }
-    }
+    }*/
     return 1;
 }
 
 uint8_t SD_READ(uint8_t* buffer,uint32_t fsc,uint8_t sid)
 {
-    FCTN_SD_MNGR();
+    /*FCTN_SD_MNGR();
     uint32_t block_number;
     int result;
     //if(SD_SW_EN_DS == 1)
@@ -383,7 +383,8 @@
     if(result == 0)
         return 0xA0;
     else
-        return 0x88;
+        return 0x88;*/
+    return 0xA0;
 }