cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem. I have a hex file. About one year later, it doesn't work after downloading to MCU,There are no changes to this hex.MCU is STM32F103C8T6

YSenl.1
Associate

About one year later,my hex file doesn't work after downloading to MCU(STM32F103C8T6),but every use is normal throughout the year,the hex file has no changes.but it's OK to regenerate ithe hex again.Why?

5 REPLIES 5
ONadr.1
Senior III

There are only four options.

1.The contents of the file have changed unnoticed (rarely when saved to SSD or Flash)

2.MCU is defective

3.MCU series has some BUG (see ERRATA for used MCU series)

4.The HW around the MCU has changed and the problem is in it.

TDK
Guru

I would argue there is a fifth explanation:

5. Assumptions are incorrect.

Hard to know what "doesn't work" means.

If you feel a post has answered your question, please click "Accept as Solution".

Check you haven't left BOOT0 HIGH, and on F1's perhaps what BOOT1 is set to.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Piranha
Chief II

Flash memory (when erasing and writing it), capacitors and crystals age. Voltages, temperature, humidity change. All of these and other things can change some timings slightly and then broken code can fail. Therefore it can be even a software bug.

S.Ma
Principal

Or the chip is a 99% clone...?