USB for AVR

Discussion in 'Embedded Systems and Microcontrollers' started by rufio, Jun 14, 2010.

  1. rufio

    Thread Starter New Member

    May 31, 2010
    14
    0
    hello again freinds.....i want to make a programmer for AVR using USB input from my LAPTOP...I DO NOT WANT TO BUY AN ALREADY DESIGNED PROGRAMMER OF THIS TYPE as suggested in most of the forums...how do i go about it...
     
  2. eblc1388

    Senior Member

    Nov 28, 2008
    1,542
    102
    As with many things in real life, one cannot make a similar product cheaper and better.

    You need to tell us why you would want to build one instead of buying one.

    You probably don't realized that a USB programmer usually requires a PIC or AVR which itself must be programmed with the required binary code first before they can work to program other MCUs.
     
  3. rufio

    Thread Starter New Member

    May 31, 2010
    14
    0
    i dint get u..can u help me understand the concept....it wil be a great help...
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
  5. bertus

    Administrator

    Apr 5, 2008
    15,638
    2,343
  6. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    This is like a chicken and egg paradox. In order to build a USB programmer, you need to program a microcontroller as the control unit in the USB programmer. It will be an interesting project. But in the end you will find out that the sum of money you used at the DIY programmer will be pretty much the same as the cost of a simple commercial one. It is hard to beat mass production. Besides I suspect that both Microchip and AVR sell the hobbyist programmer with very little profit.
    So why do you net want to buy one?
     
  7. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    If you have a friend that has a AVR programmer, you can program a chip to do the USB communications.

    And with the AVRs thats support ICSP, the programmer you build with the help of a friends programmer can communicate with USB then ICP the target chip.
     
  8. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Here is one type simple USB programmer for AVR. http://www.fischl.de/usbasp/
    You can also google this -> avr usb programmer. You could aslo implement a boot loader like this http://www.fischl.de/avrusbboot/
    But in both cases you still have the "chicken and egg paradox" Both need pre programming in order to work
     
  9. rufio

    Thread Starter New Member

    May 31, 2010
    14
    0
    @t06afre----------because i would like to know the actual working of the USB programmer..the practical problems...and will LUV to make it work myself...
     
  10. microjean

    New Member

    Jan 27, 2010
    1
    0
    You can use an USB to RS232 converter (like FTDI 232R) and the serial programmer used by Pony Prog (software and schematics on site, freeware , no microcontroller needed).
     
Loading...