|T O P I C R E V I E W
|Posted - 12/04/2007 : 15:53:12
My AVRISP does not download the code to my target chip Atmega16. I did check all settings in software. What could be wrong?
|1 L A T E S T R E P L I E S (Newest First)
|Posted - 12/04/2007 : 15:54:05
There are two possibilities for this kind of issue:
1. Hardware connection. Please confirm all connections are correct to the ISP header. The connecting should be pin to pin. eg. MOSI pin to MOSI pin. All GND pins on the ISP header should be connected to the GND of your target chip. The ISP header pinout please see:
Also, the target chip need to be powered externally. The ISP programmer does not power the target chip.
2. Target configuration. Please confirm the chip fuse bit are set to the correct setting for the ISP feature.
....a. The ISP bit must be enabled so that to accept the ISP programming mode request. If this bit is disabled, then there are no way to program the ISP via ISP mode and only can enable this bit by parallel programming.
....b. The clock divider bit must not be set. The CKSEL fuse bit is another one need to care.
....c. All the default fuse value should work for the ISP programming. So, try with a brand new chip to eliminate the fuse setting factor.