Welcome! Log In Create A New Profile

Advanced

Marlin SD troubles

Posted by Vollnormal 
Marlin SD troubles
January 24, 2012 02:46PM
Hi,

I connected a SD Card reader to my RAMPS board running Marlin. The sdrampstest works after I changed "SPI_FULL_SPEED" to "SPI_HALF_SPEED", otherwise it would just say, that it would not detect my FAT partition.

I did this in the Marlin firmware aswell in the Sd2Card.h:
bool init(uint8_t sckRateID = SPI_FULL_SPEED, 
   uint8_t chipSelectPin = SD_CHIP_SELECT_PIN);
to
bool init(uint8_t sckRateID = SPI_HALF_SPEED, 
   uint8_t chipSelectPin = SD_CHIP_SELECT_PIN);

I still get the error "volume.init" failed. So it detects the card fine, but not the partition sad smiley I've tried three cards already.

Any Ideas?
Re: Marlin SD troubles (fixed)
January 24, 2012 03:34PM
Aha,

had to change the following aswell in "cardreader":

(!card.init(SPI_FULL_SPEED,SDSS))

to

(!card.init(SPI_HALF_SPEED,SDSS))

smiling smiley
Re: Marlin SD troubles (fixed)
September 05, 2012 07:52PM
Vollnormal -
I too had this issue.
Thanks for the fix.
Brad
Sorry, only registered users may post in this forum.

Click here to login