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.

Interrupt vector table differences

Hi,

I've compiled and linked the mcu_plus_sdk_243x tcp server example with GCC.

I see the interrupt entry vector values:

When I compare to same example compiled and linked with CLANG I get:

I see that starting from address 0x20 there's a difference.

What can cause the difference ?

Is there an interrupts vector table somewhere in the code ?

Thanks,

Eli

  • Hi Eli,

    My guess is that the difference is caused by the compiler and inker of two difference toolchains:

    In HwiP_armv7r_vectors_nortos_asm.S, it shows the _vectors and the start addresses for each interrupt handlers:

    If the _c_int00, ... HwiP_fiq_handler have different start addresses then the 0x20 - 0x40 will be different.

    As long as the 0x20 - 0x40 matches the start addresses of _c_int00, ... HwiP_fiq_handler then it should be OK.

    Best regards,

    Ming

  • Hi Ming,

    Is the contents of HwiP_armv7r_vectors_nortos_asm.S  is automatically added to the linker file ?

    If not - should I add it manually ?

    Thanks,

    Eli

  • Hi Eli,

    Yes. It is part of the DPL/HwiP and will be included into your application.

    If you made change to it, make sure you rebuild the driver library:

    gmake -s -f makefile.am243x drivers_r5f.ti-arm-clang

    Best regards,

    Ming

  • Thanks !