AnsweredAssumed Answered

Do the initcode and basiccrt conflict with each other if both are included in a ldr

Question asked by jwalther on Mar 27, 2012
Latest reply on Mar 29, 2012 by CraigG

When I am debugging my initcode_ROM_V02 is not run so I have kept the basicCrt in my project.  It does not set the clocks or PLL so we have added:


    /* Initialize services */


to the boot thread of VDK.  On some hardware if I just let this run, it just runs out into the weeds, giving me a core fault.  If I take the SetFreq function out, the system boots but at a lower frequecy.


Is there a way to set the processor settings I have calculated in my initcode_ROM file that I use in my ldr when I am debugging?  Can I do this in the custom board support file?  Do I need to do it in the basiccrt.s file?  Will the initcode from the ldr and the basiccrt files conflict if both are in my project?