Kodewerx
https://www.kodewerx.org/forum/

How do I get rid of MicroSD write protection?
https://www.kodewerx.org/forum/viewtopic.php?f=5&t=7394
Page 1 of 1

Author:  zackfiles0 [ Sun Aug 29, 2010 3:09 pm ]
Post subject:  How do I get rid of MicroSD write protection?

My MicroSD suddenly stopped working, so I plugged it into my computer and this message appeared.

Image

So I didn't mind reformatting the card. I back it up occasionally.
But I noticed the size. It's supposed to be 2GB. Only today, after it corrupted, it was changed to 848 MB.

Image

I hit format, and this popped up.

Image

Write protected... I've only used this card for flashcarts.
My brothers tend to turn off the DS while it's loading the system/game. I don't know if that had anything to do with the situation, but...

Does anyone know how I could get rid of the write protection and format it properly again?


(My dad wants to refresh the whole thing with magnets lol)

Author:  Parasyte [ Sun Aug 29, 2010 5:06 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

MicroSDs don't have a write protect switch. Neither do MiniSD cards: http://upload.wikimedia.org/wikipedia/c ... _Cards.svg See the "Lock" switch? When it's in the down position (toward the arrow) enables write protect.

What is this Panasonic SD Formatter? That's just wrong. Windows has the capability to format drives, including SD cards and flash drives. Why use third-party software when you can use the built-in functionality? (OK, in some cases third-party software is preferable! For example, Windows' built-in CD burning sucks ass. I use InfraRecorder.)

Format the card from the command line:
Code:
C:\> format L: /fs:fat


If you have a *NIX (and you really should!) it's easy to do a full low-level erase by zero'ing the entire flash, create partitions, and format it to FAT32:
(Assuming the dev node is /dev/sdb)
Code:
# dd if=/dev/zero of=/dev/sdb
# parted -s /dev/sdb mklabel msdos mkfs 1 fat32


... I think that's right. I haven't actually tested it, but that's the basic idea. If you actually need to create an MBR (unlikely, unless you want to boot from it) you can always use the MBR provided by FreeDOS.

Author:  zackfiles0 [ Sun Aug 29, 2010 11:32 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

Parasyte wrote:
MicroSDs don't have a write protect switch. Neither do MiniSD cards: http://upload.wikimedia.org/wikipedia/c ... _Cards.svg See the "Lock" switch? When it's in the down position (toward the arrow) enables write protect.

What is this Panasonic SD Formatter? That's just wrong. Windows has the capability to format drives, including SD cards and flash drives. Why use third-party software when you can use the built-in functionality? (OK, in some cases third-party software is preferable! For example, Windows' built-in CD burning sucks ass. I use InfraRecorder.)

Format the card from the command line:
Code:
C:\> format L: /fs:fat


If you have a *NIX (and you really should!) it's easy to do a full low-level erase by zero'ing the entire flash, create partitions, and format it to FAT32:
(Assuming the dev node is /dev/sdb)
Code:
# dd if=/dev/zero of=/dev/sdb
# parted -s /dev/sdb mklabel msdos mkfs 1 fat32


... I think that's right. I haven't actually tested it, but that's the basic idea. If you actually need to create an MBR (unlikely, unless you want to boot from it) you can always use the MBR provided by FreeDOS.


Yeah, I searching some info about MicroSD write protection and all the help I saw was telling me to move my lock switch to the opposite side. And yeah, MicroSD's don't have lock switches so it didn't really get me anywhere...

Oh about the Panasonic SD Formatter. I was reading a guide on GBAtemp about properly setting up an Acekard. I saw one thing on that guide that I didn't do, and it was the formatting. So I read it and they wrote something about Panasonic being better than Windows when it came to SD formatting. Lower chance of freezing/corrupting or whatever. I thought I may as well go with it, if it was important enough to be included in the guide.
Nero ftw

gahh...

Image

