This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
They have a problem that Only segment D (00187Fh to 001800h) on Information memory (flash) has occurred to ALL_F. Both of Segment C 0018FFh to 001880h and Segment B 00197 Fh to 001900 have not been initialized (ALL_F). They don't make sense timing when this phenomenon is happened.
Please answer a few questions as below.
1. During erase time for segment erase (23~32ms), If it caused reset or drop supply voltage, Is it possible to rewrite or initialize a segment other than the segment to be erased?
2. During block program time for each additional byte or word (37~49ms), If it caused reset or drop supply voltage, Is it possible to rewrite or initialize a segment other than the segment to be erased?
3. On 5.4.3 bit:0 Field:VPE Type:RW Reset:0h FCTL Registers in users, As this description mentioned (Voltage changed during program error This bit is set by hardware and can only be cleared by software. If DVCC changed significantly during programming, this bit is set to indicate an invalid result. The ACCVIFG bit is set if VPE is set.), is it possible to cause initialization of Information memory as invalid result? And also, can you determine whether or not a voltage change has occurred based on whether an ACCVIFG interrupt has occurred?
if you need more detail and have a suggestion to solve it, please let me know.
Thanks,
KS
segments other than the segment to be erased)
Hey Katsu,
Let me look into your first two questions and get back to you.
For your third question, from what I've read in the CC430 User's Guide, I would try using SVSLIFG or SVMLIFG for voltage faults.
BR,
Seong
Hey Katsu,
Apologies for the late reply. I'm not sure if I fully understand your first two questions.
Are you asking if there is a chance that the device will erase another segment if it is reset while it is erasing segment that the customer has specified? So the device is resetting during erase commands?
Is the customer using Uniflash to do this? Uniflash provides different options to erase main and information memory. See below.
When erasing the flash memory, which Erase Mode is used? Depending on which mode is used, certain segments may not get erased. See Section 5.3.1 of the CC430 Family User's Guide.
BR,
Seong
Hello JD,
Sorry for late reply. in just case, I would like to know that power supply suddenly be stopped to this device so that it is possible to happen thus situation, right?
Thanks,
Katsu