How to add flip support for atxmega128a1?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to add flip support for atxmega128a1?

Christopher Kuhn
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.


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev