I'm trying to Download and Debug on my MSP430F1612 for the first time.
It's a very simple program:
#include "msp430.h" ; #define controlled include file
NAME main ; module name
PUBLIC main ; make the main label vissible
; outside this module
ORG 0FFFEh
DC16 init ; set reset vector to 'init' label
RSEG CSTACK ; pre-declaration of segment
RSEG CODE ; place program in 'CODE' segment
init: MOV #SFE(CSTACK), SP ; set up stack
main: NOP ; main program
MOV.W #WDTPW+WDTHOLD,&WDTCTL ; Stop watchdog timer
BIS.B #1h, P1DIR ; set P1.1 to output mode
XOR.B #1h, P1OUT ; Toggle Red LED on MSP430F1612
JMP $ ; jump to current location '$'
; (endless loop)
END
Every time I try and download and debug I get:
Wed Oct 12, 2016 00:12:17: Not supported by selected Interface or Interface is not initialized : (Configure) , mode=0x8, value=0x0
Wed Oct 12, 2016 00:12:17: Not supported by selected Interface or Interface is not initialized : (Configure) , mode=0x8, value=0x0
Wed Oct 12, 2016 00:12:17: Not supported by selected Interface or Interface is not initialized : (Configure) , mode=0x8, value=0x0
Wed Oct 12, 2016 00:12:17: Not supported by selected Interface or Interface is not initialized : (Configure) , mode=0x8, value=0x0
Wed Oct 12, 2016 00:12:17: Not supported by selected Interface or Interface is not initialized : (Configure) , mode=0x8, value=0x0
Wed Oct 12, 2016 00:12:17: Not supported by selected Interface or Interface is not initialized : (Configure) , mode=0x8, value=0x0
Wed Oct 12, 2016 00:12:20: Fatal error: Failed to re-initialize Session aborted!
This is for school and this is the 1st time I've used the MSP430, CCS, or IAR Embedded Workspace IDE.
I'm at my wits end. I've googled those errors to death and haven't found anything useful. Any help would be appreciated.