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.

A Grace-generated file for interrupt debugging and documentation



For debugging purposes, it's useful to fill in the unused interrupt vector slots in the MSP430 with jumps to dummy ISRs that record the interrupt source and loop forever.  It's also useful to have the use of interrupts on the MCU documented in one place, rather than scattered around the xxx.cfg file and the generated code, as Grace does now.

To that end, I've written a code file containing dummy ISRs for all the vector slots, each of which can be disabled by a simple #define at the top of the file.  (See the attached DefaultInterruptHandlers.c)  The #defines then form a simple table of interrupts used by my app and their ISRs (only per level; doesn't quite do the job for levels with multiple sources).

This file could easily (and should) be generated by Grace.  Please!

Mike

**Attention** This is a public forum