This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Initialization problems

Hi all,

On C5515 EVM based on demo and aic3204 projects from ccs installation directory I build my application.  

Program performs recording audio data, acquired from I2S and AIC3204, to Mobile SDRAM and then playback audio.  

When I run program under dubug i2s, aic and emif work fine.

But then I load my program from NAND flash application doesn't work.

I guess that the problem is in emif initialization, because if I map audio buffers to internal SARAM, application after booting from NAND works fine.  EMIF initialization sequence I took from demo example.

Also interesting note is what if after unsuccessful booting from flash I run the same program under debug, program work's normal. So emif initialization was performed successfully, but why it didn't pass after first boot from flash?

 

Thanks!

 

Max