Re: [AVaRICE-user] XMega16A4

2013-10-24 Thread Joerg Wunsch
As Seth Traend wrote: > > $ avarice --erase --program -f X16A4HelloWorld.elf --part atmega16 -2 > > -g -x :4242 As Knut already mentioned: --erase and --program are deprecated. You did download your firmware by AVRDUDE before anyway, so they aren't necessary at all. > set paramater command fai

Re: [AVaRICE-user] XMega16A4

2013-10-24 Thread Knut Schwichtenberg
Hi Seth, is there any reason why avrdude and avarice should share an identical syntax on the command line? Now anyway did you checked that your XM16A4 has a JTAG port or does it only have a PDI port instead? Here is the command line for debugging a XM32E4 with PDI using ICE-3: avarice -I --jta

[AVaRICE-user] XMega16A4

2013-10-24 Thread Seth Traend
Hello, Just got the Code Blocks IDE with avr-gdb and avarice compiled on linux. I program the firmware with avrdude and avr-dragon with pdi mode like this and succeed: > $ avrdude -c dragon_pdi -p x16a4 -v -P usb -U > flash:w:X16A4HelloWorld.hex:i the firmware runs on target. But I would like