:(

I'm not really familiar with NIX... should I look into that?
And if I use a microSD for my AceKard, would that be considered booting from the microSD?

Author:  Parasyte [ Tue Aug 31, 2010 5:31 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

You can use dd in a *NIX environment to write any raw data to the card, and then read it back, to make sure the MicroSD card is actually functioning properly. I don't know of a way to do the same thing in Windows. Windows is not known for its power user features.

Author:  SouL [ Tue Sep 07, 2010 8:05 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

I think I could help you, but it has nothing to do with the Micro thing. It's a bug with Windows XP. Sometimes it says Write Protected for me, but thats just a regular SD Card with the switch. It says Write Protected when the switch is UP for me (meaning unlocked).

So I just unplug the SD Reader, and plug it back in (Mine comp. is a desktop).

Author:  KhaosKnight1 [ Thu Sep 09, 2010 10:29 am ]
Post subject:  Re: How do I get rid of MicroSD write protection?

Para, the Panasonic formater is just a program that supposedly "properly" formats sd cards. It says that the windows formater doesn't do it right or something like that.

The problems might lie in your card reader, some tend to mess up frequently depending on where you bought it from. Same with the sd card, some cards are just cheap Japanese imitations.

Or your card is just fucked up, ya know shit happens, sorry bro.

Author:  Parasyte [ Fri Sep 10, 2010 4:32 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

There's a "proper" way to format a disk to FAT32? As far as I know, FAT32 is FAT32. That's difficult to fuck up, even for Microsoft.

Just saying.

Author:  KhaosKnight1 [ Fri Sep 10, 2010 6:20 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

I dont quite understand the reason for it either, i remember reading about it one time and it said something about how it "properly" formats an SD card, because they have a special structure or something like that.


Wikitemp wrote:
According to Panasonic "SD/SDHC Memory Card file systems formatted with generic operating system formatting software do not comply with the SD Memory Card specification." This means that your O/S's built in drive formatter is not designed to format the exact set of circumstances that allow your microSD cards to function at their peak performance. While this may not be important for your Cell phone, it is very important when talking about ROMs and read/write access speeds which pertain to NDS flash kits. The Panasonic formatter is *smart* software. It will know what type of microSD you have. This means that you can use the default settings and the results will be a correctly formatted microSD ready for use in your Acekard product. Remember when your reformat your microSD you will erase all of the data. Be sure to make back-ups of your important saves, files, etc.


Wikitemp wrote:
* Why should I bother to use the Panasonic SD formatter?

If you're experiencing lag while scrolling files or loading/running games, you should use the formatter to noticeably improve your cards speed


I didnt format my SD card with it and I havent noticed any slowdowns or anything of that sort.

Author:  Parasyte [ Sat Sep 11, 2010 11:29 am ]
Post subject:  Re: How do I get rid of MicroSD write protection?

That doesn't make any sense. The real problem with reading from flash media is "random access". FAT32 has a tendency to become fragmented when many files are copied/moved/deleted. Defragmentation puts all the file pieces into contiguous regions, so that the SD can "stream" several blocks (512 bytes) without requiring an intermediate "seek" command between each block.

I call bullshit.

Author:  KhaosKnight1 [ Sat Sep 11, 2010 2:59 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

They also tell you to never defrag an SD card either....

Wikitemp wrote:
* My microSD is acting odd, should I defrag it?

NO, NEVER, EVER, defrag your microSD/SDHC cards. Each card has a limited number of read/writes before they cease to function. The best solution is to copy everything off, format using the Panasonic SD formatter, then copy everything back. A freshly formatted microSD will perform better than a defragged one!

Author:  Hextator [ Sat Sep 11, 2010 6:12 pm ]
Post subject:  Re: How do I get rid of MicroSD write protection?

Aside from the specification of how to format it, that's probably sensible information. If you write it all at once it's probably not going to be all fragmented to shit, but if you defrag it and the defrag'ing process involves lots of writing you really will be wearing down the card.

As for whether it's even noticeable wear, I have no idea, but in general wasting writes is a bad idea.

Author:  Parasyte [ Sun Sep 12, 2010 11:19 am ]
Post subject:  Re: How do I get rid of MicroSD write protection?

Yeah, the write limits are about 10,000 per block, even on substandard flash media. If you defragmented every day, it would still take more than 5 years before you started seeing bad blocks. By that time, you'll want a bigger SD ... and Nintendo's next system will be out, anyway. Hell, if you formatted and wrote new files to it every day, there would be no difference in the life expectancy of the flash ROM.

I think this wikitemp thing is hilarious! Thanks for the laugh.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/