Saturday, November 14, 2009

Spiderwheels: How to bootload a breadboard sanguino...

Now that I have a leg constructed it is time for me to focus my attention on the circuit. I have decided to base my circuit design off of the sanguino by Zack Hoeken. I made this decision for three reasons.


  • I want to stay close to the arduino community in order to leverage all the open source work that has been done.

  • There are no surface mount parts in the design, which is good because I want to keep this at the beginner level. It's also good because I want to prototype on a breadboard and SMT doesn't play nice with breadboards.

  • It has enough pins. I need at least 18. I want 27. The sanguino has 32.

I put in orders for all the parts I need for two sanguinos, as well as a USB to TTL cable and a USBtinyISP bootloader last week. I was really lucky that all the orders came in last night.

First, I soldered together my USBtinyISP kit.



Then I followed this tutorial to construct a breadboard sanguino for prototyping.

I was a novice to AVRs and the inner workings of the arduino family of boards as of last night so I was naive enough to think that it may be possible for the bootloader to magically go onto the AVR chip when you load the firmware for the first time. Nope. I got the "avrdude: stk500_getsync(): not in sync: resp=0x00" error.

Though I was naive enough to try it I was smart enough to have already made a USBtiny bootloader. However, how do you plug the USBtiny into the breadboard sanguino?



As you can imagine this was an intimidating problem! Remember, I was a novice. It's not that the information isn't provided. Technically, all you need is the schematic of the USBtinyISP and the schematic of the sanguino to figure it out. Still... I am kind of surprised that the sanguino website doesn't say much about bootloading. I mean... this is an open source project. Furthermore, arduino bootloading tutorials are hard to come by in general. This got me thinking. Why are there no / very few tutorials on bootloading? Is it to encourage people to buy their kits which have already been bootloaded? Is it because bootloading is too technical for the average arduino hobbyist to understand? Is it because no one really cares because they have no desire to design an arduino variant on their own? Maybe it's just that no one took the time. Definitively something to think about. I welcome thoughts on this.

It took me two whole hours to check and double-check my work before I felt comfortable plugging in the USBtinyISP. Here is what you need to do if you want to bootload an ATmega644P on a breadboard with a USBtinyISP.

USBtinyISP ICSP (1) goes to (b16)

USBtinyISP ICSP (2) goes to (b19)

USBtinyISP ICSP (3) goes to (b17)

USBtinyISP ICSP (4) goes to (b15)

USBtinyISP ICSP (5) goes to (b18)

USBtinyISP ICSP (6) goes to (b20)


Now, assuming you have followed the tutorials on how to get your computer to recognize the USBtinyISP and you have successfully installed the arduino app + sanguine files, the next step is to plug in your USBtinyISP. Then open up your Arduino application, select board > sanguino, select burn bootloader > USBtinyISP and wait 5 to 10 minutes. I didn't think it would take that long but I resisted the urge to unplug it and try again. It worked the very first time with patience.

I just burnt a bootloader on a fresh chip! Now I can plug in the USB to TTL cable like this:



and burn some firmware. I successfully uploaded the blink program to the ATmega644P chip before writing this.

I hope this is of use to someone.

