Other Parts Discussed in Thread: TMS320F28379D, TMS320F28388D, C2000WARE
Tool/software:
I have a project that runs from RAM on the TMS320F28379D & TMS320F28388D eval boards when using the XDS220 ISO debugger.
Trying the same project & updating the link.cmd for FLASH, project will not run. I crashes the DSP.
Specifically, the following code crashes the DSP.
ClkCfgRegs.CLKSRCCTL1.B.XTALOFF = 0; /* Turn on XTALOSC */
SYSCTRL_CLKSRCCTL1_DELAY;
ClkCfgRegs.CLKSRCCTL1.B.OSCCLKSRCSEL = 1; /* Clk Src = XTAL */
These lines are part of the CLK initialization process.
Any help would be greatly appreciated.