Small SD card code?

A new version of SdBoot is attached to this reply. You must be logged in to download the the attachment.

I fixed a couple of bugs. The most serious bug required a major change to avoid a 32-bit multiply and the increase in flash size.

I added a number of configuration options and improved error handling. I managed to limit the size increase to six bytes by optimizing several areas.

The options such as chip select pin can be set by editing SdBootConfig.h.

SdBoot20120202.zip (8.43 KB)