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.

TMS570LS3137 - move the Exception table to a different location

Hello,

I'm writing a bootloader located within the first flash bank. There is the start exeption table (.intvec) with reset vector and so on.

Now I require a location for the exception table of the application.

The possibility of swap the flash and the RAM area I don't want to use, because there a deep changes within the application (very different addresses).

I'm unsure that the exception table can be patched by the POM device.

I could not found the HIVECT feature within the processor.

Thank you.

  • Andreas,

    HIVEC isn't an option anyway because that area of memory decodes to control registers.

    The VIM can direct all of your IRQ interrupts directly to your handlers wherever they are in the memory map. So this is mainly an issue for the other exception vectors.

    You can look at what QJ implemented in one of his bootloader code - it's probably the best that you can do on the 3137... www.ti.com/.../spna199.pdf. I believe he mainly has a jump table from the hardware vector to an entry point for the exception handler that is outside of the boot sector and in an area that can be reflashed.