Part Number: MSPM0C1104
Hi,
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.
Part Number: MSPM0C1104
Hi,
Hi Gryphon,
The VTOR is the offset address of interrupt vector table. If the application program is not start with 0x0000 address, you need to set VTOR register as the start address of your application program interrupt vector table, otherwise the interrupt handler function entry could not be found by application.
Hi Pengfei,
Yes, I have recognized it and I am looking for an elegant way to save the VTOR.Do you have any advice?
Hi Gryphon,
Generally we will set VTOR just before the program jumping occurs, or at the first sentence in Reset_Hander(). But it is also fine that you place it in the first sentence of main() program. The key point is to make sure VTOR is set before the first interrupt triggered in application.
