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.

c5510 simulation errors

The software is ccs3.3,the gel file is c5510sim.gel,and the program is an example of c5500 imglib,called "Image_Scale_by_2.pjt",compling is right,and loading is smothing,but when running,there is a problem:
Error: Check the linker command file / map file for any part of the program going into reserved area and correct the problem when Program Counter is 0x0  NOTE: Reset the target, reload the corrected  program and continue execution
my cmd file is:
MEMORY
{
          MMR      (RIX) : origin = 0000000h length = 000C0h
          DARAM0   (RWX) : origin = 0000100h length = 04F00h
          DARAM1   (RWX) : origin = 0005000h length = 0A000h
          SARAM    (RWX) : origin = 0010000h length = 040000h    
          VECS     (RIX) : origin = 0ffff00h length = 00100h  /* reset vector */
}

SECTIONS
{
    vectors     : {} > VECS           /* interrupt vector table */
    testprg     : {} > DARAM0
    .text        : {} > DARAM0 
    input_image  : {} > DARAM1  
    output_image : {} > SARAM
    .stack         : {} > DARAM0
    .sysstack      : {} > DARAM0 }
how can i solve the problem?

  • Jun,

    This sounds more like a CCS / Simulator setup issue.  Make sure the GEL file defines at least the same memory as your linker command file.  Also, take a look at your .map file to see if something has gotten mapped to program address 0x0.  That is an illegal address for program I think.

    Regards.

  • Jun,

    This sounds more like a CCS / Simulator setup issue.  Make sure the GEL file defines at least the same memory as your linker command file.  Also, take a look at your .map file to see if something has gotten mapped to program address 0x0.  That is an illegal address for program I think.

    Regards.

     

    hi,TommyG

    thanks,the problem has solved.

    the reason is that the cmd file is wrong,section .bss has mapped to program address 0x0,but this address is reserved by MMR.