In addition, the code is not I write, but didn't see anything after I read the question, here attached some pictures and some of the code, please everyone a great god can see problem in that?
Working mode for SPI, from the SD card reading, design sw123 three switches, eight kinds of command is obtained by combination, each command switch corresponds to a file,
