# Micron 2GB unable to set WEL bit

**URL:** <https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890>\
**Category:** Integrated Circuits (ICs)\
**Tags:** micron-technology-inc, memory\
**Created:** [January 11, 2024, 2:59pm UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890 "2024-01-11T14:59:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sales11](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sales11](https://forum.digikey.com/u/sales11)\
**Post date:** [January 11, 2024, 2:59pm UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890/1 "2024-01-11T14:59:27Z")

</div>

Part: MT29F2G01ABAGDWB

I am unable write data because I cannot seem to set the Write Enable Latch in the Feature status register. All SPI signals are verified correct to the datasheet on an oscilloscope. I can read the device ID register and get the correct data reply. The external pins WP# and HOLD# are wired to 3.3V. The CS# pin has a pullup so that it rises with VCC on powerup, as per datasheet.

I set the Write Enable Latch bit according to the datasheet: CS low; 06h (WRITE ENABLE command); CS high; (delay); CS low; FEATURE command for status (1Fh, 0Ch, dummy\_byte); CS high. The chip serial out pin goes low and sends 00h at the end of the command. Status and all other Feature registers also read 00h. I expect 02h for the WEL bit set instead.

Do need to do something before I can set the WEL bit? I cannot find anything else in the datasheet. I have tried two parts.

---

<div class="post-metadata">

**Author:** ![Rob\_Johnson](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Rob\_Johnson](https://forum.digikey.com/u/Rob_Johnson)\
**Post date:** [January 11, 2024, 4:31pm UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890/2 "2024-01-11T16:31:07Z")

</div>

Hello, welcome to the Techforum! I have reached out to our product specialist about this to help troubleshoot why you are unable to write data to this part. Technical reference number T4646586

---

<div class="post-metadata">

**Author:** ![sales11](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sales11](https://forum.digikey.com/u/sales11)\
**Post date:** [January 12, 2024, 12:12am UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890/3 "2024-01-12T00:12:56Z")

</div>

I made a typo above, FEATURE command for status (1Fh, 0Ch, dummy\_byte)  
should be FEATURE command for status (0Fh, 0Ch, dummy\_byte).

It is correct in my code. I copy-pasted here from the wrong paragraph of the DS.

---

<div class="post-metadata">

**Author:** ![Verna\_1353](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Verna\_1353](https://forum.digikey.com/u/Verna_1353)\
**Post date:** [January 12, 2024, 12:30am UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890/4 "2024-01-12T00:30:59Z")

</div>

> [@Rob\_Johnson](#):
>
> 4646586

Hello,

I will send the updated request to the Product Specialist.

---

<div class="post-metadata">

**Author:** ![sales11](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sales11](https://forum.digikey.com/u/sales11)\
**Post date:** [January 12, 2024, 1:40am UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890/5 "2024-01-12T01:40:14Z")

</div>

Solved. My typo in code was 0x0C for status register address. Correct address is 0xC0. Now everything works. Note for others: part ships with all blocks write protected. Bits must be cleared in Feature Block Lock (address 0xA0) to enable writing to address block ranges.

---

<div class="post-metadata">

**Author:** ![Verna\_1353](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Verna\_1353](https://forum.digikey.com/u/Verna_1353)\
**Post date:** [January 12, 2024, 1:46am UTC](https://forum.digikey.com/t/micron-2gb-unable-to-set-wel-bit/37890/6 "2024-01-12T01:46:57Z")

</div>

That is awesome. Thank you for letting us know.
