Society of Robots - Robot Forum

Software => Software => Topic started by: vidam on February 28, 2008, 06:01:55 PM

Title: AVRISP Programmer vs. UART
Post by: vidam on February 28, 2008, 06:01:55 PM
Are there advantages to program your micro-controller via UART vs. the AVRISP Programmer?

Title: Re: AVRISP Programmer vs. UART
Post by: ed1380 on February 28, 2008, 06:10:56 PM
via UART you need a bootloader. (less space for programs, has to be initially programmed)
Title: Re: AVRISP Programmer vs. UART
Post by: paulstreats on February 28, 2008, 06:12:37 PM
To program it with the uart, you are likely to need to pre - program it properly with a boot loader anyway.

Once a bootloader is installed, the advantages are quite clear, first off you can use usb to serial adapters to make it easier to use on new computers. You can also use bluetooth to serial. You can use easy radio modules and most other radio modules to program with. So realistically you can program your robot wirelessly if you have the correct hardwares meaning that it is a lot easier. When I have a new program to load onto any of my robots, I usually have to load it on, disconnect it to test then reconnect it download modified code, disconnect it, test it, reconnect it, download modified code, diconnect it, test it, etc... etc.. It is a lot easier if you dont have to physically connect you robot to download new code. ps. i learned my lesson and invested in some radio modules

The downside is losing a bit of programming space for the bootloader to reside in
Title: Re: AVRISP Programmer vs. UART
Post by: vidam on March 15, 2008, 04:56:18 PM
Here is my latest related issue/questions posted here: http://www.societyofrobots.com/robotforum/index.php?topic=3583.0

I think this tutorial might be the answer I needed for setting up UART with Robostix in standalone mode: http://www.societyofrobots.com/bootloader_50_robot.shtml
Title: Re: AVRISP Programmer vs. UART
Post by: Admin on March 21, 2008, 06:20:08 PM
Bootloaders are slower than programmers.

If you plan to do a lot of code tweaking, a programmer makes it much faster.
Title: Re: AVRISP Programmer vs. UART
Post by: superchiku on March 21, 2008, 11:01:52 PM
my programmer can burn the program in a matter of seconds but in case of a bootloader it will take much more time
aand also the program size cant be high
Title: Re: AVRISP Programmer vs. UART
Post by: vidam on March 22, 2008, 04:39:25 PM
So what about a JTAG programmer? Why does it cost so much and how is it better than avrisp or uart?

Title: Re: AVRISP Programmer vs. UART
Post by: Admin on March 27, 2008, 02:24:20 PM
JTAG has usefulness in debugging . . . just google it up for specific details.