vishu489
Advanced Member level 4
- Joined
- Aug 28, 2011
- Messages
- 116
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Activity points
- 2,120
Hello friends,
my device has programmable button which is controlled by controller atmega8 and i'm also having usbasp programmer on board. Now my problem is that when i connect usb plug to program device my controller get reset to enter in boot-loader mode but by that time it also looses the control over the software button and my device gets turn-off. So my device remains unprogrammed. I don't want to provide supply from external source. Here is my circuit of switch button
When TPS_EN pin will get high my supply section gets on and controller pull the LATCH_TPS line high which makes supply permanently high till i press button next time.
To solve the problem i'm thinking to sense controller reset pin by using PNP transistor or P channel mosfet. So whenever my controller reset pin will be pull low my Transistor or mosfet will take control of soft button and it will make supply enable till the controller is in booting mode as follow
Is this logic will work? also can you suggest me which diode and transistor/FET will be suitable for high speed switching?
My power supply section contains TI' TPS61200.
my device has programmable button which is controlled by controller atmega8 and i'm also having usbasp programmer on board. Now my problem is that when i connect usb plug to program device my controller get reset to enter in boot-loader mode but by that time it also looses the control over the software button and my device gets turn-off. So my device remains unprogrammed. I don't want to provide supply from external source. Here is my circuit of switch button
When TPS_EN pin will get high my supply section gets on and controller pull the LATCH_TPS line high which makes supply permanently high till i press button next time.
To solve the problem i'm thinking to sense controller reset pin by using PNP transistor or P channel mosfet. So whenever my controller reset pin will be pull low my Transistor or mosfet will take control of soft button and it will make supply enable till the controller is in booting mode as follow
Is this logic will work? also can you suggest me which diode and transistor/FET will be suitable for high speed switching?
My power supply section contains TI' TPS61200.