Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

HELP!!! MSP430: File Loader: Data verification failed...

$
0
0

Hi!

Having a strange problem. When using port2 ISR I get the following error:

MSP430: File Loader: Data verification failed at address 0x0000FFEA Please verify target memory and memory map.
MSP430: GEL: File: C:\Users\a0797143\workspace_v5_4\BlinkLED\Debug\BlinkLED.out: a data verification error occurred, file load failed.

MSP430F1232

For illustration I stripped down all the code to the essentials below. If I remove the port2 ISR everything works just fine. What am I missing here?

I am using CCS V5.4, freshly installed today.

#include <msp430x12x2.h>

void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop WDT
P1DIR |= 0x40; // P1.0 output
CCTL0 = CCIE; // CCR0 interrupt enabled
CCR0 = 20000;
TACTL = TASSEL_2 + MC_1; // SMCLK, upmode

_BIS_SR(LPM0_bits + GIE); // Enter LPM0 w/ interrupt
}


#pragma vector=PORT1_VECTOR
__interrupt void PORT1 (void)
{
P1OUT ^= 0x40; // Toggle P1.0
}


#pragma vector=PORT2_VECTOR
__interrupt void PORT2 (void)
{
P1OUT ^= 0x40; // Toggle P1.0
}


#pragma vector=ADC10_VECTOR
__interrupt void ADC10_ISR (void)
{
P1OUT ^= 0x40; // Toggle P1.0
}

// Timer A0 interrupt service routine
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A (void)
{
P1OUT ^= 0x40; // Toggle P1.0
}


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>