[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SD Card, CMD38 - strange erase problem

Posted on 2009-03-29
4
Medium Priority
?
1,429 Views
Last Modified: 2013-12-10
Hello all,

Developing my current microcontroller project I discovered a strange behavior trying to erase some SDHC card labeled PQI but reported from CID as 'Transcent SM 00000, rev. 1.0'. I searched this manufacturer and seems to be pirate

Anyhow, after CMD32 and 33 (both acknowledged ok by R1=0x00) and after CMD38 -> erase execute (this one too acknowledged ok, R1=0x00) my card isn't erased ! I tried many START-END sector combinations. Instead I get for all SCR (card status register or R2) = 0x0002 meaning 'Write-protect erase-skip/lock/unlock command failed'.

Ok but card is new, lock is in unlock state (checked) and I can read/write single/multiple sectors without any problems.
I tried to get so called 'Write Protected' sectors (to see if have ones) by CMD30 and report is 'Illegal command' so card don't have that feature.

One more thing... after CMD38... this card replies immediatelly by 0xFF after 2 bytes 0x00 so I observed too short 'time of erase' or erase isn't executed at all. For all other cards this takes a little while erasing to complete... (keeping 0x00 bus as busy)

So is possible 'Erase' not to be implemented as long as card manufacturer is questionable ?...
Any ideas ? Tnx in advance,
0
Comment
Question by:mxzuzu
  • 2
3 Comments
 
LVL 34

Expert Comment

by:Michael-Best
ID: 24017965
Return it, I had SD that worked if you jiggled it???
But I lost reciept, so Ahhh
0
 
LVL 26

Accepted Solution

by:
PCBONEZ earned 2000 total points
ID: 24065691
Transcent a real company that makes cheap junk and tries to look like Transcend.
But, I don't think Transcent is the actual counterfeiter.
Some third slapped PQI labels on Transcent parts to beef up their profits.

You problems are because the card is actually Transcent,,,
... a real company that makes cheap junk.

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Or at least that’s the word according to a new blog from Tech Target on AWS’s new Managed Services (MS) offering. According to the blog, AWS is launching their AWS MS program to expedite the adoption of cloud by Fortune 1000 and Global 2000 companie…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question