Skip to main content
This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
August 29, 2024

No you can't.

You can maybe program your expiry date into the flash and use RTC and each time in your application you need to compare the current date to what programmed into the flash and do what you want to do: don't run the application or whatever ..

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

3 replies

Peter BENSCH
ST Technical Moderator
August 29, 2024

For what purpose would such an expiry date be useful?

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.
TDK
August 29, 2024

No, you can't set an expiration date on a HEX file.

"If you feel a post has answered your question, please click ""Accept as Solution""."
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
August 29, 2024

No you can't.

You can maybe program your expiry date into the flash and use RTC and each time in your application you need to compare the current date to what programmed into the flash and do what you want to do: don't run the application or whatever ..

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.