cancel
Showing results for 
Search instead for 
Did you mean: 

Fast FLASH programming - mass erase neccesary?

Tobe
Senior III

I read in the doc for the G431:

"The Flash main memory programming sequence in standard mode is as follows:
1. Perform a mass erase. If not, PGSERR is set."

So i can not do a single page erase??

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @Tobe ,

Yes, the fast programming mode can be performed just after a mass erase, if not, PGSERR (Programming Sequence Error bit) is set.

PGSERR bit: Programming Sequence Error is set in fast programming mode when the mass erase is not performed before setting FSTPG bit (Fast programming bit).

For more information please refer to Programming errors.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
KDJEM.1
ST Employee

Hello @Tobe ,

Yes, the fast programming mode can be performed just after a mass erase, if not, PGSERR (Programming Sequence Error bit) is set.

PGSERR bit: Programming Sequence Error is set in fast programming mode when the mass erase is not performed before setting FSTPG bit (Fast programming bit).

For more information please refer to Programming errors.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

KDJEM.1
ST Employee

Hello @Tobe ,

If you need any further clarification, please don't hesitate to ask. 

If your question has been answered, please close this topic by choosing Accept as Solution. This will help other users find that answer faster. 

Thank you for your contribution in STCommunity.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.