S29GL512S Buffer Programming at 64 bytes

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

cross mob
Anonymous
Not applicable

Hello,

   

I use S29GL512S "buffer programming"  every 64 bytes.

   

Now I have a problem.

   

Writing the last 64 bytes in the every sector will make a busy state, and can not get out of busy state.

   

Do you know the cause or solution?

   

Best, Regards

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

   

 

   

The Write Buffer Programming Sequence will be Aborted under the following conditions:
 Load a Word Count value greater than the buffer size (255).
 Write an address that is outside the Line provided in the Write to Buffer command.
 The Program Buffer to Flash command is not issued afte r the Write Word Count number of data words is loaded.

   

Could you please check if above items are correct or not when failure happens?

   

Best Regards,

   

Clement

View solution in original post

0 Likes
5 Replies
Anonymous
Not applicable

Hi,

   

Could you please read status register when failure happens to see what kind of failure happens based on status register value.

   

Best Regards,

   

Clement

0 Likes
Anonymous
Not applicable

Hi

   

I read status register, value is 0x0098 [Device Ready Bit + Program fail + Program aborted during Write to Buffer command]

   

*** app log start ***

   

addr=016bfe80 stat=0080
addr=016bfec0 stat=0080
addr=016bff00 stat=0080
addr=016bff40 stat=0080
addr=016bff80 stat=0080
addr=016bffc0 stat=0098
data write miss!

   

*** app log end ***

   

Best Regards,

   

y.komatsu

0 Likes
Anonymous
Not applicable

Hi,

   

 

   

The Write Buffer Programming Sequence will be Aborted under the following conditions:
 Load a Word Count value greater than the buffer size (255).
 Write an address that is outside the Line provided in the Write to Buffer command.
 The Program Buffer to Flash command is not issued afte r the Write Word Count number of data words is loaded.

   

Could you please check if above items are correct or not when failure happens?

   

Best Regards,

   

Clement

0 Likes
Anonymous
Not applicable

Hi,

   

Thank you.

   

I checked my codes.

   

"Cmd:Program Buffer to FLASH" command address is outside.

   

Thanks for the good advice.

   

Best Regards,

   

y.komatsu

0 Likes
Anonymous
Not applicable

Hi,

   

You are welcome! I am glad to help!

   

Best Regards.

   

Clement

0 Likes