S25FS512S - OTP Program

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DiWa_4270956
Level 1
Level 1

Concerning the OTP Program command, is a page buffer provided for programming same as in the Page Program command?

In other words can we program more than one region at a time or only one region is allowed to be programmed at a time?

Based on specification:

To program the OTP array in bit granularity, the rest of the bits within a data byte can be set to 1. Each region in the OTP memory space can be programmed one or more times, provided that the region is not locked. Attempting to program zeros in a region that is locked will fail with the P_ERR bit in SR1V set to 1. Programming ones, even in a protected area does not cause an error and does not set P_ERR. Subsequent OTP programming can be performed only on the un-programmed bits (that is, 1 data). Programming more than once within an ECC unit will disable ECC on that unit. The protocol of the OTP Program command is the same as the Page Program command.

However nothing is specified on how many regions can be written at a time

0 Likes
1 Solution

Hi,

You can program more than 1 OTP region in a single OTP program operation. For example, you can program all of the OTP area (1024 bytes) in a single OTP program operation, if all of the 32 byte OTP regions are unlocked.


Thanks and Regards,

Sudheesh

View solution in original post

6 Replies
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi,

You can perform only one OTP program operation at a time.

Please clarify your query, If you were not looking for above information.


Thanks and Regards,Sudheesh

0 Likes

You mean by issuing an OTP Program command you can only program one OTP region at a time ? because what I mean is if you’re provided with a page buffer that could be of configurable size either (256 or 512 ) you would be able to program 8 regions or 16 regions using one OTP Program command and hence you would send more than 1 byte if data but if it’s only one region to be programmed then you would send 32 bytes of data maximum 

SudheeshK_26

Thank you

Dina

0 Likes

Hi,

You can program more than 1 OTP region in a single OTP program operation. For example, you can program all of the OTP area (1024 bytes) in a single OTP program operation, if all of the 32 byte OTP regions are unlocked.


Thanks and Regards,

Sudheesh

Hi,

Thank you

0 Likes
DiWa_4270956
Level 1
Level 1

SudheeshK_26​ does that mean there is a buffer of size 1024 bytes or we program data on the fly (directly)?

is there a wrapping behavior at a certain boundary?

0 Likes
  1. As mentioned in the datasheet, OTP program command is similar to page program command. So, you start OTP program operation from any location of OTP area.
  2. Section 8.1.2 in datasheet says "OTP Program operations outside the valid OTP address range will be ignored, without P_ERR in SR1V set to 1."
0 Likes