As István Rétallér wrote:

> avarice -2 -j usb -P attiny45 -w --erase --program --file gdbinit-myfile
> localhost:4242 &

You are trying to program the file "gdbinit-myfile" into
your AVR.  Don't do this. ;-)

Just drop the --erase and --program options from the AVaRICE
commandline, forever.  They are deprecated.

You have already programmed your AVR through AVRDUDE.  That ought
to suffice to start with.

Then, you try programming it from the AVaRICE commandline.  Don't
do that at all.

Finally, your GDB init script also tries to program it, through the
"load" command.  That is *supposed* to work, but I wouldn't bet my hat
on that.  Just remove the "load" line from the script by now, and see
whether that gets you any further.

Quite possible there are still bugs in the constellation where
debugWIRE is used together with a GDB load command.  Its overall
performance is worse than AVRDUDE's initial ISP anyway, albeit a
working "load" command, of course, would offer a way to reprogram
without leaving the debug session, and switching back to ISP.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
avarice-user mailing list
avarice-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to