SD card CSD register change bits (CMD27)

Alex640:
Hello, does anyone know any examples for change the bits in CSD ?

CMD27 0x5B // change the bits in CSD

Change bit 12 (TMP_WRITE_PROTECT) to get SD card write protected and no.

Can you share sketch from your screen?