Getting a Smoothie on a breadboard to access the SD Card

Hi,

I have built a Smoothie on a breadboard to better undestand how it works for another project (FirePick Delta ) I am helping on.

I have managed to get the bootload loaded and cannot get the SD card to be read by the LPCxpresso. It is connected using an Adafruit micro sd card breakout board and I am using an Adata 8GB micro sd card.

Here is a trace from the logic analyzer: (oops I cannot past links yet :frowning: )
but it is at s18 . postimg . org / b12u64mzt / screenshot.png

I have reformatted the card as FAT32 and exFAT, no success.

I am using the firmware.bin from the Edge branch.

Help!! :slight_smile:

Cheers
Douglas

Imported from wikidot

Hey.

Can you try inverting the MOSI and MISO lines ?

Thanks :slight_smile:

Hi Arthur,

Yes, I have tried that, still no change.

The trace for the swapped pins is here, but still won’t start up:
s28 . postimg . org / 4llcl24nh / screenshot_MISO_MOSI_swapped . png

Then I don’t know what’s up … maybe try another SD card ?

OK, I will buy some more (different brands) today.

Out of curiosity, what brand / type is shipped with SmoothieBoard itself?

4GB SanDisk

Thanks, Class 4, 6 or 10 or other?

It was very interesting examining a variety of cards with my logic analyser on the SPI interface,

In the end, I got it working with a Kingston Class 4, 4GB micro CD card, plus 6k8 pull up to 3V3 resistors on MOSI, MISO and CE.

It appears that the SPI / SD Card library doesn’t tolerate a lot of cards and only works for a few brands and classes.

Now I can start to migrate the rotational delta code from FirePick to Smoothie.

Cheers
Douglas