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 to use the debugging 
feature so. I tried it from the bottom up on the commandline by starting 
avarice like this:

> $ avarice --erase --program -f X16A4HelloWorld.elf --part atmega16 -2 
> -g -x :4242

but it fails with:

AVaRICE version 2.11, Jan 12 2013 23:58:31

Defaulting JTAG bitrate to 250 kHz.

JTAG config starting.
Found a device: AVRDRAGON
Serial number:  00:a2:00:00:0f:bc
set paramater command failed

I could not find any tutorials or anything which points me in the right 
direction, so please help


all the best
Seth



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
avarice-user mailing list
avarice-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to