go_away

Author Topic: AVRISP Programmer vs. UART  (Read 2819 times)

0 Members and 1 Guest are viewing this topic.

Offline vidamTopic starter

  • Supreme Robot
  • *****
  • Posts: 423
  • Helpful? 1
  • Robotronics.org
AVRISP Programmer vs. UART
« on: February 28, 2008, 06:01:55 PM »
Are there advantages to program your micro-controller via UART vs. the AVRISP Programmer?


Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: AVRISP Programmer vs. UART
« Reply #1 on: February 28, 2008, 06:10:56 PM »
via UART you need a bootloader. (less space for programs, has to be initially programmed)
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Re: AVRISP Programmer vs. UART
« Reply #2 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

Offline vidamTopic starter

  • Supreme Robot
  • *****
  • Posts: 423
  • Helpful? 1
  • Robotronics.org
Re: AVRISP Programmer vs. UART
« Reply #3 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
« Last Edit: March 15, 2008, 05:10:59 PM by vidam »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,660
  • Helpful? 169
    • Society of Robots
Re: AVRISP Programmer vs. UART
« Reply #4 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.

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: AVRISP Programmer vs. UART
« Reply #5 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
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline vidamTopic starter

  • Supreme Robot
  • *****
  • Posts: 423
  • Helpful? 1
  • Robotronics.org
Re: AVRISP Programmer vs. UART
« Reply #6 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?


Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,660
  • Helpful? 169
    • Society of Robots
Re: AVRISP Programmer vs. UART
« Reply #7 on: March 27, 2008, 02:24:20 PM »
JTAG has usefulness in debugging . . . just google it up for specific details.

 


Get Your Ad Here