I am trying to switch an IC on/off via the DTR signal pin on an FTDI232 USB/TTL Serial converter. Basically during the flashing of my ESP8266, I need to be able to power the IC off and then on again. The FTDI adapter can power the ESP8266 without any issues while directly connected to it (this is the normal way to program these IC's). The circuit I have made is :
R1 -> 1k
Q1 -> B772 PNP
The circuit works fine without the ESP connected (switching the DTR pin (P1) between Hi and Low causes the output (P2) to switch on and off). The issue I am having is once i connect the ESP to P2 the FTDI resets every time i try and switch the ESP on. Whole circuit runs on 3.3v. I presume my issue may be drawing to much power from the FTDI DTR pin, but i am not sure why I get 3.3v at P2 without the ESP connected. From what i can tell the transistor is acting as a switch and therefore shouldn't draw any more power from DTR if the ESP is plugged in or not. The whole circuit has been made up on breadboard. The transistor datasheet can been found : https://www.st.com/resource/en/datasheet/cd00062866.pdf
FTDI USB/Serial adapter is just a generic one with a chip marked as FTDI 1612-G FT232-RL
Any pointers on what i have got wrong?