Other Parts Discussed in Thread: MSP430G2433, MSP430G2230, MSP430F2330
Hi,
My MSP430G2433 seems to be resetting randomly when there is some more intense traffic in the I2C bus, I think it's related to the errata item USCI29. I have implemented the workaround (2) but it doesn't seem to get linked to the final .hex. My trap vector interrupts is as follows:
#pragma vector=TRAPINT_VECTOR
__interrupt void trapint_isr(void)
{
trapCount++;
__no_operation();
}
The variable trapCount is global in the i2c source file (where this trapint is also placed) and the reason why I say that the trap vector is not getting linked is because I can't find the trapCount symbol in the map file. I guess that is because it's seen as never used. If I use is elsewhere in the file (e.g. one of the i2c interrupts) then I see it in the map file. I have also tried to toggle a pin inside the trapint but I see no transitions and when I try to set breakpoints inside it I get a warning from CCS saying that it doesn't find the relevant line in the obj file.
One final note, I tried both with and without defining TRAPINT_VECTOR as instructed in the errata but the result is the same. However if I don't define it I get "warning #2580-D: pragma vector= accepts numeric arguments or "unused_interrupts" but not TRAPINT_VECTOR". I'm using latest tools, CCSv6 and MSP430 compiler v4.3.3 so the definition shouldn't be necessary according to the errata information.
Any ideas?
Thanks
