Code::Blocks Forums

User forums => Embedded development => Topic started by: ar ar ar on August 02, 2012, 09:44:40 pm

Title: AVR programming with JTAG ICE USB howto?
Post by: ar ar ar on August 02, 2012, 09:44:40 pm
Hello, does anybody know how to configure codeblocks, so that I can program my chip with JTAG ICE USB??

I get my code compiled and my hex file created but how I can program the chip?

I think that I must use AVARICE program to upload my code to the chip.

Any advice welcome.
Title: Re: AVR programming with JTAG ICE USB howto?
Post by: scarphin on August 03, 2012, 03:02:40 pm
You can use 'tools' menu to define shortcuts for commands to program your AVR. See the post below for details.
http://forums.codeblocks.org/index.php/topic,13616.0.html (http://forums.codeblocks.org/index.php/topic,13616.0.html)

You may use 'avarice' to program your chip but using 'avrdude' to program is better as avarice is a little buggy. But you have to use 'avarice' to start a gdb-server. Check those those utilities' documentation for more info.