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  [ 1 post ] 
Author Message
 Post subject: SAM3S-EK storage examples
PostPosted: Mon Mar 26, 2012 4:04 pm 
Offline

Joined: Thu Nov 03, 2011 11:17 am
Posts: 16
hello,
i'm starting my adventure with ARM - previously i've worked with AVR based microcontrollers. First goal is to run 4-bit data transfer to a SD card - and example projects from atmel won't work. (i've tried Keil examples and gnu examples). I tested this examples with 2 GB SD and 16 GB HC SanDisc cards. Console output for thus examples is something like:

Code:
-- Basic HSMCI SD/MMC Example 2.0 --
-- SAM3S-EK
-- Compiled: Mar 26 2012 12:26:24 --
-I- Please connect a SD card ...
-I- SD card connection detected
-I- Cannot check if SD card is write-protected
-D- PowerON()
-D- Cmd52()
-D- Cmd0()
-D- SdMmcIdentify.SwReset fail: 3
-D- Cmd8()
-D- Cmd5()
-W- SdMmcIdentify.Cmd5: 3
-D- Cmd55()
-E- Acmd41.cmd55:3
-D- SdMmcIdentify.Acmd41: 3, try MMC
-D- Cmd0()
-D- Cmd1()
-D- Cmd1()
-D- Cmd1()
-D- Cmd1()
-D- Cmd1().....

or like this:
Code:
-- Basic MultiMedia Card Project 2.0 --
-- SAM3S-EK
-- Compiled: Mar 21 2012 09:52:34 --
-- Buffer@20000378,size 0x2000
-I- Cannot check if SD card is write-protected

==========================================
-D- PowerON()
-D- Cmd52()
-D- Cmd0()
-D- SdMmcIdentify.SwReset fail: 3
-D- Cmd8()
-D- Cmd5()
-W- SdMmcIdentify.Cmd5: 3
-D- Cmd55()
-E- Acmd41.cmd55:3
-D- SdMmcIdentify.Acmd41: 3, try MMC
-D- Cmd0()
-D- Cmd1()
-D- Cmd1()
-D- Cmd1()
-D- Cmd1()....

could someone explain is this a hardware problem (my sam3s-ek board is rev.c) or some library mistake?
it is possible to find this storage examples for Atmel Studio 6? or any other showing how to use HSMCI interface?
best regards
Kshysio


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] 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: