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

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am