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.

Problems and doubts with SpO2 program + NAND Flash memory

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?
  • Another problem that I find is this errors:

    Errors encountered during linking; "C:/Documents and Settings/Alexandra/Escritorio/Alexandra/IEEE11073/DSP/MDK_SpO2System_C55515E VM/SpO2_System_v5_1/Debug/SpO2.out" not built	 SpO2 line 0	
    1331120376265	4263
    
    
    Placement fails for object ".bss", size 0x221e (page 0).  Available ranges: DARAM1       size: 0x2000       unused: 0x1f00       max hole: 0x1f00		SpO2	line 0	1331120376265	4261
    
    
    Why do I have this errors? How can I have more DARAM space for my program?
  • Nobody knows which is the problem: 

    C55xx: Can't Single Step Target Program: Error 0x20000022/-2130 Severe Error during: Memory, Execution,  Cannot access memory address at 0x00000800 ?
    
    
    I don't know how to solve the problem