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.

FR5939 code example & 2 boards in CCS

Other Parts Discussed in Thread: MSP-EXP430FR5739

Hi Guys,

Couple of questions...

1) Just got a new FR5739 exp board, connected it and tried the blink example (LED Toggle code example in CCS)...unfortunately it is not working. It debugs OK but when i run the code no led blinks...tried changing the code a bit but no joy.

#include <msp430.h>
int main(void)
{
  WDTCTL = WDTPW + WDTHOLD;                 // Stop WDT 
  P1DIR |= BIT0;
  P1OUT |= BIT0;
  while(1)
  {
      P1OUT ^= BIT0;
      __delay_cycles(100000);
  }
}

2) I have 2 boards connected in CCS (G2553 and FR5739) and there seems to be target issues (target seutp does not match target type). How do I resolve this conflict?
I have tried to go into target config>new file etc... to no avail...still getting probs.


Any help greatly appreciated.

Stefano

Any ideas?

Thanks

Stefano

  • Hi,

    stefano sabbatucci said:

    1) Just got a new FR5739 exp board, connected it and tried the blink example (LED Toggle code example in CCS)...unfortunately it is not working. It debugs OK but when i run the code no led blinks...tried changing the code a bit but no joy.

    #include <msp430.h>
    int main(void)
    {
      WDTCTL = WDTPW + WDTHOLD;                 // Stop WDT 
      P1DIR |= BIT0;
      P1OUT |= BIT0;
      while(1)
      {
          P1OUT ^= BIT0;
          __delay_cycles(100000);
      }
    }

    The MSP-EXP430FR5739 has no LED attached to P1.0. You can find the schematic here: http://www.ti.com/lit/ug/slau343b/slau343b.pdf. As you can see the LED1-LED8  are assigned to PJ,0-PJ.3, P3.4-P3.7.

    stefano sabbatucci said:

    2) I have 2 boards connected in CCS (G2553 and FR5739) and there seems to be target issues (target seutp does not match target type). How do I resolve this conflict?
    I have tried to go into target config>new file etc... to no avail...still getting probs.

    The easiest way to debug multiple board in CCS is as follows:

    - Connect only one board, and start the CCS debug session for the connected board.

    - Connect the next board, and start the CCS debug session for the new connected board (Might require to start a new CCS instance).

  • Hi Leo,

    Of course...thanks.

    Stefano

**Attention** This is a public forum