ASF SD Card driver problem for ATMEL SAMV71 Micro running Reliance Edge and FreeRTOS

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I am currently attempting to run some speed tests provided by Datalight (vendors of the Reliance Edge File System). I have therefore integrated FreeRTOS, Reliance Edge and ASF SD card drivers together.

The result is that I have a Reliance Edge File system running from an SD card. This has been all good... But I have found that the ASF SD/MMC driver code only appears to function correctly if all the data is written to the card using a multi-block-transfer (SD card CMD25). I find that a single block transfer (CMD24) seems to result in a response timeout (MAXLAT exceeded). I have not chased this down further and am living with multi-block transfers only.

 

Is there a reason that CMD24 might not work and CMD25 work just fine?

 

Many thanks,

 

Paul.

 

Last Edited: Fri. Dec 6, 2019 - 01:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SMV71 is not an AVR!

 

ARM forum: https://community.atmel.com/foru...

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, sorry.. wrong forum, I will repost...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
SMV71 is not an AVR!
Y'all know that it is easy to simply move threads? I have been (silently!) moving one or two ARM-ASF threads per day from the AVR-ASF forum. I simply missed this one as I was in Dublin to see Rod Stewart so didn't read Freaks for a day or two.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

... ofc, but there was a new thread made before I got to it... (And thread merging seems to be... A bit hit and miss)

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

Topic locked