Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

ATTiny flash verification error

Status
Not open for further replies.
I've had this same error several times, the first thing to check would be the clock rate of your programmer, in order to properly program your target the SPI rate of the programmer has to be 1/4 or less the rate of the target chips clock speed, or this will occur. Programming succeeds but it's like a baud rate mismatch on a serial port because there's no verification during writing, it just slams the bits blindly, anything over 1/4 of the targets SPI clock will result in bad bits.

Set the programmer to use the slowest possible clock for programming and see what that gets you. Fast programming is only important in production applications generally, so using the lowest possible clock by default is always a good idea.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top