After reading Manoj's Work about how to program some PICs with USB to Serial Adapter, I decided to try myself to program the 16F84A with my CH340 USB-SERIAL adapter
Software : Cygwin + K8048 Pic Programming software designed by Darron Broad & used with Velleman PIC programmers. I wrote a Configuration file .k8048 with this parameters relating to my hardware:
DEVICE = /dev/ttyS0 SLEEP = 6000 BITRULES = PGD_IN_FLIP | PGC_OUT_FLIP | PGD_IN_PULLUP BUSY=0
My Custom hardware:
CH340 USB to Serial Adapter : Support BREAK + CMOS levels (0v - 3.5V) -->for this reason I used a bidirectional level shifter on DATA (DTR) line.
Problem: When I use this with 16F84A the software returns
Device not detected.
I checked all the pins one by one separately, all work fine.