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.

Problem debugging SCANIF Interrupt mode with CCS5

Other Parts Discussed in Thread: MSP430FW423

Hello,

I'm debugging an old CCS4 project fully functional with the MSP430FW423 in the CCS5 (I create a new project and I imported the old Main.c file)

I'm using the fet programmer MSP-FET430UIF (with the new firmware automatically updated from CCS5).

If the SCANIF interface is enabled  (with interrupt) the debugger  become crazy as you can see in the screenshot:

The interrupt routine is the following

            //---------------------------------------------------------------------------
            // SCANIF Interrupt Routine
            
            #pragma vector=SCANIF_VECTOR
            __interrupt void ISR_ScanIF(void)
            {
            
            
                if(((SIFCTL1 & SIFIFG1)!=0) && ((SIFCTL1 & SIFIE1)!=0)) // SIFSTOP
                {
                    P2OUT^=0x01;
            
                    if((nOldS0Val!=(SIFCTL3 & SIF0OUT))&&(!nAutocalibrationRunning))    //impulso su entrambi i fronti salita e discesa
                    {
                        nOldS0Val=(SIFCTL3 & SIF0OUT);
            
                        TA1CCR0 = TA1R + LARGH_PULSE_2;     // LARGHEZZA IMPULSO 2 ms CIRCA
                        TA1CCTL0 = OUT;                     // USCITA A 1
                        TA1CCTL0 = OUTMOD_5;                // PRENOTA LO SPEGNIMENTO TRA 2 ms
            
            
                    }
            
                    if(nAutocalibrationReserved==1)
                    {
                            nAutocalibrationRunning = 1;
                            nAutocalibrationReserved =0;
                    }
            
                    TSMActivity ^=0x0001;// TSMActivity toggles at every TSM cycle
            
                    SIFCTL1 &= ~(SIFIFG1);
                }
            
                else
                    SIFCTL1 &= ~(0x01FC);        //   CANCELLA TUTTI FLAGS in blocco!
            
            }
            
            
           

But what it is interesting is that if I use the CCS4 I have no problems?

What appens. Is there some problem with scan interface and the CCS5 + new FET programmer firmware?

Thanks in advance

Sam




**Attention** This is a public forum