Arduino Due and SD Card

Moderator: nferre

Posts: 4
Joined: Mon Jun 02, 2014 10:40 pm

Arduino Due and SD Card

Mon Jun 02, 2014 10:51 pm

Hello everyone,

I am pretty new to ARM dev and facing the following issue.

To start, I am using an Arduino Due, Ethernet Shield (with SD Slot), Atmel Studio 6.2, ASF and JLink debugger.

I am trying to write a simple file on the SD card. But when debugging, the following line (in sd_mmc.c file) return false value :

Code: Select all

I configured (in conf_sd_mmc.h) :

Code: Select all

#    define SD_MMC_0_CD_GPIO            (PIO_PA24_IDX)
But I don't really know if the ethernet shield has a CardDetect (CD) pin... I quite lost...

What did I miss?

Thank you

Return to “SAM9-based”

Who is online

Users browsing this forum: No registered users and 2 guests