2022-08-17 11:24 PM
Hello, I have a question:
I'm using stm32f303cb.
Thank you for your time,
Domen
2022-08-17 11:49 PM
What counter? Do you mean, can the chip erase itself? Have you read the FLASH chapter in manual?
JW
2022-08-17 11:55 PM
I understand the question to mean that you want to delete the flash when a counter reaches a certain value, right?
This is possible by moving the erase routine to RAM and starting it there, but the power supply could fail during the erase process, which might not completely erase the flash.
Regards
/Peter
2022-08-17 11:57 PM
Yes, you are right.
Okey, thank you for your advice. Can you direct me how to do this?
Best regard,
Domen
2022-08-18 12:59 AM
Read the FLASH chapter in RM I referenced to above, it contains all the information you need.
JW
2022-08-18 01:09 AM
Thank you, I will check.
Best regard