MiniProg4 Shows that the Device Is Not Powered If Target Power Is Greater than 5.3 V – KBA230012

Version 1

    Author: RakshithM_16      Version: **

     

    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

    Workaround:

    1. Select the 5.0 V Voltage option under Programmer Characteristics. This ensures that the SWD logic of MiniProg4 is at 5 V.
    2. 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