(Extra Credit) Lab 6b – Timer using Up Mode
Debug/Run
Follow the same basic steps as found in the previous lab for debugging.
11. Launch the debugger and set a breakpoint inside the both ISR’s.
12. Run your code.
If all worked well, when the counter rolled over to zero, an interrupt should occur. Actually,
two interrupts should occur. Once you reach the first breakpoint, resume running your code
and you should reach the other ISR.
Which ISR was reached first? _________________________________________________
Why? ____________________________________________________________________
13. Remove the breakpoints and let the code run. Do both LED’s toggle?
6 - 48 MSP430 Workshop - Timers