cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to erase Full chip?

DIvan.1
Associate III

Hello, I have a question:

  • Is it possible to erase full chip (for example... erase full chip after counter value get value 100)?

I'm using stm32f303cb.

Thank you for your time,

Domen

5 REPLIES 5

What counter? Do you mean, can the chip erase itself? Have you read the FLASH chapter in manual?

0693W00000QNxUjQAL.pngJW

Peter BENSCH
ST Employee

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

In order 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.
DIvan.1
Associate III

Yes, you are right.

Okey, thank you for your advice. Can you direct me how to do this?

Best regard,

Domen

Read the FLASH chapter in RM I referenced to above, it contains all the information you need.

JW

Thank you, I will check.

Best regard