ah_sandiego wrote: >This app note (2148) below shows how to use the SPI bus/mode to talk >to an SDIO card. I have cut and paste the example and it compiles >correctly, but when I run the program, it behaves the same, regardless >whether or not there is an SD card in. > >The result is, it gets stuck waiting for a response that never comes, >and goes into its infinite while(1). > >Has anyone got this to work? Can anyone post some code that works? > > > I guess they never fixed their code. They had the same problem 4..5 months ago with that appnote. I have a msdos FAT filesystem you can download which uses an SD/MMC drive via SPI. It is at: http://www.openhardware.net/?title=RDCF2%20DOS%20FAT%20Filesystem%20for%20LPC2138&dir=rdcf2&file=rdcf2lpc2138.html Enjoy! TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] SPI/MMC example - anyone got this to work?
2006-03-16 by Tom Walsh
Attachments
- No local attachments were found for this message.