I am unable to debug and burn the code into MSP432 . It gives me the following error .
CORTEX_M4_0: GEL Output: Memory Map Initialization Complete
CORTEX_M4_0: GEL Output: Halting Watchdog Timer
CORTEX_M4_0: Flash Programmer: Erasing main memory
CORTEX_M4_0: Flash Programmer: Writing 2020 bytes to flash memory 0x00000000
CORTEX_M4_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.222.0)
I tried MSP432 factory reset and then tried to debug an empty code (below) still getting the same error .
#include "msp.h"
void main(void)
{
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
}
When i try in energia it works fine . Please help me in this regard...