# SD Card Lock\\Unlock via SPI

**URL:** <https://forum.arduino.cc/t/sd-card-lock-unlock-via-spi/194379>\
**Category:** General Guidance\
**Created:** [November 17, 2013, 9:28am UTC](https://forum.arduino.cc/t/sd-card-lock-unlock-via-spi/194379 "2013-11-17T09:28:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 17, 2013, 9:28am UTC](https://forum.arduino.cc/t/sd-card-lock-unlock-via-spi/194379/1 "2013-11-17T09:28:52Z")

</div>

Hello,

Curious to know if it is at all possible to use an Arduino to read and write SD card CSD registers, specifically the TMP\_WRITE\_PROTECT and PERM\_WRITE\_PROTECT registers.

Recently a project was completed using an ATmega328p to modify these registers, the project page is here:

[http://www.seanet.com/~karllunt/sdlocker.html](http://www.seanet.com/~karllunt/sdlocker.html)

What would be nice is with an Arduino incorporate a number of buttons or switches to modify the SD card CSD registers to lock and unlock the device.

Any thoughts or guidance?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 30, 2013, 6:29pm UTC](https://forum.arduino.cc/t/sd-card-lock-unlock-via-spi/194379/2 "2013-11-30T18:29:41Z")

</div>

Anyone care to take a swing at this one? I would be willing to fund an individual to assist with this implementation; feel free to PM me if interested.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 1, 2013, 2:34am UTC](https://forum.arduino.cc/t/sd-card-lock-unlock-via-spi/194379/3 "2013-12-01T02:34:34Z")

</div>

The Gigs and Collaborations section might be a better place to ask, if you're looking for somebody to work with/for you. (You're right - most people would expect to be paid for doing work for you.)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 5:01pm UTC](https://forum.arduino.cc/t/sd-card-lock-unlock-via-spi/194379/4 "2021-05-05T17:01:16Z")

</div>

Closed on May 5, 2021, 5:01pm UTC


