Got my Chip, Programmer & Software

Discussion in 'Programmer's Corner' started by Chris15, Dec 16, 2010.

  1. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Hello
    I had a previous thread on Programming, i have this:

    - A hex file ready to put on my chip
    - The Chip, an ATtiny13A
    - AVR ISP MKII Programmer
    - AVR Studio 4

    What do i do to get the hex file on the chip? will this work?
    http://www.youtube.com/watch?v=AJZO0q3Gzbw&feature=related

    I can just connect the Tiny13 to the AVRISP MKII on a breadboard, go into AVR Studio 4, press AVR Prog, put in the HEX and press program, then its all done?

    Chris
     
  2. maxpower097

    Well-Known Member

    Feb 20, 2009
    795
    388
    .......................................................
     
    Last edited: Jan 16, 2011
  3. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Yes so..

    When connecting the Pins from the 6plug socket out of the AVR ISP to the Chip, is the red line on the rippon mean that when thats ontop the top left pin is pin one, or can i connect it like this photo
     
  4. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    The uC needs to be mounted to a circuit board with the ICSP programming header on it. The IC doesn't plug directly into the cable you have in the photo.
     
  5. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Yes i am going to put the Chip on a breadboard and attatch jumpers from the breadboard into the header Plug from the ISP MKII
     
  6. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The red conductor associates with pin 1 on the connector.

    The Youtube link you provided is for the dragon. You are not using a dragon, you are using the AVRISP MKII.

    You need to make sure that your ATTINY13 breadboard has the ISP6PIN header wired into it.

    Your AVRISP MKII will plug into the 2 by 3 header on your prototype board.

    hgmjr
     
  7. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Ok yes so i need to find how to attatch the ISP MKII to the ATtiny13 like a picture or something

    Once it is connected, i verify it in AVR Studio 4 with that Chip looking button that says 'AVR'
     
  8. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    You have successfully loaded AVRSTUDIO4 on your PC, right? And it runs, right?

    hgmjr
     
  9. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Also their is a Fuse Setting thing you talked about hgmjr what is that? is it important, can i just download the HEX file to the ATtiny13 using the AVR Studio 4 Programming tool and not have to change the fuse, with the youtube link, i know its the dragon, but is what is explined in the video the same for me?, i open the AVR Button and press prgram once i load the HEX file?
     
  10. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Well i have it ready to be plugged into my computer noe but i dont know wat to to then? once i plug it in i open AVR Studio 4 and do the configure thing on AVR button
     
  11. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Yes AVR Studio 4 runs
     
  12. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    sorry, Yes AVR Studio 4 Works Fine yes, i have everything ready to go here but i lack the knowlege of what to do
     
  13. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
  14. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    I just run an Update for the AVRISP MKII in AVR Studio 4 and it says its all good, so now everything is working i jus have to connect the chip to the AVRISP MKII On a breadboard, load HEX and press program

    Chris
     
  15. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Thanks for the Picture on connection to the ATtiny13 :)
     
  16. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    i dont fully understand that picture? the six pin connecter is where , what connects? i have a picture i think you uploaded here
     
  17. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    In this picture i jus connect everything from the 6pin Header to the Chip and not worry about anything else?
     
  18. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
  19. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Yes the schematic and the table look good. The schematic shows the ISP6PIN header from the top.

    hgmjr
     
  20. Chris15

    Thread Starter Active Member

    Apr 15, 2009
    252
    0
    Ok thanks, How do i find Pin 1? is the red line indicating that if the 6 holes are facing me and the red line is ontop the top left is pin 1?

    ---- +1 +2
    +3 +4
    +5 +6
     
Loading...