Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: SAM3S HSMCI driver for AS6
PostPosted: Thu May 10, 2012 2:35 pm 
Offline

Joined: Thu Nov 03, 2011 11:17 am
Posts: 16
Hi,
i just downloaded new Atmel Studio 6. The included ASF for SAM3S family is more extensive then beta version, but what I realy need is hsmci driver, or working example of usage that peripheral. Does anyone have any experience with this SD-card interface? Im searching for woking example for SAM3S-EK board. :)
In whole example projects AS6 (all devices) there is no one for HSMCI...
Kshysio


Top
 Profile  
 
 Post subject: Re: SAM3S HSMCI driver for AS6
PostPosted: Mon May 21, 2012 9:28 pm 
Offline

Joined: Thu Nov 03, 2011 11:17 am
Posts: 16
I've already done it by myself - with a books help. Thanks anyway. :twisted:


Top
 Profile  
 
 Post subject: Re: SAM3S HSMCI driver for AS6
PostPosted: Thu Jul 05, 2012 12:48 pm 
Offline

Joined: Thu Nov 03, 2011 11:17 am
Posts: 16
if anyone else has a problem with HSMCI I put here my working source files - tested with Atmel Studio 6. enjoy! :mrgreen:


Attachments:
sd_hsmci.zip [5.7 KiB]
Downloaded 104 times
Top
 Profile  
 
 Post subject: Re: SAM3S HSMCI driver for AS6
PostPosted: Mon Aug 06, 2012 11:22 am 
Offline

Joined: Fri Jun 01, 2012 8:53 am
Posts: 11
Hi kshysio,

first of all, really thank you for your source files. I encountered a strange problem : when i try to write a block into the card, the block which was written has the good size but the value stay 0x00 for each byte.

Have you any idea about what it's mean?
Thank you.


Top
 Profile  
 
 Post subject: Re: SAM3S HSMCI driver for AS6
PostPosted: Thu Aug 16, 2012 10:27 pm 
Offline

Joined: Tue Feb 05, 2008 11:46 am
Posts: 17
is the code using PDC or DMA and is the source data in Flash?

if yes to both, PDC and DMA are not allowed to use Flash as source.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: