Hi,
Basically what I need is to make a standalone lcdk ompal138 that will boot up upon power on and run my simple in-out audio c6748 code. The code has been tested working when it's in debug mode (code in DSPRAM , not NAND); the lcdk has been flashed with a special firmware as attached. It's basically work by inputting audio in signal and outputing the same signal through OUT via aic3106 onboard codec.
Now, I want to put the code in NAND to make it standalone system.
so, I followed the steps on processors.wiki.ti.com/.../OMAPL138_StarterWare_Booting_And_Flashing, and it worked for the starterware gpio blinking project.
And then I tried my simple in-out-audio project, after aligning the code to 1024 and everything.
When I tried to run my in-out-audio project I got the follwing message :
StarterWare OMAPL138 Boot Loader
Jumping to StarterWare Application...
Running DSP Application...
(at this point, I assume the booting process is workign as expected.
But, I still don't get the loop back as expected, while If I run it all in DSPram (not standalone) it's working fine.
I suspect in standalone mode, the program is stuck at init_AIC3106
void DSP_Init()
{
Init_Interrupts();
Init_I2C();
if(!Init_AIC3106(SampleRateSetting)) {
while(1); // stall on codec init failure
}
Init_McASP0();
EnableInterrupts();
}
Do you have any suggestion on this issue ?
Thank you