PDA

View Full Version : picbasic pro SD_MMC



iw2fvo
- 13th January 2009, 11:03
Hi to All !
I am searching for a sample code in order for me to be able to write and read data on sd_mmc cards using PIC micro.
Any sample code available ?
Any suggestion ?
Thanks in advance for the help .
regards
Ambrogio

Jerson
- 13th January 2009, 14:29
I haven't searched this site, but do remember seeing something about using MMC cards. However, this is one link I had bookmarked ... I haven't checked if it used Picbasic pro or not.
http://www.compsys1.com/workbench/On_top_of_the_Bench/MMC_Project/mmc_project.html

Enjoy

iw2fvo
- 14th January 2009, 10:24
Thanks,
this is a good starting point.
Iw2fvo

anode505
- 14th January 2009, 23:25
I'm just getting back into tinkering again. But if memory serves me right a SD card is basically a SPI interface. Now if you want the card to be read in a PC also, then things get a lot stickier.

BrianT
- 15th January 2009, 06:17
Have a look at

www.jianpingusa.com

for a ready built solution. Runs with PBP at 19,200 bps.

I bought a pair and got them very promptly. They are to be used in my next project and not used just yet.


HTH
BrianT

kirtcathey
- 15th January 2009, 10:54
Jerson >> That compsys link only has a schematic. Do you have that Picbasic code? A link for the code is there, but it's dead or wrong, or something.

Melanie
- 15th January 2009, 11:18
The code is still there - and it's downloadable. The link opens up a Directory, thereafter just click the file you want, BAS, HEX etc. I've had a quick look at the BAS file, and it is recognisable as PBP...

kirtcathey
- 15th January 2009, 11:28
Thanks Melanie. Been reading your posts, thanks for all the help.

It is right there!

(Scratching head....)

--Kirt

iw2fvo
- 16th January 2009, 10:55
I'm just getting back into tinkering again. But if memory serves me right a SD card is basically a SPI interface. Now if you want the card to be read in a PC also, then things get a lot stickier.

Thanks,
I do not want to read the sd mmc cards using the PC: i will like to read / write it just using the PIC . I will like to have a sample program in basic if any.
Any help is appreciated .
Yhanks
IW2FVO
Ambrogio

Bruce
- 16th January 2009, 21:53
Have a look here: http://melabs.com/resources/samples/pbp/SDFS1.ZIP

iw2fvo
- 18th January 2009, 17:04
Have a look here: http://melabs.com/resources/samples/pbp/SDFS1.ZIP

Thanks a lot Bruce for the program relevant to mmc read / write in basic for the PIC .
That is great : I am very happy about that.
I will try it ... and could be i will ask few other questions !

Bye
iw2fvo
Ambrogio
North Italy

kirtcathey
- 19th January 2009, 23:36
Bruce,

I too really appreciate the posting above and all the other help provided on this forum.

--Kirt

gem1144aaa
- 24th September 2009, 10:34
Bruce,

I too really appreciate the posting above and all the other help provided on this forum.

--Kirt
http://melabs.com/resources/samples/pbp/SDFS1.ZIP

Just want to say that this link is changed now to be as

http://melabs.com/resources/samples/pbp/sdfs3.zip

regards

mackrackit
- 24th September 2009, 11:17
http://melabs.com/resources/samples/pbp/SDFS1.ZIP

Just want to say that this link is changed now to be as

http://melabs.com/resources/samples/pbp/sdfs3.zip

regards
If you like SDFS then you may want to look at this.
http://www.picbasic.co.uk/forum/showthread.php?t=11700