2023-12-13 01:22 AM
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??
Solved! Go to Solution.
2023-12-13 02:33 AM
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.
2023-12-13 02:33 AM
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.
2023-12-25 05:29 AM
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.