Hello,
Your addition to the PRM file is wrong on several counts, and is totally unnecessary.
By specifying the vector number 29, the linker already knows the actual address of the RTI interrupt vector.
With a modulo value of zero, of course the counter register will remain at zero. Only the prescaler counts in this instance.
Since you are not stopping the RTC module, but require a periodic interrupt at very approximate one second intervals, it is unnecessary to write to the RTC registers within the main loop, once they have been initialised. The following code should suffice.
if (Tick == TRUE) {
Tick = FALSE;
// Do other tasks here
}
Regards,
Mac