Trying to program STM32F030R8 using Discovery F0 Board

I am trying to program my target device STM32F030R8 using Discovery F0 Board. I have removed CN2 jumpers and connected my target device to CN3 pins# 1,2,3,4,5. I have left out pin 6 which is not required. I am have written program in Keil MDK Arm. When ever i try to Download program from Keil to my target device , it says target not connected.