+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Getting problem in interfacing micro SD card with LPC2368

    hi
    I am doing project which includes interfacing of SD Card with LPC2368
    I am getting problem in initialization of SD card
    I am using it in SD mode
    I am stuck at response for Command 55
    Getting invalid response
    Hardware is ok i checked it
    I referred code available on net


    Please Help

    •   Alt30th May 2012, 13:46

      advertising

        
       

  2. #2
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Re: Getting problem in interfacing micro SD card with LPC2368

    hello
    My SD card problem is solved now!
    It is initializing :)
    but now I am facing problem in writing and reading one block of data in SD card
    If anyone has experience in SD card please help me



  3. #3
    Advanced Member level 3
    Points: 7,837, Level: 21
    milind.a.kulkarni's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore
    Posts
    923
    Helped
    213 / 213
    Points
    7,837
    Level
    21
    Blog Entries
    1

    Re: Getting problem in interfacing micro SD card with LPC2368

    hi shashank,

    refer the link below full FAT32 implementation for SD card....

    http://www.dharmanitech.com/2009/01/...ga8-fat32.html

    Good Luck
    Hope the post will be helpful to you....
    "Sharing is the best way of Learning"



  4. #4
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Re: Getting problem in interfacing micro SD card with LPC2368

    Hello Mr Milind
    Thank for the reply
    I have gone through the link
    Right now I successfully implemented initialization process of SD card
    i.e. response for cmd0,cmd55,cmd41.
    now I am trying to implement SD card read and write operation
    but when i send SD write command I get Write Tx overrun error
    How to solve this Is there clock related problem
    i am working 18Mhz clock



    •   Alt4th June 2012, 09:47

      advertising

        
       

  5. #5
    Advanced Member level 3
    Points: 7,837, Level: 21
    milind.a.kulkarni's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore
    Posts
    923
    Helped
    213 / 213
    Points
    7,837
    Level
    21
    Blog Entries
    1

    Re: Getting problem in interfacing micro SD card with LPC2368

    the only way I know to solve the timing related issue is use CRO and probe the signal send some known data like 0x55 such that maximum bandwidth can be used and see the respective response on CRO......

    Good Luck
    Hope the post will be helpful to you....
    "Sharing is the best way of Learning"



  6. #6
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Re: Getting problem in interfacing micro SD card with LPC2368

    Dear Mr.Milind,
    Ok I'll check it on server let's see what happens

    Thanks for reply will get back to you.....

    - - - Updated - - -

    Dear Mr.Milind,
    Ok I'll check it on server let's see what happens

    Thanks for reply will get back to you.....



  7. #7
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Re: Getting problem in interfacing micro SD card with LPC2368

    Hello all
    I am trying to interface sd card with lpc2368
    I tried it using MCI mode but I am facing too many problems
    So i am planning to implement it using SPI mode
    can any body help me out with this
    is there any example code with file system implementation
    please Help

    Thank YOU!



  8. #8
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: Getting problem in interfacing micro SD card with LPC2368

    The following is a fairly good tutorial on the implementation of a FAT on a SD card:

    Simple FAT and SD Tutorial Part 1


    A generic FAT File System Library:

    FatFs Generic FAT File System Module


    BigDog
    The Edge... there is no honest way to explain it, because the only people who really know where it is are the ones who have gone over.
    -- Hunter S. Thompson



  9. #9
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Re: Getting problem in interfacing micro SD card with LPC2368

    Hi BigDogguru

    Thanks for your link it helped me a lot to understand the FAT File system concepts

    I got one sample code from my friend I made necessary changes for my application but i am getting one error can you help me with that

    I am getting nested interrupt error

    Thank You!



    •   Alt6th June 2012, 11:11

      advertising

        
       

  10. #10
    Junior Member level 2
    Points: 261, Level: 3

    Join Date
    Dec 2011
    Posts
    21
    Helped
    0 / 0
    Points
    261
    Level
    3

    Re: Getting problem in interfacing micro SD card with LPC2368

    Hi I am getting RX overrun error for SD card FAT File system

    any solution for this????



--[[ ]]--