97 comments:

  1. Very interesting blog with Chip Level Repairing with the neat images described here in an understanding way of using the tools, very useful site. I feel strongly about it and love learning more on this topic. Chip Level Training in Hyderabad

    ReplyDelete
  2. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
    Best Data Science Courses in Bangalore

    ReplyDelete
  3. Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.
    Ethical Hacking Training in Bangalore

    ReplyDelete
  4. What a really awesome post this is. Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up.
    Data Science Course in Bangalore

    ReplyDelete
  5. Cool stuff you have and you keep overhaul every one of us.

    Data Science Course

    ReplyDelete
  6. Great advice and very easy to understand. It will definitely come in handy when I get the chance to start my blog.

    Data Science Courses

    ReplyDelete
  7. Hello! I just want to give a big thank you for the great information you have here in this post. I will probably come back to your blog soon for more information!

    Data Science Certification

    ReplyDelete
  8. It would also motivate almost everyone to save this webpage for their favorite helper to help get the look published.

    Business Analytics Course in Bangalore

    ReplyDelete
  9. Just a shine from you here. I have never expected anything less from you and you have not disappointed me at all. I guess you will continue the quality work.

    Data Analytics Course in Bangalore

    ReplyDelete
  10. I have to search sites with relevant information ,This is a
    wonderful blog,These type of blog keeps the users interest in
    the website, i am impressed. thank you.
    Data Science Training in Bangalore

    ReplyDelete
  11. Truly incredible blog found to be very impressive due to which the learners who ever go through it will try to explore themselves with the content to develop the skills to an extreme level. Eventually, thanking the blogger to come up with such an phenomenal content. Hope you aarrive with the similar content in future as well.

    Digital Marketing training

    ReplyDelete
  12. It was a wonderful opportunity to visit this type of site and I am happy to hear about it. Thank you very much for giving us the opportunity to have this opportunity. PMP Certification in Hyderabad

    ReplyDelete
  13. i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me Water Softener

    ReplyDelete
  14. Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking 토토사이트

    ReplyDelete
  15. I truly like you're composing style, incredible data, thankyou for posting 메이저토토사이트

    ReplyDelete
  16. I am genuinely thankful to the holder of this web page who has shared this wonderful paragraph at at this place windshield crack repair

    ReplyDelete
  17. Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work dental implants tijuana

    ReplyDelete
  18. Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job seo tijuana

    ReplyDelete
  19. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. real estate broker wakefield

    ReplyDelete
  20. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. courtier immobilier wakefield

    ReplyDelete
  21. The post is written in very a good manner and it contains many useful information for me. elementi fire pit

    ReplyDelete
  22. I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job! studio yoga tribe gatineau

    ReplyDelete
  23. I have been checking out a few of your stories and i can state pretty good stuff. I will definitely bookmark your blog freelancer malta

    ReplyDelete
  24. I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business Pergola

    ReplyDelete
  25. I found useful information on this topic as Now i'm focusing on a company project. Thank you posting relative information and its currently becoming easier to complete this project video production agency in baltimore

    ReplyDelete
  26. I am incapable of reading articles online very often, but I’m happy I did today.  It is very well written, and your points are well-expressed.  I request you warmly, please, don’t ever stop writing shipping from china

    ReplyDelete
  27. Thanks for picking out the time to discuss this, I feel great about it and love studying more on this topic. It is extremely helpful for me. Thanks for such a valuable help again. 먹튀검증업체

    ReplyDelete
  28. The Data Scientist Certification Programme is one of the most comprehensive Data Science Course in Bangalore. It is specially designed to suit both data professionals and beginners who want to make a career in this fast-growing profession. Over 6 months, students will learn key techniques such as Statistical Analysis, Regression Analysis, Data Mining, Machine Learning, Forecasting and Text Mining, and tools such as Python and R Programming.

    ReplyDelete
  29. Actually I read it yesterday but I had some ideas about it and today I wanted to read it again because it is so well written.

    Business Analytics Course

    ReplyDelete
  30. I really enjoy every part and have bookmarked you to see the new things you post. Well done for this excellent article. Please keep this work of the same quality.
    Artificial Intelligence course in Chennai

    ReplyDelete
  31. Thanks for posting the best information and the blog is very helpful.artificial intelligence course in hyderabad

    ReplyDelete
  32. A very awesome blog post. We are really grateful for your blog post. combat, law enforcement You will find a lot of approaches after visiting your post.출장안마

    I was exactly searching for. Thanks for such post and please keep it up. Great work

    ReplyDelete
  33. dependably manufacture astonishing entities That's a really good piece of data. Amazing토토존보증업체

    ReplyDelete
  34. We are linking to this great post on our website 안전사이트

    ReplyDelete
  35. I am a new user of this site, so here I saw several articles and posts published on this site, I am more interested in some of them, hope you will provide more information on these topics in your next articles.
    data analytics training in bangalore

    ReplyDelete
  36. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course fees in bangalore

    ReplyDelete
  37. I really enjoyed reading your blog. It was very well written and easy to understand. Unlike other blogs that I have read which are actually not very good. Thank you so much!

    Data Science Training in Bangalore

    ReplyDelete
  38. An extraordinary blog filled with amazing content which no one has touched on this subject before. Thanking the blogger for all the terrific efforts put in to develop such awesome content. Expecting to deliver similar content further too and keep sharing as always.

    Machine Learning Course in Bangalore

    ReplyDelete
  39. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging endeavours.
    data science certification in bangalore

    ReplyDelete
  40. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Training in Chennai

    ReplyDelete
  41. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    data scientist course in bangalore

    ReplyDelete
  42. I have voiced some of the posts on your website now, and I really like your blogging style. I added it to my list of favorite blogging sites and will be back soon ...
    Best Data Science Courses in Bangalore

    ReplyDelete
  43. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    digital marketing courses in hyderabad with placement

    ReplyDelete
  44. WOW just what I was searching for. Came here by searching
    for snow online

    my weblog: 오피사이트
    (jk)

    ReplyDelete
  45. Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.

    data science course in varanasi

    ReplyDelete
  46. Nice to be seeing your site once again, it's been weeks for me. This article which ive been waited for so long. I need this guide to complete my mission inside the school, and it's same issue together along with your essay. Thanks, pleasant share.
    Data Science training in Bangalore

    ReplyDelete
  47. Hello to all, how is everything, I think every one is
    getting more from this site, and your views are good for new visitors.
    출장안마

    ReplyDelete
  48. Thanks for posting the best information and the blog is very important.data science course in Lucknow

    ReplyDelete
  49. Really impressed! Everything is a very open and very clear clarification of the issues. It contains true facts. Your website is very valuable. Thanks for sharing.

    Digital Marketing Training in Bangalore

    ReplyDelete
  50. You have completed certain reliable points there. I did some research on the subject and found that almost everyone will agree with your blog.

    Business Analytics Course

    ReplyDelete
  51. It's like you've got the point right, but forgot to include your readers. Maybe you should think about it from different angles.


    Best Data Science Courses in Bangalore

    ReplyDelete
  52. You have completed certain reliable points there. I did some research on the subject and found that almost everyone will agree with your blog.

    Best Cyber Security Training Institute in Bangalore

    ReplyDelete
  53. Very good message. I came across your blog and wanted to tell you that I really enjoyed reading your articles.


    Best Ethical Hacking Institute in Bangalore

    ReplyDelete
  54. Really nice and interesting post. I was looking for this kind of information, enjoyed reading this one thank you.
    Artificial Intelligence Companies in Bangalore

    ReplyDelete
  55. Really impressed! Everything is a very open and very clear clarification of the issues. It contains true facts. Your website is very valuable. Thanks for sharing.

    Data Scientist Training in Bangalore

    ReplyDelete
  56. Amazing knowledge and I love to share this kind of information with my friends and hope they like it, why I am doing it.

    Data Scientist Course in Nagpur

    ReplyDelete
  57. I like to view your web site which is very useful and excellent resource and truly adored reading your posting. Thank you!
    Data Science Course in Gurgaon

    ReplyDelete
  58. Very informative Blog! There is so much information here that can help thank you for sharing.
    Data Analytics Course in Bangalore

    ReplyDelete
  59. This is an informative and knowledgeable article. therefore, I would like to thank you for your effort in writing this article.
    Data Scientist Course in Lucknow

    ReplyDelete
  60. This is a great inspiring blog.You have shared really very helpful information thank you.
    Data Scientist Course in Amritsar

    ReplyDelete
  61. The blog and data is excellent and informative as well your work is very good and I appreciate well hopping for some more informative posts.
    Business Analytics Course in Gurgaon

    ReplyDelete
  62. Really impressed! Everything is a very open and very clear clarification of the issues. It contains true facts. Your website is very valuable. Thanks for sharing.

    Best Data Analytics Courses in Bangalore

    ReplyDelete
  63. I am hoping the same best effort from you in the future as well and in fact your creative writing skills has inspired me.
    Data Science Course near me

    ReplyDelete
  64. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine. Data Analytics Course in Vadodara

    ReplyDelete
  65. Very informative message! There is so much information here that can help any business start a successful social media campaign!

    Data Analytics Course in Kolkata

    ReplyDelete
  66. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. Keep up the good work. Waiting for your next article
    Mlops Training

    ReplyDelete
  67. Diesel Brothers offer different types of services, Truck and Trailer , Reefer, Truck Alignment, Roadside Assistance, and APU.

    Tire repair near me
    Truck towing near me

    ReplyDelete
  68. This printer prints with high definition reverse technology printing. The results are a higher quality print than the standard direct to card printer. renting impresoras

    ReplyDelete
  69. There is obviously a lot to know about this. I think you made some good points in Features also. Great job!
    Data Science Course in Jalandhar

    ReplyDelete
  70. Winrar Crack Complete Edition presents a graphical interface that utilizes mouse and menu and command line interface. WinRAR key is simpler to implement than a great many other archiving software packages, by way of example

    ReplyDelete
  71. With decision making becoming more and more data-driven, learn the skills necessary to unveil patterns useful to make valuable decisions from the data collected. Also, get a chance to work with various datasets that are collected from various sources and discover the relationships between them. Ace all the skills and tools of Data Science and step into the world of opportunities with the Best Data Science training institutes in Bangalore.

    Data Science Course in Jaipur

    ReplyDelete
  72. K-Nearest Neighbour (KNN) algorithm is one of the uncomplicated ML algorithms based on the Supervised Learning Technique. It assumes the similarities between the new and available data and categorizes them based on pre-existing groups while storing all the available data. KNN incorporates a data point based on similarities of new and old data. It is used for both regression and classification of data, but the latter is used frequently. To learn more about KNN start your Data Science training today with 360DigiTMG.


    Business Analytics Course in Jodhpur

    ReplyDelete
  73. Learn the fundamentals of Data Science and master the skills to handle epic amounts of data collected by organizations today. Gain expertise in organizing, analyzing, and transforming data to uncover its hidden power. Drive your career forward with a Data Science course in Bangalore and learn to uncover insights to present critical findings using visualization tools. Not only this, avail the best-in-class content delivered by stellar faculty who use a blended approach of theory as well as practical knowledge to ensure all the concepts are crystal clear.


    Data Science Training in Delhi

    ReplyDelete
  74. it is actually a capably investigated content and super phrasing. I were given consequently connected on this texture that I couldnt stand by considering. i'm intrigued while your capability and dogfight out-stroke. much appreciated. Avast VPN Crack

    ReplyDelete
  75. I gather that is an enlightening make seen and it's miles concurred critical and learned. thusly, I could related with to thank you for the moves which you have made recorded as a printed duplicate this text. the substance material is all around that truly matters, incredibly examined. much appreciation to you... Spyhunter 5 Crack

    ReplyDelete
  76. Today on this special day of Christmas I want to wish you with a great life ahead as you are the one who had filled my life with lots of love and life!! Wishing Christmas MSG To Loved Ones

    ReplyDelete