Hello Ray,

Most probably this really is the programming speed issue. When I was new
to AVR and saw ATMEGA32A for the first time, I'd spent about an hour
thinking that all my MEGAs were faulty. Finally I lowered the speed and
everything became OK. You need to set programming speed to at most 1/4
of the clock speed (if I remember correctly), so for the default clock
speed of 1MHz, programming speed must be 250KHz or lower. I'd
recommend 100KHz for the start, then you can try increasing it or
adjusting MCU's fuses for a higher internal clock speed. So, try:

avrdude.exe -c usbasp -p m32 -B100kHz -v

Tuesday, May 23, 2017, 5:53:01 PM, you wrote:

RM> This is going to be a usbasp issue most likely.  Have you updated the
RM> firmware on the programmer and tried lowering the communications speed?
RM> Most usbasp devices allow you to slow down the clock speed on the programmer
RM> side.  Also, make sure you have power and proper clock signal on the
RM> atmega32a chip.  If it is new then it will be programmed for 1MHz internal
RM> RC oscillator.  If it is not new then it might be programmed for any of a
RM> number of different clock options which might require going HVPP to reset
RM> it.  Note, the usbasp cannot do HVPP.

RM> -----Original Message-----
RM> From: avrdude-dev
RM> [mailto:avrdude-dev-bounces+ray=bethnray....@nongnu.org]
RM> On Behalf Of Ratan Market
RM> Sent: Tuesday, May 23, 2017 6:57 AM
RM> To: avrdude-dev@nongnu.org
RM> Subject: [avrdude-dev] Avrdude is not detecting atmega32a

RM> Hi!

RM> I am new in AVR world. I wrote a program in AVR Studio 7 for Atmega32a chip.
RM> The hex file that is generated, i tried to burn in atmega32a chip using
RM> usbasp programmer, manufactured by roboindia and avrdude as external tool in
RM> AVR Studio 7. The problem is avrdude is not detecting the atmega32a chip.
RM> So, I cannot connect with the circuit. I tried a lot and searched the
RM> internet but there I hadn't find any solution. Please help me out.

RM> Thanks,

RM> Ratan
RM> _______________________________________________
RM> avrdude-dev mailing list
RM> avrdude-dev@nongnu.org
RM> https://lists.nongnu.org/mailman/listinfo/avrdude-dev


RM> _______________________________________________
RM> avrdude-dev mailing list
RM> avrdude-dev@nongnu.org
RM> https://lists.nongnu.org/mailman/listinfo/avrdude-dev





-- 
Best regards,
 Dmitriy                            mailto:k...@kaluga.ru


_______________________________________________
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to