element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Flash programmer for ATmega 168A
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 391 subscribers
  • Views 1886 views
  • Users 0 members are here
  • flash programmer
  • arduino uno
  • microchip
  • isp
  • atmega168
Related

Flash programmer for ATmega 168A

Former Member
Former Member over 9 years ago

Hello ! I'm going to buy this book http://amzn.com/1449355781 and start to learn programming ATmega 168A in C. In the books component list i found some alternatives for an ISP programmer which you need to programm your microchip. Here are some:

 

1.An Arduino and six wires makes a totally workable flash programmer.        

 

- An original arduino is quite expensive but affordable. Will a fake arduino copy work as a Flash programmer ?

 

 

2.USBTinyISP                                                                                                  

 

- I don't have a soldering iron and not planning to get one for a while.

 

 

3.USBasp, from BaiTe in China                                                                       

 

-In the book it says that i need to flash the firmware into the AVR in the programmer. I don't really know what it means.

 

 

4.USBTiny, tiny version from ehajo.de                                                             

 

- Same as previous option

 

 

5.A homemade programming spider, which plugs into a breadboard around the AVR chip and connects up the programming, power, and reset pins the right way every time. If you’re at all handy with a soldering iron and perfboard, you should make one of these.                    

                                                                                                                        

- Again, i don't have a soldering iron.

 

 

 

I don't know what option to choose. Seems like options 2 and 5 won't work for me att all since i don't have a soldering iron. Options 3 and 4 are not completely clear. Option 1 is the most expensive one but easyest, may be a fake arduino copy would work as a Flash programmer ? I don't know. I would be happy if someone could educate me at this stuff with ISP programmers.

  • Sign in to reply
  • Cancel
Parents
  • beacon_dave
    beacon_dave over 9 years ago

    Ah - very good point - I was assuming that you were planning on using the Arduino IDE.

     

    You can use Atmel Studio to program and AVR Mega. Not sure if it can use the Arduino ISP though. I've used it with the Atmel AVR Dragon programmer/debugger.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 9 years ago in reply to beacon_dave

    Feels like programmer/debugger Atmel ARV Dragon and Atmel Studio feels like more advanced way ! Would it be more profitable to use theese tools to program ATmega ? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 9 years ago in reply to Former Member

    Yes, more powerful features available.

     

    The Dragon is a bit more expensive however

    ATAVRDRAGON - ATMEL - IN SYSTEM DEBUGGER / PROGRAMMER, AVR | Farnell element14

     

    Note that the Dragon does not come with a ZIF socket for programming - if you want that then you need to solder one onto it. It does come with a ICSP header similar to the Arduino ISP, so you can connect it to your breadboard project. This is how I've used the Dragon with an ATmega 1284p.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 9 years ago in reply to beacon_dave

    I'm not sure if i need an advanced board like Atmel ARV Dragon since i'm a complete beginner. But i still have a question if  i can program ATmega with Arduino ISP in C like if you would programm in the Dragon ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 9 years ago in reply to Former Member

    I think the book you are looking at is based around using the AVR GCC compiler which will mean you will likely end up with a hex file that you need to transfer to the ATmega.

     

    You can do this with Atmel Studio and the Dragon via one of the command line tools. It doesn't look like Atmel Studio supports the Arduino ISP as a programmer though, and I don't think you can download a complied binary using Arduino IDE.

     

    Did you take a look at the ATmega168 Xplained Mini ? as that can be programmed directly from Atmel Studio via its USB connector.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • beacon_dave
    beacon_dave over 9 years ago in reply to Former Member

    I think the book you are looking at is based around using the AVR GCC compiler which will mean you will likely end up with a hex file that you need to transfer to the ATmega.

     

    You can do this with Atmel Studio and the Dragon via one of the command line tools. It doesn't look like Atmel Studio supports the Arduino ISP as a programmer though, and I don't think you can download a complied binary using Arduino IDE.

     

    Did you take a look at the ATmega168 Xplained Mini ? as that can be programmed directly from Atmel Studio via its USB connector.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Former Member
    Former Member over 9 years ago in reply to beacon_dave

    Hmm, Xplained Mini seems like a good alternative since i can program Atmega 168 in C with Atmel Studio. Would the book which i'm looking at be helpful in programming ATmega that way ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 9 years ago in reply to Former Member

    I've not read the book so can't really comment. I just had a quick look to see what compiler/programmer it was using.

     

    However I purchased an ATmega328 Xplained mini to follow along with this AVR series:

    https://www.youtube.com/watch?v=UMi6lg563BA&list=PLtQdQmNK_0DRhBWYZ32BEILOykXLpJ8tP&index=1

     

    (You can also use the ATmega168 Xplained mini with that series.

    ATMEGA168PB-XMINI - ATMEL - Evaluation Board, ATmega168Pb Xplained Mini MCU, On-board Debugger, Arduino Shield Compatibl…

    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 9 years ago in reply to beacon_dave

    This series of videos was very helpful to me. I'm planing to get the ATmega168 Xplained.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube