Other Parts Discussed in Thread: MSP-FET
Hi, all.
I have a custom board w MSP430F5419A ,100 leg, rev. H uc.
470n on Vcore, 0.1+1.0 on evry Dvcc, 0.1u+10R to Avcc, 32768 xtal, 47k+220p (SBW will not connect well to chip with more capacitance) on reset. Dvcc is 3.3V (from LDO) and rises about 100uS/V, without any spikes on VCC or RESET nets.
A problem with a startup is pretty floating, but equal in a few identical boards. After reprogramming by SBW or WDT chips are starting OK.
But if I use standalone power they are not started well after plugging the power connector: it needs to wait few minutes to restart ( in SYSRSTIV WDT as startup source) or fast reconnect power ( some kind of SVS events) or connect first weak power through gpio (like debug uart input). Until chip wasn't started main() function (with init of clock, etc) after system_pre_init() chip stuck and gpio are random "blinking". But sometimes this bug flies out, and all boards with identical firmware start well. It looks like the reset vector became corrupted for some reason, and behavior depends on the flash occupation.
I use _system_pre_init function:
WDTCTL = WDTPW + WDTHOLD;
SFRRPCR=SYSRSTRE|SYSRSTUP;
__disable_interrupt();
P8DIR|=BIT4|BIT3|BIT2|BIT1;
P8OUT|=BIT4|BIT3|BIT2|BIT1; //// stucks w on leds here??
And void ISR callbacks for SYSNMI and UNMI vectors.
Thanks!

