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.

placement fails for objec

Other Parts Discussed in Thread: TMS320C5535

 

hi,

error: placement fails for object "vectors", size 0x200 (page 0).  Available
   ranges:
   VECS         size: 0x100        unused: 0x100        max hole: 0x100  

 

can anyone suggest why the above error is coming ?

Manish

 

 

  • hi,

    Can you try example code? What device are you working with?

    Regards,

    Hyun

  • Manish,

    Check out your linker .cmd file.

    There should be a line in there similar to this one under MEMORY:

    VECS     (RX) : origin = 00000C0h length = 000300h /* on-chip ROM vectors */

    and another line below it like this one under SECTIONS:

    vectors     : > VECS    ALIGN = 256

    I suspect that your length = 000100h but vectors needs length 0x200

    Try to increase the length.

    By the way, which DSP is it?

    Hope this helps,
    Mark

     

  • Thanks for reply !!!

    I am using TMS 320C5515 ezdsp USB kit

    Regards'

    Manish

  • Sorry to wake this one back up, but I have a similar issue using the TMX320C5535 eZdsp.

    Now I am using the standard C5535.cmd file which has VECS defined as follows:

    VECS:  o = 0xFFFF00 L= 0X000100  

    Why is the C5535.cmd file setup like this if the vectors are 0x200 in size? I also can't find any information about where the vectors need to be located in memory?

     

    Can someone provide some guidance. ( The interrupt 'DMA_Intc example uses VC5505_DMA.cmd - which maps the VEC segment in a totally different area and indeed with a hole of 0x300).

     

    Am I correct in understanding the interrupt vector table can exist anywhere in program memory, and thus the original C5535.CMD is not an ideal reference point and I should just place the vector table segment VECS after MMR.

     

    Best Regards

     

    Rob

     

     

  • I do not know why the original post's vectors have size 0x200 8-bit bytes; as far as I can tell, C5515 and C5535 have only 32 interrupt slots, for total size 0x100.

    See TMS3320C5515 DSP System User's Guide (SPRUFX5D)

    See TMS320C5535/34/33/32 Ultra-Low Power DSP Technical Reference Manual (SPRUH87C)

    The vectors at startup must be placed at 0xFFFF00.  You may have any number of vector tables elsewhere in memory.  See the IVPD and IVPH registers.