TMS320F28P650DK: Loading application in CPU_2

Part Number: TMS320F28P650DK


Got a new board of F28P65X-LAUNCHXL on which I am trying multicore led blink.

For that I am using the given example of f28p65x->examples->c28x_dual->led_ex1_c28x_dual_blinky_cpu1 and cpu2

I am able to load the application in CPU1by starting  Debug Project but when i try to load the .out file for cpu 2 after starting the debug project and connect target. I am getting the error of 

C28xx_CPU2: Flash Programmer: Error erasing Bank 0 Flash registers are locked and hence are not configurable to issue the erase command. Operation Cancelled (3).
C28xx_CPU2: File Loader: Memory write failed: Unknown error
C28xx_CPU2: GEL: File: C:\Users\unbox\workspace_ccstheia\led_ex1_c28x_dual_blinky_cpu2\CPU2_LAUNCHXL_FLASH\led_ex1_c28x_dual_blinky_cpu2.out: Load failed.
File: C:\Users\unbox\workspace_ccstheia\led_ex1_c28x_dual_blinky_cpu2\CPU2_LAUNCHXL_FLASH\led_ex1_c28x_dual_blinky_cpu2.out: Load failed.