I do not know the reason either. But: [quote user="Olli Mannisto"]init is called from main immediately after watchdog and LPM5 are switched off[/quote] May be, just may be, Vcc is not high enough immediately for 16 MHz operation. And setting up the port pins first added just enough delay, in your particular case, for the CPU to operate without crash.
↧