Getting that error message means The programmer pins are wrongly connected to the target OR the target is not powered, or You may try connecting a 4 Mhz crystal to the Xtal pins and then try programming or erasing.
Cheers
i highly recommend you protection 100R serial resistors to mosi, miso, clk and reset.
Check once again correct connection between AVR and pony. Sometimes AVR forget its name, it means uncheck ID chip control in Pony. One of the very first function is tha pony checks ID of the programmed chip.
Also check power supply on avr side and frequency on pony side.
In the vorst case is AVR damaged. It happened, sorry.
Hi,
I've made a usbasp and my computer successfully read it.
I connect perfectly the 6 pins (vcc,gnd,reset,mosi,miso,sck) of programmer to the new ATMEGA8 i want to program
now when i try to erase it by ProgISP (1.72) i face with error "Chip Enable Program Error" and i'm so confused of this..
Please help me solve this problem.
Thanks.
You will have this error when
1. The connections are wrong
2. the serial programming is disabled in AVR Fusebit
3. oscillator is not available as per fusebit
and
4. Your chip is damaged
Check for the above
I'm also using AVRasp but with AVR8 Burn-O-Mat avrdude GUI which is a front end for avrdude.
Ponyprog should have a function to read the chip type, if this succeeds then the connection is ok, then you can try to read the fuses of the chip and there you can see if it is locked or not.
If it is locked (or if you have disabled reset pin which is needed for isp) i think that you can only reprogram it using a HV parallel programmer.
Also check that you have set the correct type of microcontroller in ponyprog.
If the chip is new then it is preset with the internal clock, you don't need a crystal, unless you have already changed the fuses.
Alex
Before you can erase the chip you have to be able to read its fuses, did you check if the chip is recognized?
Were you able to read the fuse bits, if so then post them to see what have been changed and what can you do.
Alex
thank u all ... I found the problem, it was set on external crystal !
again thank u all dear friends for helps :x:X:x
my AT89S52 also face the same problem. "chip enable program error" anybody can help?
well, I just fixed it. it caused by my microcontroller pin is connected directly to ground. so I just disconnect it and finish..
hi
I m using progisp1.72 ans I also got the same error i.e. "Chip enable program error" anybody help me. I have cheack my all connection of MCU I made the VTG of programer to VCC of atmega8 not with AVCC . the pin number 3 remains with no connection. and remaning pin are correct according to make the connection. But I donot know how it is happening. I have also try up to 8mhz. I donot know my chip has been got damaged or not. How can I cheack it. thanks in advance.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?