Deepika
ae280d99e1
pulled in capacity issue changes
2017-06-21 15:04:49 -05:00
Deepika
99f3d25f44
Removed hardcoded values for block size
2017-06-21 15:00:47 -05:00
Deepika
c890e0cfc7
Updated Init function
...
Modified initialization flow as per spec diag 7-2
Keep track of card status
block size supported is 512 bytes
Updated read/write functions to use correct block size
2017-06-21 14:16:28 -05:00
Deepika
547da1b24c
Using _cmd for _go_idle_state funciton
2017-06-21 12:16:22 -05:00
Deepika
e68d54efd0
Replaced _cmd58 with common _cmd function
2017-06-21 11:21:45 -05:00
Deepika
e10c59d134
Added response type handling for _cmd
2017-06-21 11:11:47 -05:00
Deepika
27ceeee5b5
Single command function call for all commands supported
...
5. Separated SPI functionality in different function call.
6. Used enums for existing commands using _cmd function.
2017-06-21 10:56:39 -05:00
Deepika
fbd1faf0b1
Single command function call for all commands supported.
...
1. Added enum for all commands supported.
2. Added error codes
3. Command Response defines
4. SPI Data Read/Write defines
2017-06-21 09:59:01 -05:00
Deepika
fa885f4b68
Cleanup of SPI related code
...
3. Removed redundant function _cmdx
2017-06-20 17:03:59 -05:00
Deepika
a26b3bca61
Cleanup of SPI related code
...
1. Added function to select/deselect the device
2. Init function for SPI
2017-06-20 16:41:23 -05:00
Deepika
f462bb6b5a
capacity of card to be calcualted from csd [69,48]
2017-06-20 13:36:06 -05:00
Simon Hughes
5830844aa3
Incorporated review feedback for simplfied _go_idle_state() implementation with 1ms wait between response queries.
2017-04-06 12:47:47 +01:00
Simon Hughes
88fecd54d6
Fix for armmbed/sd-driver issue 4: SDCard Initialisation fails for ESFS test cases on first time initialisation.
2017-04-05 13:32:44 +01:00
Simon Hughes
a8c85d30af
Fixing SDBlockDevice::size() and SPIFBlockDevice::size() to implement BlockDevice::size() const change.
2017-03-14 17:45:48 +00:00
Simon Hughes
7e223bdaeb
Ported mbed 2 FAT32 filesysetm test cases to mbed 5 tests in basic.cpp.
2017-02-24 18:12:16 +00:00
Simon Hughes
9e5cca3be0
Adding SD driver (SDBlockDevice module) and associated test cases (basic, fopen) moved from mbed-os.
2017-02-14 16:54:49 +00:00