Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Question: Why does MiniProg4 show that the target device is not powered even though the device is externally powered?
Answer: PSoC 4 and PSoC 5LP devices can be powered with an external voltage up to 5.5 V. When the target device is externally powered at a voltage greater than 5.3 V, MiniProg4 shows that the device is not powered and programming the device results in an error as shown in Figure 1.
Figure 1. Programming failed and target Power Status is OFF
This happens because at 5.3 V, the internal protection circuits of MiniProg4 isolates the VTARG pin from the internal circuitry. Thus, MiniProg4 is unable to detect the voltage at the VTARG pin. If the external supply to the target device is less than 5.3 V, then everything works as expected as shown in Figure 2.
Figure 2. Target power is detected as expected if the supply is less than 5.3 V
Select the 5.0 VVoltage option under Programmer Characteristics. This ensures that the SWD logic of MiniProg4 is at 5 V.
Click on Toggle Power icon.
Now, you will notice that the Power Status changes to ON and close to 5 V is displayed in the target device Voltage field. Because the VTARG pin is isolated from the MiniProg4 circuitry, it just sets the logic of the MiniProg4 firmware. Now, you will be able to program the device as shown in Figure 3.
Figure 3. Programming the device is successful with target power > 5.3V