Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Trouble using AVRISP mkII to read flash of ATMega32U4

2013-11-18 by edjubenville@att.net

Newbie here... I need to save the program of a development board with an ATMega32U4 installed before I overwrite it with a new program. I'm trying to use avrdude included with WinAVR to do this using an AVRISP mkII programmer.

The programmer shows up at COM9. I edited the avrdude.conf file to set the default comport. I tried the following avrdude command line to read it:

c:\WinAVR-20100110\bin\avrdude.exe -p m32u4 -c stk500v2 -U flash:r:"c:\save.bin":r

That didn't work. It gave me a bunch of timeout messages like this:
avrdude.exe: stk500_2_ReceiveMessage(): timeout

For all I know, the previously loaded firmware may have been programmed with protection to prevent readback. Is this the symptom I would see?

Any debugging suggestions would be appreciated!

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.