Other Parts Discussed in Thread: MSP430WARE
Tool/software: Code Composer Studio
Hi,
I've currently reinstalled CCS 7.4. When I complied an existing project I got the following errors:
Product 'com.ti.mcu.msp430ware' v3.60.0.10 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Product 'msp430_devices' v1.0.0.00 is not currently installed and no compatible version is available. Please install this product or a compatible version.
I already installed MSP430Ware 3.8 (the latest version I guess). But when I checked the Windows-References - Products, I did not see it. I tried to install it directly but could not. Could you please help me to resolve this? Thank you.
UPDATING! I tried to compile another existing project I built by my own and an imported one from Resource Explorer. Surprisingly that the compiler worked for both of them, but not worked with the previous one. Please find the code of the not-compiled project. This project worked with the previous installation of CCS (version 7.1). Thank you for any suggestion.
#include <msp430.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
uint8_t count=0;
/**
* main.c
*/
int main(void)
{
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
PM5CTL0 &= ~LOCKLPM5;
P1DIR = 0xFF;
P1OUT = 0x00;
P2DIR = 0xFF;
P2OUT = 0x00;
P3DIR = 0xFF;
P3OUT = 0x00;
P1DIR |= 0x01;
P1OUT &=~ BIT0;
TA0CCTL0 = CCIE; // CCR0 interrupt enabled
TA0CCR0 = 65535;
TA0CTL = TASSEL__SMCLK | MC__CONTINOUS; // SMCLK, continuous mode
__bis_SR_register(LPM4_bits + GIE); // Enter LPM0 w/ interrupt
}
// Timer A0 interrupt service routine; Blinking LED for debugging
#pragma vector = TIMER0_A0_VECTOR
__interrupt void Timer0_A0_ISR (void)
{
P1OUT &=~ BIT0;
TA0CCR0 += 65535; // Add Offset to CCR0
count++;
if (count == 10) {
P1OUT |= BIT0; // Toggle P1.0
count = 0;
}
}
