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.

find NMI vector in sysBios 6.32.5.54 for C6657

Other Parts Discussed in Thread: SYSBIOS

we are developing C6657 based application using sysBios 6.32.5.54  without specifically specify any NMI isr in sysBios. To make use of trace buffer implemented on c6657 to debug exception (http://processors.wiki.ti.com/index.php/Trace_ETB_Use_Cases_Quick_Reference#Using_Trace_to_Capture_Processor_Exceptions_Quick_Reference and http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/258836/907928.aspx#907928), we would like to set break/trace point at NMI vector.

We found from the memory map ti_sysbios_family_c64p_Hwi_dispatchC_I. Is there a way for us to find the vector table location and the vector entry?

thanks

Weichun

  • Hi Weichun,

    You can read the ISTP register from the "Registers"->"ControlRegisters" view to determine the Vector Table base address.

    Once you have the Vector Table base address, you can add a breakpoint at <VectorTableBaseAddress + 0x20> which is the address of the NMI ISR. In the above example, you would add a breakpoint at 0x80012C20.

    In SYS/BIOS, the NMI ISR is called ti_sysbios_family_c64p_Hwi_int1 and if the "Exception" module is enabled, it will end up calling the Exception module's handler function.

    Best,

    Ashish