Hello,
I have been working on a project where I am using a raspberry pi with avrdude to bit bang an atmega2560. If I use, for example, the blink sketch for a Mega, and flash it through my raspberry pi, it works fine. If I use the firmware file that I need for my specific project (provided by a 3rd party) then I get a verification error.
If I use AVR studio to flash the chip with the project specific firmware file then it works fine.
Here are some screenshots of my avrdude flash output:
I also "verified" the flash that was written by avrdude using AVR studio and received the same verification error:
Any ideas why I may be getting this different response? I will also say that I have multiple "project specific" firmware files that vary in size, one is 11kb and the other is 152kb, so I do not believe the size of the file is an issue.
Thanks,
Mike
I have been working on a project where I am using a raspberry pi with avrdude to bit bang an atmega2560. If I use, for example, the blink sketch for a Mega, and flash it through my raspberry pi, it works fine. If I use the firmware file that I need for my specific project (provided by a 3rd party) then I get a verification error.
If I use AVR studio to flash the chip with the project specific firmware file then it works fine.
Here are some screenshots of my avrdude flash output:

I also "verified" the flash that was written by avrdude using AVR studio and received the same verification error:

Any ideas why I may be getting this different response? I will also say that I have multiple "project specific" firmware files that vary in size, one is 11kb and the other is 152kb, so I do not believe the size of the file is an issue.
Thanks,
Mike