element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Arduino on a breadboard: two questions
  • 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 5 replies
  • Subscribers 402 subscribers
  • Views 442 views
  • Users 0 members are here
Related

Arduino on a breadboard: two questions

Former Member
Former Member over 13 years ago

I’d like to try Arduino on a breadboard: http://arduino.cc/en/Main/Standalone

Two questions:

 

  1. Do I really need external 16 MHz clock crystal if I use Atmel328 with built-in 20 MHz oscillator?
  2. Can I use ATMEL ATAVRDRAGON http://www.newark.com/jsp/search/productdetail.jsp?sku=68T2063 for bootloading?

 

Thank you!

  • Sign in to reply
  • Cancel
Parents
  • billabott
    billabott over 13 years ago

    1.  No.  However extra care must be taken as discussed here: http://arduino.cc/forum/index.php/topic,128462.0.html

     

    2.  Yes.  The main function of function of the Dragon is to program machine code into ATMEL products.  However, I have no idea if it will allow you to load Arduino sketches into flash memory since I don't have a Dragon.  The serial communication techniques to load sketches are three methods to choose from: ICSP, JTAG, or  http://FTDI.  Hope this helps you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to billabott

    Little unclear regarding #2: having uploaded the bootloader using a Dragon - won't I be able to load sketches from Arduino IDE via COM port the usual way? I thought that was the main purpose of the bootloader.

     

    Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • billabott
    billabott over 13 years ago in reply to Former Member

    Your probably need to read again the page you quoted (using babblefish translator if needed).  http://arduino.cc/en/Main/Standalone 

     

    Okay, I think I understand the difficulty.  I will try again to clarify.  There is no such thing as bootloading because it is unclear if you mean installing IT on a bare chip -or- running IT on a 'Duino to cause a sketch to be installed and run. 

     

    Think of it like this: Memory is partitioned into pages and the use of ICSP was intended to allow a field service technician to upgrade the firmware at the customer's site .  The bootloader remains unmodified on a Page all its own and helps to facilitate the processing of the Serial data stream coming in on one wire to fill up the other Pages of Memory.

     

    ATAVRDRAGON is an "Old School High Voltage Parallel Port with multiple write and verify cycles for each word" style programmer of machine code onto bare silicon and a industrial strength debugger.  It will allow a bare atmega to have the bootloader written into the memory of the atmega and then it will be an Arduino.  The discussion here seems to possibly imply that the Dragon has "User Mode" that just loads sketches and that changing to another mode and using AVRDUDE will allow the writing of a bootloader (and yes there are several to choose from).

     

    See this >>>>>  You need to figure out how to dig this stuff out for yourself (I mean everyone.)

    http://www.atmel.com/products/microcontrollers/avr/start_now.aspx

     

    http://support.atmel.com/bin/customer.exe?=&action=viewKbEntry&id=1391

     

    http://www.atmel.no/webdoc/avrdragon/avrdragon.html

    The dragon user manual should have all the answers to your questions.

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

    Your probably need to read again the page you quoted (using babblefish translator if needed).  http://arduino.cc/en/Main/Standalone 

     

    Okay, I think I understand the difficulty.  I will try again to clarify.  There is no such thing as bootloading because it is unclear if you mean installing IT on a bare chip -or- running IT on a 'Duino to cause a sketch to be installed and run. 

     

    Think of it like this: Memory is partitioned into pages and the use of ICSP was intended to allow a field service technician to upgrade the firmware at the customer's site .  The bootloader remains unmodified on a Page all its own and helps to facilitate the processing of the Serial data stream coming in on one wire to fill up the other Pages of Memory.

     

    ATAVRDRAGON is an "Old School High Voltage Parallel Port with multiple write and verify cycles for each word" style programmer of machine code onto bare silicon and a industrial strength debugger.  It will allow a bare atmega to have the bootloader written into the memory of the atmega and then it will be an Arduino.  The discussion here seems to possibly imply that the Dragon has "User Mode" that just loads sketches and that changing to another mode and using AVRDUDE will allow the writing of a bootloader (and yes there are several to choose from).

     

    See this >>>>>  You need to figure out how to dig this stuff out for yourself (I mean everyone.)

    http://www.atmel.com/products/microcontrollers/avr/start_now.aspx

     

    http://support.atmel.com/bin/customer.exe?=&action=viewKbEntry&id=1391

     

    http://www.atmel.no/webdoc/avrdragon/avrdragon.html

    The dragon user manual should have all the answers to your questions.

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

    Dear Sir,

     

    My intent is:

    1. Buy a bare chip (Atmega328)
    2. Load bootloader with ATMEL ATAVRDRAGON. This is departure from http://arduino.cc/en/Main/Standalone that recommends AVRISP mkII. My interest in ATMEL ATAVRDRAGON is that it seems more advanced product that should include AVRISP mkII functionality. I’m also planning on using it for debugging.
    3. Convert chip to Arduino, attach to PC via FT232 USB Breakout board and start loading sketches from Arduino IDE. I also wanted to try Atmel studio.

    Does it look doable with Dragon? I just wanted to make sure it does before I have purchased ATAVRDRAGON device.

     

    My apologies for troubling you with these newbie questions. I do have some previous experience with bootloaders; I did not write one but I support one (developed for Freescale HC08 MCU) and periodically upgrade application firmware not unlike field service technician from your example.

     

    Thank you for your help.

     

    Eugene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • billabott
    billabott over 13 years ago in reply to Former Member

    Yes, we are in agreement, Mr. Eugene.  Sorry, if I sounded over-rotted, no offense intended; but I like to include as many accurate details as I can so that others who bother to search the archive will also benefit.  I tells it like I see it.  If I make a mistake; I hope someone points it out so I can learn from it. 

     

    Major Resource Find: "Hardware Debugging the Arduino using Eclipse and the AVR Dragon"  may be of use to folks using AVRDragon.  Now I am thinking maybe I will have to get one also!   But it is possible that Team Arduino will be coming out soon with a very inexpensive debug tool.  I hope so.

     

    Did you decide which bootloaders you will be testing?  While pursuing that question I found two useful references:

     

    http://code.google.com/p/optiboot/

     

    http://arduino.cc/forum/index.php/topic,64105.0.html

     

    FYI - To acheive the goal of wanting to make sure a digital device is going to function the way you intend to use it would normally be met by calling (or emailing) and getting presales info and support from the retailer of your choice. 

    • 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