Author Topic: Examples regarding SD cards  (Read 1628 times)

0 Members and 1 Guest are viewing this topic.

Offline DajgoroTopic starter

  • Frequent Contributor
  • **
  • Posts: 322
  • Country: hr
    • hackaday.io
Examples regarding SD cards
« on: April 06, 2014, 10:02:45 pm »
Hi.

A while ago I posted a topic about SD cards with the Arduino, and I got that working.
But I can't always use a Arduino everywhere, so today I was looking for some SD card examples for other platforms, but the problem is that a lot of those examples use some old compilers, or some odd tools, and some specific mcu-s, so I wasn't able to successfully compile any of the examples I found.

So does anyone know any good examples that work with current development tools for any sort of simpler mcu like atmega, pic18f, LPC13xx series, etc... ?

Edit:
I already tried fatfs and petit fat, and all of the examples are a bit tricky to get working...
« Last Edit: April 06, 2014, 10:14:46 pm by Dajgoro »
 

Offline lapm

  • Frequent Contributor
  • **
  • Posts: 564
  • Country: fi
Re: Examples regarding SD cards
« Reply #1 on: April 07, 2014, 12:40:14 pm »
Maybe you should take closer look how to talk to Sd cards.. Its not that difficult. Its much more difficult to write code needed to use it with some sensible file system so you can actually read that sd card on computer later easily.

https://www.sdcard.org/downloads/pls/
Electronics, Linux, Programming, Science... im interested all of it...
 

Offline DajgoroTopic starter

  • Frequent Contributor
  • **
  • Posts: 322
  • Country: hr
    • hackaday.io
Re: Examples regarding SD cards
« Reply #2 on: April 07, 2014, 12:56:01 pm »
Actually, the idea was to not have to deal with any low level stuff at all.
For example the Arduino has a library for sd cards that just works out of the box, it takes a lot of memory, but it works. You initialize it, and you can use read write files just if it was a program running on a pc.

The thing is that when developing a project, such libraries are kinda important, because you often just don't have the time to go deal with low level stuff, and if it is time critical, you would just pick a platform with that solved.
So that is why I started this topic to see if there are such libraries for other platforms that are not arduinos.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf