2011-12-05 05:37 AM
Hi Everbody,
I try to disable the write protection of a SD card? How can i use CMD29 to disable the write protect?2011-12-05 05:38 AM
Hi,
I use stm32f205, sdio 4-bit comm.2011-12-05 12:49 PM
The format of the CMD29 command is described in the SD card spec, which is a free download from the SD Card Association website.
Note this command has nothing to do with the write-protect switch on the card (which is not connected internally to the card). Also the spec points out that SDHC and SDXC cards do not support the CMD29 command.2011-12-07 03:39 AM
Hi Frank,
Thanks alot. I try to write long file Kingston SD card but failed. Some part of file is incorrect in SD card ( Kingston ). When I use another SD card ( Which is Sandisk or Syrox ), it writes long size data into SD card correctly. I face problems with Kingston SD cards. Doest it have different electrical specs or clock?Best Regards.2011-12-07 07:54 AM
You're welcome.
I'm not aware of any electrical differences with Kingston cards. I have a Kingston class 10 16 GB SDHC card and have noticed it's pretty slow (compared to my other cards) for reading, but that's not an electrical issue; that's just how its internal controller functions. What speed is your external SDIO clock running at? If you think you might have a timing issue, you can try slowing down your SDIO clock and see if that helps. Is your card connected directly to your processor, or do you have a level converter or some other logic between the card and STM32? ~~~~~~~~~2011-12-08 12:22 AM
which file system you are using??
2011-12-08 11:02 PM
Hi,
I use Chan Fat file system, FAT32.2011-12-08 11:05 PM
Hi Frank,
I store alot of music files (.mp3) to my SD card ( Kingston ) in my PC. When i plug the SD card to my Music player ( on my car ), There is only half of the music files on SD card. I mean that these Kingston cards have problem. Thanks alot.2011-12-09 08:03 AM
I have a Kingston 16 GB ''Class 10'' card. That's what it says on the packaging and on the label. It was purchased from a major retailer (not some ebay special). But it's the slowest card in my collection. According to its internal registers (the 512-bit card status), it's actually a Class 4. and I have other class-4 cards which are faster than this one. So yes, I certainly agree with you, Kingston does not appear to be a quality brand. Having said that, we don't always get to choose which cards customers stick in our products (maybe you have that control but we don't), so we have to do the best we can.
2011-12-09 09:16 AM
Having said that, we don't always get to choose which cards customers stick in our products.
Frank that is SO TRUE, my experience is they will even cram in things which should not physically fit. Expect anything, fail gracefully.