Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21948

Unable to debug

$
0
0

I had mentioned this problem in a previous post ( https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/544407 

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...

I also followed the steps in www.ti.com/.../slau575e.pdf (FAQ Section of Enabling SWD Mode – Aux COM port is target TDO pin) ,Then while debigging the error changes to 


CORTEX_M4_0: JTAG Communication Error: (Error -615 @ 0x0) The target failed to see a correctly formatted SWD header. The connection to the target may be unreliable. Try lowering the TCLK setting before trying again. (Emulation package 6.0.222.0)


Viewing all articles
Browse latest Browse all 21948

Trending Articles



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