Please provide details regarding your setup which will help us debug your issue.
Can you please check if -
2. all the Programmer Parameters and the Programmer Characteristics of PSoC Programmer are correct
3. the connections to the device from the MiniProg 4 is correct and the cable is short
Rakshith M B