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.

Relocate vector table in TMS570LC4357.

Other Parts Discussed in Thread: TMS570LC4357

Hi,

I am using TMS570LC4357 to code bootloader and application.

I am placing bootloader Vector table @ address 0x00000000 and application vector table @ 0x00200000 and application code @ flash 1 0x00200020.

In debug mode the program work properly, jump to application was successful and interrupts in application code works properly. but in Run mode Interrupts in application code does not work properly.

I observed code working properly in run and debug mode when I changed application vector table to 0x00000000. But I want to shift application vector table to Flash1 @ 0x00200000.

If I shift application vector table to 0x00200000,in run mode interrupts are not working. how to resolve this. Please suggest.

1. How to relocate vector table?

Thanks

Apoorva

  • You may get better answers over in the Hercules forum.


    As far as I know the Cortex-R5 interrupt vectors can be in one of only two places: 0 ("LO") and 0xFFFFF000 ("HI").  There's no interrupt vector pointer register.

    In your case the boot loader will have to have a passthrough mechanism, perhaps as simple as coding every vector (except Reset) as a branch to itself+0x200000.

**Attention** This is a public forum