I think I soldered the SD-Socket via kynar wires directly to the board simply because I had an iron on hard, and didn't care to try joining kynar wires into pin headers.
The only time I worked with an SD-Card on the AUAV3, I had a commercial socket which I connected to the
SPI-3 bus. I never connected card-detect or write-protect, so in the code I must have had these
hardcoded to return appropriate values at all times. Looking at my old UDB4 board with a few broken wires, it looks like I ended up with these lines disconnected also. If you wish to use them, simply choose some otherwise unused inputs and configure correctly. I don't know that
uSD cards actually support write protect, and card detect is a little redundant as you can assume if the card will not initialise, it's either not present or broken, same result either way.
The AT45D was designed into the AUAV3 as an alternative option for the
EEPROM which is featured on the UDB4/5 boards. We never realised replacement library algorithms to make it behave like the E2, mostly because it doesn't support individual byte erase operations. I therefore moved to a
filesystem based approach with a vision to ultimately being able to read/write configuration files to it via
MAVLink-FTP. Then it became useful as a
bootloader mechanism with with you seem familiar. So long as configuration files plus a HEX image can fit on the device at the same time, it should be able to support both features concurrently. Although only a tiny
filesystem by comparison with what the SD-Cards provide, it should always be big enough for this. The downside at the time was that it was never going to support much in terms of
logfile capacity.
library I used does not readily support multiple mass-storage devices, so if the SD-Card option is selected, then that's where the configuration (
) files must go as well. Then the AT45D is solely used for the
feature. The
be modified to use the external SD-Card, however there doesn't seem to be much point in going there.