LAUNCHXL-F28379D: (Error-1156 @0x0) while flashing the eval board through Uniflash

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Tool/software:

I'm trying to program eval board with a custom code which has a bootloader and the application code in it.

and for the first try I was able to flash the code using CCS v12.6, and I could run the code on the eval board. But when I tried to flash the code again using CCS I ran into below error, 

      

I ran the Jtag integrity test and the test was successful. I tried both CCS and Uniflash but none of them seem to work, they all throw the same error.

I also tried flashing one of the TI example code from C2000ware but ran into same issue and I also tried to change jtag emulator settings from config.xml with no luck.

I'm unable to point out what exactly is the problem here and I'm stuck.