I made this programmer found at: http://www.dinceraydin.com/8051/index.html
When I try programming the AT89C4051-12PC, the software works correctly in detecting the busy signal and all that, but when I actually try the chip in my circuit, it sometimes works perfectly and it sometimes functions as if its the most useless item.
I use 250ms delay between each step in the erase procedure (to make sure the damn thing is erased) then I use a 5ms delay between each step in writing a byte to the chip. These delays are well over the minimum required by the chip so I don't understand why things aren't working out.
In all tests, I plug the circuit into the parallel port then I apply the power. I'm sending the exact same code to the chip at the exact same speed from the PC. then I disconnect the power then the circuit from the parallel port.
I use a mini IC extractor tool to remove the IC from the socket.
So what could be going on?
Only thing I could think of is to make a bracelet out of unshielded wire, wear it and connect it to ground while working with the chip, but is there another better solution before I go that route?
When I try programming the AT89C4051-12PC, the software works correctly in detecting the busy signal and all that, but when I actually try the chip in my circuit, it sometimes works perfectly and it sometimes functions as if its the most useless item.
I use 250ms delay between each step in the erase procedure (to make sure the damn thing is erased) then I use a 5ms delay between each step in writing a byte to the chip. These delays are well over the minimum required by the chip so I don't understand why things aren't working out.
In all tests, I plug the circuit into the parallel port then I apply the power. I'm sending the exact same code to the chip at the exact same speed from the PC. then I disconnect the power then the circuit from the parallel port.
I use a mini IC extractor tool to remove the IC from the socket.
So what could be going on?
Only thing I could think of is to make a bracelet out of unshielded wire, wear it and connect it to ground while working with the chip, but is there another better solution before I go that route?