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.

MSP430F6779A: investigating about the MCU continuously held in reset state.

Part Number: MSP430F6779A

We are still investigating about the MCU continuously held in reset state.
Found in actual using field
(etimated 14 device of some thousand devices)
it important symptom below.
- Reset pin voltage is high (3.3 V)
- PMMCOREV pin 1.42 V (level 0 AM)
- Reset pin cannot reset the reset the device
- Cannot use JTAG debugger communicate communicated to the MCU
- Power consumption is AUXVCC1 is 0.7 mA

Now, this problem with actual code cannot reproduce in lab.

actual code

int system_pre_init(void)
{

    __disable_interrupt();
    WDTCTL = WDTPW+WDTHOLD;

    SFRRPCR = SYSNMI | SYSNMIIES | SYSRSTRE;

    /* Return value:
     *  1 - Perform data segment initialization.
     *  0 - Skip data segment initialization.
     */

    return 1;
}


but with modify code(the PMM26 condition), we can make it the same symptom.

int system_pre_init(void)
{

    __disable_interrupt();
    WDTCTL = WDTPW+WDTHOLD;

    // Try PMM26
    PMMCTL0_H   =   PMMPW_H;

    // timing count x 2 cycles
    // 1 us x 2 x timing count
    // e.g. 250000 = 500000 us

    while(count--)
    {
        PMMCTL1     =   0x0000;
        SVSMHCTL    =   0x4713;
        // SVMHE = 0b1 (SVM high-side enable)
        // SVSHE = 0b1 (SVS high-side enable)
        // SVSHRVL = 0b11 (SVS high-side reset voltage level 2.16 V)
        // SVSMHRRL = 0b011 (SVS high-side release voltage level 2.25 V)
    }

    SFRRPCR = SYSNMI | SYSNMIIES | SYSRSTRE;

    /* Return value:
     *  1 - Perform data segment initialization.
     *  0 - Skip data segment initialization.
     */

    return 1;
}


Is there other errata with same this symptom (the device will stop code
execution and is continuously held in reset state. RST pin is no longer functional. The only
way to come out of the lock-up situation is a power cycle)?


Why with PMM26 when using debugger communicate to the device, it show "the debug interface to the device has been secured".

  • Hi Tink,

    From my side, I do not know any other method to let the device lock. All information I can refer to is listed in ERRATA.

    - Power consumption is AUXVCC1 is 0.7 mA
    (etimated 14 device of some thousand devices)

    Is this normal compared with normal device. Maybe you can check the current waveform, then it might get more information.

    Due to this is a probabilistic event, I suggest you can also check the device power pin voltage waveform and might get some other useful information.

    Why with PMM26 when using debugger communicate to the device, it show "the debug interface to the device has been secured".

    It is the debugger behavior, it will communicate with device, when it is unaccessible, it will check what the status is, then it might get some response that is the similiar with secured status.

    B.R.

    Sal

  • Hi,

    thank for information.

    We likely found the cause related to watchdog reset at very specific time (it makes PMM26 conditions).

    Three things below occur at the same time.
    - Writing SVSMHCTL
    - Watchdog reset causes the function to change the default RST pin from NMI to Reset Function.
    - RST pin is pulled low by S/W.

  • Hi Tink,

    Thanks for your update.

    It sounds interesting. When you are writing SVSMHCTL and simultaneously trigger WWDT reset, it will have no delay and makes RST pin work as reset function. I didn't know the details low level logic about this, but it sounds like possible.

    B.R.

    Sal

**Attention** This is a public forum