this code is from the ess dvd chip project.and implement the basic sd card operation like read,write etc.