Hi all,

just got a problem with writing the usersig on an ATXmega32A4 device
when using avrdude.

I use the first two bytes of the usersig for some kind of serial-id for
each Xmega device.

The programming works perfectly when writing the usersig the first time.
Now i tried to change it and it reverts to 0x00,0x00 and I can't change
the two bytes anymore.

Does anyone have an idea how i can reset the usersig again?

BTW, thats how i called avrdude:
> avrdude -q -p x32a4 -c stk500v2 -P usb -U usersig:r:0xff,0xff:m

avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e9541
avrdude: reading usersig memory:
avrdude: writing output file "0xff,0xff"
avrdude: fileio: invalid operation=1
avrdude: write to file '0xff,0xff' failed

avrdude done.  Thank you.

>avrdude --version
avrdude version 5.11.1, URL:
<http://savannah.nongnu.org/projects/avrdude/>


Thanks a lot!

Regards,
Alex


_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to