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.

TMS320F280049C: Reset vector in linker command file

Part Number: TMS320F280049C


Hi Champ,

In my understanding, after any reset, the CPU begins execution from address 0x3FFFC0 (the reset vector), which is in the boot ROM.

I have noticed that the .cmd file of F2802x (F2802x_generic_flash) it seperates RESET and VECTORS into two memory blocks as below screenshot.

There are three questions I would like to know :

1). The .cmd file of F2802x particularly has VECTORS which the length is 3E words. Why it is needed for a space for the VECTORS ? What is put in the VECTORS ?

2). Doesn't the .cmd file of F28004x also need declare a memory space for VECTORS ? 

3). For the .cmd file of F28004x, the RESET's length is only 2 words. Since it has no related VECTORS configuration, may I make sure the reset vector is in the RESET, correct ?

Thank you. 

  • Hi,

    I will connect you with the linker .cmd file expert.

    Regards,

    Vince

  • Hi, 

    Yes, after any reset the CPU begins execution from address 0x3FFFC0 (the reset vector)

    1. A CPU vector table resides in boot ROM memory from address 0x3F E000 - 0x3F FFFF. This vector table is active after reset when VMAP = 1, ENPIE = 0.

    2. The only vector that will normally be handled from the internal boot ROM memory is the reset vector located at 0x3F FFC0, hence there is no need to declare a memory space for VECTORS. The remaining vectors in the boot ROM are not used during normal operation. After the boot process is complete, you should initialize the Peripheral Interrupt Expansion (PIE) vector table and enable the PIE block. From that point on, all vectors, except reset, will be fetched from the PIE module and not the CPU vector table

    3. The reset vector is at 0x3FFFC0. 

    Hope this answers all your queries.

    Best Regards

    Siddharth