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.

On interrupt vector table setting

Hi,

  Who updates the interrupt vector table to load the addresses of my ISR? Is it the bootstrap loader? When I use spi by wire and load the program how does it communicate to the bsl to load the data to appropriate sections.

Thanks,

Gautam.

  • Gautam Bhat said:
    Who updates the interrupt vector table to load the addresses of my ISR?

    The vector table is part of the compiled binary and loaded into flash together with the whole application.

    Gautam Bhat said:
    When I use spi by wire and load the program how does it communicate to the bsl to load the data to appropriate sections

    Not at all. The BSL is a normal, but built-in program that runs after a reset under certain conditions. It takes commands through serial connection and can receive data and put it into flash. Like your own application could.
    SBW, however, controls the CPU and its memory bus through serial JTAG. So it can put data anywhere without the CPU doing anything.

**Attention** This is a public forum