??? 07/04/05 13:45 Modified: 07/04/05 13:50 Read: times |
#96515 - Modifications... Responding to: ???'s previous message |
Abhishek said:
please let us know what modification you have made if you wish. Hallo Abhishek, the circuit of atmel's ISP-'cable' you will find here: http://www.atmel.com/dyn/resou...p_C_v5.PDF Phillip has posted this link in another thread. I add 10µF Tantal and 150R resistor from Vcc to ground. This in order to guarantee that supply voltage of target (AT89S52 to be programmed) falls down to negligible potential, if the target's supply is switched-off. At the target I add 4k7 pull-up resistor to reset line. The meaning of these extra parts is the following: As I do not want to have target's supply voltage rise and fall without activated reset line, I connect and disconnect the target to ISP-'cable' with target's supply voltage switched-off. So, after starting windows 2000 on my older laptop, I connect ISP-'cable' to printer port of laptop, then connect it to target, with its supply voltage switched-off. Then I switch-on target's supply voltage and programm the chip. At the end, I switch-off target's supply voltage again. Then, I disconnect target from ISP-'cable', with the ISP-'cable' still sitting in printer port of laptop. This procedure guarantees, that with each target's supply voltage rise or fall the reset line of AT89S52 is active, means high. This makes corruption of flash code memory very very unprobable. Kai |