This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2612: About flash writing command

Part Number: AM2612

Hello TI support team.

When analyzing the data writing instructions in flash, it was found that there was an extra "06" instruction.May I ask if this is the default behavior of the chip? As shown in the following figure:

 

image.png

 

Best regards,
Bruvin Lu. 

  • Hi Bruvin,

    The 06h command you're observing is the Write Enable (WREN) command, which is a standard and expected behavior when writing to flash memory.

    Why is this command necessary?

    The OSPI controller automatically sends the 06h command before any write/erase operation to:

    1. Set the WEL (Write Enable Latch) bit in the flash status register
    2. Enable write/program/erase operations - Flash memory requires WEL to be set as a safety mechanism
    3. Comply with JEDEC standards - All SPI/OSPI flash devices require this command before writes

    Without the 06h command, the flash will ignore any write/program/erase commands as a protection mechanism. This is default behavior and cannot be disabled - it's part of the JEDEC standard flash protocol.

    Best Regards,
    Mayank Shadwani