2021-11-25 02:47 AM
Read out protection issue ,I am unable to reprogram the board and the previous code is not executing as well. I have faced this issue in multiple boards .I am unable to debug this issue since long and the last option is to replace mcu with new one. Any support appreciated. Please check below attachment for ref
Thanks in advance.
2021-11-25 06:57 AM
Do other option bytes read out correctly/as expected? Does the chip draw the expected amount of current?
Chips dying after a bit is not typical and suggests there are hardware issues, perhaps an overvoltage condition.
2021-11-25 07:03 AM
Certainly sounds like a chip/board level failure.
Does any of your code write to FLASH? Use the EEPROM Emulation?
Here you'd need to be very concerned about the power supply, and also reseting properly. If you have multiple supply rails, or a supply that rises slowly you probably need some more effective POR circuit to hold the device in reset until the system is viable.
2021-11-25 09:20 PM
Hello Tesla,
Thankyou for reply. Yes we are using internal flash for some flag storage.
2021-11-26 01:30 AM
No, I cant read anything the mcu is in protection mode and I am unable to read or write anything even code inside not working.