[solved] did my avr programming succeed?

i wanna bring my flashlight modding to a new level, so i got myself a programmer (a AVRISP mkII) and programming clip.

i tried all day to program a 105c driver for the first time and after 8 hours of installing and removing software with google as my best friend, i think i finally got it working. but i dont have any leds at the moment to try it on.
i am also tring to understand the console output so if someone could help me a little that would be great.

if i understand correctly it wrote the program to the chip but could not verify it. does that mean the code is on the chip or did it erase again because it could not verify

thanks

DenTilloZie

I wouldn’t bet on it having succeeded. I get verification errors sometimes when the clip isn’t properly attached. Try attaching it and then flash it again.

If you don’t have a setup for quick and easy testing I wouldn’t even bother testing it with verification errors.

i also get signature errors, the signature of my devise changes almost everytime. thats why i dissabled the signature check. yeah i know i need a test setup, but i wanted to get the software on my pc up and running. i am expecting some leds int the mail any day.
i started of using atmel studio, that could read the chip but not write to it, it gave me this error: “atmel studio was unable to start your debug session”.

It is possible (but I don’t know how) to debug the chip while it is running code. Sounds like that is what Amtel Studio is trying to do. I’ve never used anything other than avrdude for flashing so I can’t really say though.

Are you always getting verification errors with avrdude, no matter how many times you reconnect the clip?

I got it working. I lowered the busspeed and that dit the trick. It now reads the correct signature and the code gets verified. Thanks for helping!