0
\$\begingroup\$

I am working on avr controllers for a while, but I have problem with "progisp" avr programming software. When I buy a new micro-controller like atmega32 it can be programmed properly for a while but after some days, suddenly when I want to reprogram it, Progisp shows the error "Chip Enable Program Error". I use USB programmer. For better understanding here is an image of progisp software.

progisp software error

I have searched the internet a lot to find a solution but there wasn't a proper and useful solution for my problem. I am sure that my micro-controllers are fine and not damaged because they work as they programmed but I am unable to reprogram them. I really thank you if you have any solution to help me.

And here is schematic diagram and real picture of my USB programmer.

enter image description here

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Given that this will be a hardware issue, not a software issue, we will need a lot more information from you before we can help. e.g. schematic, pictures of hardware, what steps you have tried, etc. \$\endgroup\$ – Tom Carpenter Aug 2 '18 at 7:49
  • \$\begingroup\$ What is your USB programmer? How does the wiring look like? \$\endgroup\$ – filo Aug 2 '18 at 8:18
  • \$\begingroup\$ I have added schematic diagram and picture of USB programmer. i have searched the internet for a while, Someone said that you may accidentally programmed clock fuse bits as external clock or oscillator but it could be true because when i plug them without any external oscillator it works as it has been programmed. \$\endgroup\$ – Linosa Aug 2 '18 at 10:11
  • \$\begingroup\$ I always program high fuse bits and low fuse bits as oxD9E4 and all lock bits all equal to 1 and that are disabled. \$\endgroup\$ – Linosa Aug 2 '18 at 10:21
  • \$\begingroup\$ Did you happen to configure the reset pin as an input or an output? \$\endgroup\$ – Dampmaskin Aug 2 '18 at 12:09
0
\$\begingroup\$

I had this error before when I changed the clock fuse bits and set at external RC Oscillator, maybe you have the same problem. use a resistor and capacitor and build an external oscillator for your clock source and reprogram your micro.maybe it is work.

\$\endgroup\$
  • \$\begingroup\$ But you mean that you have set the fuse bits as external clock oscillator? If so i haven't do that. And as i said above they have been set as internal oscillator. \$\endgroup\$ – Linosa Aug 2 '18 at 10:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.