@@ -35,6 +35,11 @@ TODO: 0x1AA seems to be a common value, others also possible, investigate best p
1. Run `CMD24` with argument `DATA_ADDRESS`. Expected response: `0x00`. We then send data block start byte `0xFE` followed by the actual data in byte blocks of 512 bit in total. We then receive data send end byte `0x05`.
2. Wait for end of BUSY state.
## Alternative Adressing
Since the SDHC standard was introduced the default block size for the SD-Card is locked at 512 bytes and the SET_BLOCKLEN Command has been deprecated. Since 512 bytes is likely too large for our design we propose an alternative block addressing:
In this scheme, we utilise the READ_MULTIPLE_BLOCK and the WRITE_MULTIPLE_BLOCK commands together with the STOP_TRANSMISSION command. These commands were designed to allow users to read/write multiple blocks in succession, but also _should_ allow us to break off the transmission after some fraction of the block (i.e. 64/128Bytes) has been read/written. If we break of consistently we should be able to create smaller virtual blocks, sacrificing some capacity in the process.
To choose between these addressing modes, consultation with the filesystem group is needed.