Discussion in "ARM Development" started by    software_developer    Dec 13, 2014.
Sat Dec 13 2014, 01:35 pm
#1
Hello Sir,

I want to access one file from SD card using lpc2148.
i'm using SSP(SPI1) please help me how to access file from sd card and send data over UART.
the format of file should be what type?
sir please help me
can i get the size of card on UART?
Tue Dec 16 2014, 10:35 am
#2
Did you check our tutorial?
http://www.8051projects.net/mmc-sd-interface-fat16/
Tutorial uses Chan's Fat FS library. Check his website. He has all the latest stuff.
http://elm-chan.org/fsw/ff/00index_e.html

the format of file should be what type?

software_developer


File format is not important. You can use any extension or no extension.

can i get the size of card on UART?

software_developer


Yes you can.
Fri Dec 19 2014, 10:24 am
#3
Which files i have to use?
Please give me .zip folder or any project so that i can use files in my lpc2148.
please attach chans library.
i have downloaded something but cant get how to use in my project?
please help me

Mon Dec 22 2014, 10:14 am
#4
Here is a ready test project by Martin Thomas using LPC2000 series controller. Project uses LPC2148 so you can probably run the code directly without any issues. Here is the link:
http://siwawi.bauing.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html#chanfat_lpc2k_spi
Tue Dec 23 2014, 07:49 pm
#5
efsl_glue.c is not available in that code
Sun Dec 28 2014, 10:34 am
#6
It should not be compiling that file at all.
ifneq ($(EFSL_API_TO_FATFS_API),0)
SRC += efsl_glue/efsl_glue.c efsl_glue_test.c
endif

EFSL_API_TO_FATFS_API is defined as 0. I am not sure why you're getting that error. You can still take reference from that code.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm