Answered how to write raw data to an SD card?

  • Mittwoch, 30. Mai 2007 15:20
     
     
    Hi, I want to send raw data (0s and 1s) to SD card from windows, so that later the data can be read by other micro controllers. I looked on MSDN on the part discussing SD card driver but still have no clue how to communicate with the SD card (handshakes, registers, etc).

    Can anyone help? Thanks a lot.

Alle Antworten

  • Mittwoch, 30. Mai 2007 20:39
     
     
    I wrote some code to communicate with the SD card. Now I can access the card, but to write/read, I need the <sdcardddk.h> which I can't find in anywhere. Is there anyone who knows about this?

    Thanks
  • Donnerstag, 31. Mai 2007 19:55
     
     
    Now I find the sdcardddk.h. however, the linker said it can't find 'sdcardlib.lib'.
  • Donnerstag, 31. Mai 2007 20:10
     
     Beantwortet

    This file ships with the Windows CE Platform Builder as part of the OS tree.

    An eval version is available here: http://www.microsoft.com/windows/embedded/eval/trial.mspx

     

    Michael

  • Mittwoch, 13. Juni 2007 08:29
     
     

    Hi, I also need such files but I cannot download whole PB.

    yj2000, can you send <sdcardddk.h> file to valerkahome@gmail.com .

    I'll be happy. Thank you very much.

  • Mittwoch, 13. Juni 2007 15:01
     
     
    Hi, IamNew,

    As Michael said, the file ships with Windows CE Platform Builder. however, you need to have
    windows CE to install the platform builder. if you are developing on windows XP/Vista/2000 etc,you won't be able to install it.

    An alternative for window 2000/xp etc, is : the file also comes with the Driver Development Kit (DDK) which you can download and install. but after I downloaded it, I found it totally useless. the <sdcardddk.h> doesn't work on its own, it needs corresponding .libs and .dlls to link it,  which, to my surprise, the DDK doesn't  include at all.

    So till now I haven't got a solution yet. but you can have a try and to see if it works.
  • Dienstag, 29. April 2008 16:27
     
     

    Where do I ask the same sdio question, but instead for a win32 platform?
    (I am not using platform builder or CE, but rather vista)
    thanks
     

    • Bearbeitet carterson3 Donnerstag, 19. Februar 2009 16:03 no replys, so I changed it to appease the Gods!
    •  
  • Dienstag, 10. April 2012 06:27
     
     

    Hi yj2000,

    I am new to the this development. I am trying to read raw data from the sd card on PC side and then i have to put it into the database. But i am not able to read the sd card. could you please help me out the same. It seems u have done same thing. Please provide the code. Please do direct me in the right direction.

    Thanks a lot.

    regards

    wep1