AVR Atmega32 flash verification error


Posted on Feb 6, 2014

An Atmega32A chip and I`ve been trying to program it with a usbasp for quite a few hours. I can change the fuses and write the program, but verification fails. The chip can be erased and fuses can be changed, my only problem is with the verification. The program seems to be written to memory but my LEDs aren`t blinking. I would like tosee two things. Confirmation of a working programmer for this chip


AVR Atmega32 flash verification error
Click here to download the full size of the above Circuit.

and an explanation of how you know it is connected properly and how to go about designing one. This will be getting a bounty when it hits the age that I may add one. Kortuk™ Jul 26 `11 at 14:50 How many times have you written to/from the chip There are a limited number of writes, and it`s also possible that you have a defective one (if you`re sure all of your programmer settings are correct and there is no bad connection). Breakthrough Jul 29 `11 at 14:16 How do you hook up a flash programmer for this chip and what are the lines for! 300 rep here, Begging for someone to answer now. Kortuk™ Aug 1 `11 at 4:44 Have you been able to verify at all that the device is responding at any level You say you programmed the fuse bits, but have you been able to verify that they were actually changed The SPI Serial Programming instructions will not work if the communication is out of synchronization. When in sync. the second byte ($53), will echo back when issuing the third byte of the Programming Enable instruction. Whether the echo is correct or not, all four bytes of the instruction must be transmitted. If the $53 did not echo back, give RESET a positive pulse and issue a new Programming Enable command. Perhaps you could see if you can test this, either with an option to/modification of avrdude, or even just looking with a scope to see if the miso line is wiggling at all I`d think the question has aged enough that if it`s still an...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Voltage Comparator Circuits
    50 Watt Power Amplifier
    AVR terminal for serial port
    Low battery indicator
    Low loss brightness control
    Sensitive Low-Current-Drain Motion Detector
    NiCd Simple Smart Nicad Battery Charger circuit
    Siren Driver circuit



    Top