+ Post New Thread
Results 1 to 11 of 11
  1. #1
    Full Member level 3
    Points: 1,463, Level: 8

    Join Date
    Sep 2010
    Posts
    168
    Helped
    1 / 1
    Points
    1,463
    Level
    8

    atmega32 development board

    Hi,

    I'm building a development board for an atmega32 MC that i just bought.i found a schematic with which the MC can be programmed using USB or ISP.(see attached file)my question:is the board complete,i.e. can i be directly connecting the usb of my computer to it and start burning the hex files?the schematic is for an atmega8,will it work for 32?i have pony prog burner and AVR dude,will it have the necessery drivers?
    please answer.

    thank you.

  2. #2
    Advanced Member level 5
    Points: 27,675, Level: 40
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    Mangalore (INDIA)
    Posts
    2,748
    Helped
    594 / 594
    Points
    27,675
    Level
    40

    Re: atmega32 development board

    Quote Originally Posted by jayanthyk192 View Post
    Hi, I'm building a development board for an atmega32 MC that i just bought.i found a schematic with which the MC can be programmed using USB or ISP.(see attached file)my question:is the board complete,i.e. can i be directly connecting the usb of my computer to it and start burning the hex files?the schematic is for an atmega8,will it work for 32?i have pony prog burner and AVR dude,will it have the necessery drivers?
    please answer. thank you.
    I coudnt see any attchements in your post. May not be possible to attach as this is your first post. Ok..regading programming, The USB ASP can program all AVR's including ATmega's and ATtiny's. For any particular programmer,(Except the Pickit2) it requires driver to get recognised by the USB port. Pony prog burner and avr dude should work fine for programming ATmega 32.
    Cheers



    •   Alt18th November 2010, 10:58

      advertising

        
       

  3. #3
    Super Moderator
    Points: 43,437, Level: 50
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    10,816
    Helped
    2007 / 2007
    Points
    43,437
    Level
    50
    Blog Entries
    6

    Re: atmega32 development board

    you didn't attach any file but you are probably talking for a programmer like
    fischl.de - USBasp - USB programmer for Atmel AVR controllers
    This king of programmer needs to be programmed (avr chip ) so that it can connect to the usb and work as a programmer.
    You need to buy a programmed chip or make a parallel programmer to program the avr on the usb board and than you can use it.

    The other solution is a board that uses an avr which has a boot loader used to communicate and download the firmware from the usb port to the avr , this is actually a self programmable avr but you also need a programmer to write the boot loader to the chip the first time V-USB - A Firmware-Only USB Driver for Atmel AVR Microcontrollers

    Both these projects can be used with avrdude

    Alex
    Last edited by alexan_e; 19th November 2010 at 08:43.



  4. #4
    Full Member level 3
    Points: 1,463, Level: 8

    Join Date
    Sep 2010
    Posts
    168
    Helped
    1 / 1
    Points
    1,463
    Level
    8

    Re: atmega32 development board

    Quote Originally Posted by pranam77 View Post
    I coudnt see any attchements in your post. May not be possible to attach as this is your first post. Ok..regading programming, The USB ASP can program all AVR's including ATmega's and ATtiny's. For any particular programmer,(Except the Pickit2) it requires driver to get recognised by the USB port. Pony prog burner and avr dude should work fine for programming ATmega 32.
    Cheers
    Quote Originally Posted by alexan_e View Post
    you didn't attach any file but you are probably talking for a programmer like
    - USBasp - USB programmer for Atmel AVR controllers[/url]
    This king of programmer needs to be programmed (avr chip ) so that it can connect to the usb and work as a programmer.
    You need to buy a programmed chip or make a parallel programmer to program the avr on the usb board and than you can use it.

    The other solution is a board that uses an avr which has a boot loaded used to communicate and download the firmware from the usb port to the avr , this is actually a self programmable avr but you also need a programmer to write the boot loader to the chip the first time - A Firmware-Only USB Driver for Atmel AVR Microcontrollers[/url]

    Both these projects can be used with avrdude

    Alex

    thank you guys for the quick reply.
    i'm sorry i cannot post the schematic(i'm getting errors).but the one i have is the same schematic given in the website given by alex.glad it works.
    Q:how do i upload the boot loader?will i be able to program it using serial port(isp) after i upload the boot loader(i want to have both the methods)?will the whole memory be erased and then the new program written?

    again:thank you
    Last edited by jayanthyk192; 18th November 2010 at 11:32.



    •   Alt18th November 2010, 11:27

      advertising

        
       

  5. #5
    Super Moderator
    Points: 43,437, Level: 50
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    10,816
    Helped
    2007 / 2007
    Points
    43,437
    Level
    50
    Blog Entries
    6

    Re: atmega32 development board

    if you are talking about the selfprogrammable board (my second link) then you should always use the usb to program the internal memory of the chip, if you use the ISP then the boot loader will be deleted and usb functionality will be lost until you program the chip again with the boot loader.

    Alex



    •   Alt18th November 2010, 11:48

      advertising

        
       

  6. #6
    Full Member level 3
    Points: 1,463, Level: 8

    Join Date
    Sep 2010
    Posts
    168
    Helped
    1 / 1
    Points
    1,463
    Level
    8

    Re: atmega32 development board

    yes that is the one.the readme file in the firmware says it can be done only to atmegea8/48.could you please tell me if it works fine for atmega32 also?
    http://images.elektroda.net/2_1290137332.png.



  7. #7
    Super Moderator
    Points: 12,713, Level: 27
    nandhu015's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    1,913
    Helped
    282 / 282
    Points
    12,713
    Level
    27
    Blog Entries
    18

    Re: atmega32 development board

    Quote Originally Posted by jayanthyk192 View Post
    yes that is the one.the readme file in the firmware says it can be done only to atmegea8/48.could you please tell me if it works fine for atmega32 also?
    http://images.elektroda.net/2_1290137332.png.
    Yes, it works with all AVRs powerful than atmega 8/48, but you have to recompile the code for specific chip.



  8. #8
    Full Member level 3
    Points: 1,463, Level: 8

    Join Date
    Sep 2010
    Posts
    168
    Helped
    1 / 1
    Points
    1,463
    Level
    8

    Re: atmega32 development board

    Quote Originally Posted by alexan_e View Post
    if you are talking about the selfprogrammable board (my second link) then you should always use the usb to program the internal memory of the chip, if you use the ISP then the boot loader will be deleted and usb functionality will be lost until you program the chip again with the boot loader.

    Alex
    i was building this board http://www.fischl.de/usbasp/bilder/u...ircuit.png,and accidentally i left some copper on the board,which spoilt the ATMEGA32 IC.
    i found another circuit from your second link

    Metaboard

    this is almost the same as the other one.what i'm not able to understand is:can i place a new ATMEGA32(without boot loader) and just connect this circuit to usb and then upload the bootloader?because recently i bought a readymade serial port board for atmega32,that used RxTx and rs232 converter.i also bought an empty atmega32.when i connected the systme the IC was not responding and then the seller burnt a bootloader(which he did'nt give)and then the device was detected.

    so will the same happens here?or will the device be deteceted automatically?



  9. #9
    Super Moderator
    Points: 43,437, Level: 50
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    10,816
    Helped
    2007 / 2007
    Points
    43,437
    Level
    50
    Blog Entries
    6

    Re: atmega32 development board

    You can't use the USB connection until the AVR is program with a boot loader that communicates through USB,
    the AVR has just some ports , you must define the communication protocol with a usb port so that AVR can work.
    The only option you have is to use an ISP programmer.

    Alex



  10. #10
    Full Member level 3
    Points: 1,463, Level: 8

    Join Date
    Sep 2010
    Posts
    168
    Helped
    1 / 1
    Points
    1,463
    Level
    8

    Re: atmega32 development board

    Quote Originally Posted by alexan_e View Post
    You can't use the USB connection until the AVR is program with a boot loader that communicates through USB,
    the AVR has just some ports , you must define the communication protocol with a usb port so that AVR can work.
    The only option you have is to use an ISP programmer.

    Alex
    i found a simple in-circuit serial programmer.

    AVR Programmer

    it says ponyprog will automatically detect the IC.My board(the one i mentioned earlier)has these pins seperately located on the board.so will it really auto detect without any bootloader?if yes,then will i be able to burn the usb bootloader onto it?



  11. #11
    Full Member level 3
    Points: 1,463, Level: 8

    Join Date
    Sep 2010
    Posts
    168
    Helped
    1 / 1
    Points
    1,463
    Level
    8

    Re: atmega32 development board

    any suggestions???



+ Post New Thread
Please login