A UNIX emulation shell to access the underlying SDCard FileSystem through a terminal interface

Dependents:   Waldo_Embed_V2

Information

SDShell does not change the com baudrate. Access is made using the baud as initialized by the Serial object when passed into the SDShell object

Example

#include "mbed.h"
#include "SDFileSystem.h"
#include "SDShell.h"

Serial com(USBTX, USBRX);
SDFileSystem sd(p11, p12, p13, p14, "sd");
SDShell emulate;

int main()
{
    emulate.init();
    emulate.shell(com, sd, "/sd");
}

History

updated bcat to read 512 byte blocks default tip

2013-05-27, by sam_grove [Mon, 27 May 2013 15:00:05 +0000] rev 13

updated bcat to read 512 byte blocks


Updated "du" to use fseek. should be faster. needs to be tested

2013-05-17, by sam_grove [Fri, 17 May 2013 19:04:09 +0000] rev 12

Updated "du" to use fseek. should be faster. needs to be tested


removed dependencies from library. Must pull in separately.

2013-05-14, by sam_grove [Tue, 14 May 2013 23:22:29 +0000] rev 11

removed dependencies from library. Must pull in separately.


Added cksum command. Untested.

2013-05-14, by sam_grove [Tue, 14 May 2013 22:15:13 +0000] rev 10

Added cksum command. Untested.


Added "du" for disk usage. Also cleaned buffers before use

2013-05-14, by sam_grove [Tue, 14 May 2013 12:49:18 +0000] rev 9

Added "du" for disk usage. Also cleaned buffers before use


Changed parser to accept '\r' or '\n'. Minor change to bcat but not relevant. may consider renaming the feature.

2013-05-08, by jekain314 [Wed, 08 May 2013 06:16:46 +0000] rev 8

Changed parser to accept '\r' or '\n'. Minor change to bcat but not relevant. may consider renaming the feature.


read one byte when using bcat

2013-05-08, by sam_grove [Wed, 08 May 2013 04:08:16 +0000] rev 7

read one byte when using bcat


Added packetization to bcat

2013-05-06, by sam_grove [Mon, 06 May 2013 04:09:32 +0000] rev 6

Added packetization to bcat


added bcat with formatting of binary data

2013-05-06, by sam_grove [Mon, 06 May 2013 04:04:18 +0000] rev 5

added bcat with formatting of binary data


Added catb for binary files;

2013-05-05, by jekain314 [Sun, 05 May 2013 18:39:35 +0000] rev 4

Added catb for binary files;