avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] How to add flip support for atxmega128a1?


From: Christopher Kuhn
Subject: [avrdude-dev] How to add flip support for atxmega128a1?
Date: Mon, 4 Sep 2017 20:47:26 -0400

I'm interested in adding support for the 128a1.
The Flip tool supports it if you add the following xml file to the
bin/PartDescriptionFiles
directory.
The 128a is very similar to the 128a1u, so I'm guessing it's a matter of
getting the conf file correct?

<?xml version="1.0"?>
> <!DOCTYPE Part SYSTEM "part.dtd">
> <Part NAME="ATxmega128A1">
> <PageSize SIZE="512" />
>
> <Memory NAME="FLASH"         SIZE="131072" ADDR="0"  INDEX="0"/>
> <Memory NAME="EEPROM"        SIZE="2048"   ADDR="0"  INDEX="1"/>
> <Memory NAME="BOOTLOADER"    SIZE="3"                INDEX="3"/>
> <Memory NAME="SIGNATURE"     SIZE="4"                INDEX="6"/>
> <Memory NAME="USER"          SIZE="512"              INDEX="11"/>
> <Protocol FILE="RS232_I03.xml" />
> </Part>


​I tried to modify the avrdude.conf file with the correct usbpid (0x2122),
but ​I'm getting the following error message.

$ avrdude -c flip2 -p x128a1 -D -U application:w:bin/demo.hex
>
> avrdude: Warning: Failed to read USB device string 1: Operation timed out
> avrdude: Warning: Failed to read USB device string 2: Operation timed out
> avrdude: Warning: Failed to read USB device string 3: Operation timed out
> avrdude: Warning: USB bNumInterfaces = 2 (expected 1)
> avrdude: Warning: USB bDeviceClass = 2 (expected 0)
> avrdude: Warning: USB bInterfaceClass = 2 (expected 255)
> avrdude: Warning: USB bInterfaceSubClass = 2 (expected 0)
> avrdude: Warning: USB bInterfaceSubClass = 1 (expected 0)
> avrdude: Error: DFU_DNLOAD failed: Operation timed out
> avrdude: Error: Failed to get DFU status: Operation timed out
> avrdude: Error: Failed to set memory unit 0x05 (signature)
> avrdude: AVR device initialized and ready to accept instructions
>
> Reading |                                                    | 0%
> 0.00savrdude: error reading signature data for part "ATxmega128A1", rc=-1
> avrdude: error reading signature data, rc=-1
>
> avrdude done.  Thank you.


​I would really appreciate any nudge in the right direction.
My apologies if this is inappropriate for this mailing list.

​


reply via email to

[Prev in Thread] Current Thread [Next in Thread]