Other Parts Discussed in Thread: SYSCONFIG
Hello,
I have a four core project in DevBoot mode. Each core uses RTI0 to RTI3 respectively for its OS ticker. Sometimes on first execution after power up, the code in Dpl_init() fails to set to clock source. This often occurs Core2 (RTI2) but sometimes Core3 (RTI3).
In other words, it does not change the value of MSS_RCM_RTI2_CLK_SRC_SEL from 0x222* to 0.

If I do a Reset, Restart, Resume, the problem does not occur. However, the first execution after power-up is the the most important so this must be made to work every time.
1) *The reset value of MSS_RCM_RTIx_CLK_SRC_SEL is 0x0 according to the register addendum however something sets the value to 0x222 before main(). Am I right in saying it is the RBL setting the value to 0x222?
2) What could be the reason that line 252 is ineffective on first execution?
3) If the cause is that the code cannot unlock the register, what could cause the unlock to fail?
Thank you.
