Hi everybody,
I have a 5515evm with a SpO2 daughter card running in CCS4. I'm using the demo program for SpO2 (I downloaded it from http://code.google.com/p/c5505-ezdsp/).
The problem is that I want to storage data from the daughter card to NAND Flash, and I've tried it with the Chip Support Library and without it, and I'm having a lot of errors in the problem when I want to initialize the NAN Flash memory. I've followed the examples from CSL and examples from the CCS4 instalation directory: ...\Texas Instruments\ccsv4\emulation\boards\evm5515_v1\tests\nandflash.
I initializate the NAND in this way:
SpO2_Status inicializar_NAND()
{
//*(ioport volatile unsigned *)0x1C04=0x10; //PSRCR
SYS_PRCNTR =0x10;
/* reset Emif Module */
//*(ioport volatile unsigned *)0x1C05=0x2; //PRCR
wait(500);
EMIF_AWCCR1 = 0x0080;
EMIF_AWCCR2 = 0x00E4;
and in this sentence:
EMIF_AWCCR1 = 0x0080;
I find this error:
C55xx: Can't Single Step Target Program: Error 0x20000022/-2130 Severe Error during: Memory, Execution, Cannot access memory address at 0x00000800
I'm not able to initializate the NAND Flash neither registers nor CSL.
What's wrong?