This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS570LS0432: Error connecting to the target: (Error -1170 @ 0x0)

Part Number: TMS570LS0432

Tool/software: TI C/C++ Compiler

Hi I am getting this problem

Error connecting to the target:
(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 7.0.48.0)

Actually I am testing code for low power mode of tms570ls0432 controller . 


#ifdef FLASH_BANK_SLEEP

flashWREG->FBFALLBACK = 0x00000000U
| (uint32)((uint32)SYS_SLEEP << 14U) /* BANK 7 */
| (uint32)((uint32)SYS_SLEEP << 0U); /* BANK 0 */


#endif


 systemREG1->CSDIS = 0x00000000U

 | (uint32)7U << 3U
 | (uint32)1U <<1U;

flash1 = (uint32)systemREG1->CSDIS & (0xFF);

while(1) {}

Here i am following the TRM . I programmed first flash bank to sleep and then clock source disable register .. and i was monitoring the flash1 variable in watch window .

AND after that i am getting this error ....

How to come out of this !!

Thank you .