This post describes how to re-program the bootloader to the Macchina 1.0 or 1.1.
These instructions would only need to be followed if the bootloader needs to be reprogrammed for some reason. For example, if the microcontrollers are replaced, a clone is created, you really screwed something up, etc. The board ships with everything pre-programmed and ready to roll.
1. Grab one of these: "Atmel AVRISP mkII In-System Programmer (ATAVRISP2)" and plug it into your computer. Found here:
http://store.atmel.com/PartDetail.aspx?q=p:10500054#tc:description
2. Install "Atmel Studio". At time of this post, version 6.2 is the latest and greatest. Sorry, it is a huge application and we only use the programmer section for this. Yea, there are probably better options out there, but it works.
3. Launch the Application, under "Tools" select "Device Programming".
4. Under "Tool" in that menu, select "AVRISP mkII", Choose "ATmega16U2" under "Device", and hit "Apply".
5. Power the Macchina via USB and a power supply. We have noticed that using an external wall-wart type power supply works better than plugging into a computer. Connect the 6-PIN programming header to the corresponding header for the microcontroller as shown here:
6. Hit the "Read" button under "Device signature" - It should read out something like: 0x1E9489. If, so, that means we are communicating with the micro, and we can program the bootloader files.
7. Click on "Production File", and navigate to "16U2 production.elf" file, and downloaded here:
http://www.rechargecar.com/sites/default/files/16U2%20production.elf
8. Now we program the ATmega16U2: Check "Fuses" and "Lock bits" and hit "Program". It should looks something like this:
9. Next we program the ATmega2560:
Change connection as shown here:
10. Change the settings, select the new .elf file found here:
http://www.rechargecar.com/sites/default/files/2560%20production.elf
11. If everything looks like this, Hit "Program":
12. Lastly, we want to tell the microcontroller some specifics of the circuit including the clock speed.
The FUSES should be as follows:
EXT = FD
HIGH= D8
LOW = E0
Change these and hit Program! Now, you should be good to go.
Comments
Submitted by ZooneZoone on Sun, 12/19/2021 - 09:21 Permalink
I would like to say that this
I would like to say that this blog really convinced me to do it! Thanks, very good post. Hunting And Tactical Sling Bag
Submitted by ZooneZoone on Sun, 12/19/2021 - 13:48 Permalink
Wow, cool post. I'd like to
Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. Aluminium ramen en deuren
Submitted by ZooneZoone on Sun, 12/19/2021 - 13:51 Permalink
You there, this is really
You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. Warmtepomp Lummen
Submitted by ZooneZoone on Sun, 12/19/2021 - 13:54 Permalink
Great job for publishing such
Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing Zonnepanelen Asse
Submitted by ZooneZoone on Sun, 12/19/2021 - 13:58 Permalink
Great post but I was
Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance! Aluminium ramen deuren
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:01 Permalink
Outstanding article! I want
Outstanding article! I want people to know just how good this information is in your article. Your views are much like my own concerning this subject. I will visit daily your blog because I know. It may be very beneficial for me. Warmtepomp Sint-truiden
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:05 Permalink
Thanks for picking out the
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. Zonnepanelen Beersel
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:08 Permalink
I am unable to read articles
I am unable to read articles online very often, but I’m glad I did today. This is very well written and your points are well-expressed. Please, don’t ever stop writing. PVC ramen
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:11 Permalink
Thanks for the blog filled
Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. Warmtepomp Tongeren
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:14 Permalink
We are really grateful for
We are really grateful for your blog post. 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. Zonnepanelen Begijnendijk
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:17 Permalink
Fabulous post, you have
Fabulous post, you have denoted out some fantastic points, I likewise think this s a very wonderful website. I will visit again for more quality contents and also, recommend this site to all. Thanks. PVC ramen deuren
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:25 Permalink
The content is utmost
The content is utmost interesting! I have completely enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great, and your efforts are outstanding! Warmtepomp Wellen
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:28 Permalink
Excellent .. Amazing .. I’ll
Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. Zonnepanelen Bekkevoort
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:32 Permalink
Only strive to mention one's
Only strive to mention one's content can be as incredible. This clarity with your post is superb! Thanks a lot, hundreds of along with you should go on the pleasurable get the job done. PVC ramen en deuren
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:35 Permalink
I'm glad I found this web
I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. Warmtepomp Zonhoven
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:38 Permalink
I am thankful to you for
I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. Zonnepanelen Bertem
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:41 Permalink
Im no expert, but I believe
Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that. Houten ramen
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:54 Permalink
What a thrilling post, you
What a thrilling post, you have pointed out some excellent points, I as well believe this is a superb website. I have planned to visit it again and again. Warmtepompen
Submitted by ZooneZoone on Sun, 12/19/2021 - 14:57 Permalink
Very useful post. This is my
Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. Zonnepanelen Bever
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:00 Permalink
Excellent to be visiting your
Excellent to be visiting your blog again, it has been months for me. Rightly, this article that I've been served for therefore long. I want this article to finish my assignment within the faculty, and it has the same topic together with your article. Thanks for the ton of valuable help, nice share. Houten ramen en deuren
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:13 Permalink
Your blog is too much amazing
Your blog is too much amazing. I have found with ease what I was looking. Moreover, the content quality is awesome. Thanks for the nudge! Warmtepomp installatie
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:16 Permalink
Superior post, keep up with
Superior post, keep up with this exceptional work. It's nice to know that this topic is being also covered on this web site so cheers for taking the time to discuss this! Thanks again and again! Zonnepanelen Bierbeek
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:33 Permalink
I can’t believe focusing long
I can’t believe focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material without a doubt. It is one of the greatest contents. Houten ramen deuren
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:36 Permalink
Excellent website! I adore
Excellent website! I adore how it is easy on my eyes it is. I am questioning how I might be notified whenever a new post has been made. Looking for more new updates. Have a great day! Warmtepomp
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:39 Permalink
Wow! This could be one of the
Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. Zonnepanelen Boortmeerbeek
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:42 Permalink
I know this is one of the
I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help. Zonnepanelen
Submitted by ZooneZoone on Sun, 12/19/2021 - 15:45 Permalink
Best work you have done, this
Best work you have done, this online website is cool with great facts and looks. I have stopped at this blog after viewing the excellent content. I will be back for more qualitative work. Warmtepomp installateur
Submitted by saniya khatri on Mon, 12/20/2021 - 02:52 Permalink
A decent blog dependably
A decent blog dependably concocts new and energizing data and keeping in mind that understanding I have feel that this blog is truly have each one of those quality that qualify a blog to be a one. يلا كورة
Submitted by ZooneZoone on Mon, 12/20/2021 - 08:12 Permalink
Efficiently written
Efficiently written information. It will be profitable to anybody who utilizes it, counting me. Keep up the good work. For certain I will review out more posts day in and day out. 오피아트
Submitted by ZooneZoone on Wed, 12/29/2021 - 18:59 Permalink
I am impressed. I don't think
I am impressed. I don't think Ive met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here. best minecraft servers
Submitted by saniya khatri on Fri, 12/31/2021 - 08:46 Permalink
You have done a amazing job
You have done a amazing job with you website satta
Submitted by saniya khatri on Tue, 01/04/2022 - 09:05 Permalink
stunning, great, I was
stunning, great, I was wondering how to cure skin break out ordinarily. likewise, found your site by google, took in an extraordinary arrangement, now i'm fairly clear. I've bookmark your site and moreover incorporate rss. keep us invigorated. Infinix S5 Pro (48+40) Price
Submitted by adeolu on Wed, 01/05/2022 - 13:45 Permalink
This content is simply
This content is simply exciting and creative. I have been deciding on a institutional move and this has helped me with one aspect. best pool sticks
Submitted by saniya khatri on Fri, 01/07/2022 - 08:39 Permalink
On this page, you'll see my
On this page, you'll see my profile, please read this data. satta
Submitted by adeolu on Sat, 01/08/2022 - 06:38 Permalink
I use basically superior
I use basically superior fabrics : you will discover these products by: click this link here now
Submitted by ZooneZoone on Sat, 01/08/2022 - 10:30 Permalink
Thanks for the blog filled
Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. 안전놀이터
Submitted by ZooneZoone on Sat, 01/08/2022 - 10:55 Permalink
I admire this article for the
I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. 먹튀폴리스
Submitted by ZooneZoone on Sat, 01/08/2022 - 11:02 Permalink
Thanks for an interesting
Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. 토토사이트
Submitted by ZooneZoone on Sat, 01/08/2022 - 11:07 Permalink
The content is utmost
The content is utmost interesting! I have completely enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great, and your efforts are outstanding! 토토사이트
Submitted by ZooneZoone on Sat, 01/08/2022 - 11:12 Permalink
I am thankful to you for
I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. 먹튀검증
Submitted by ZooneZoone on Sat, 01/08/2022 - 11:17 Permalink
What a sensational blog! This
What a sensational blog! This blog is too much amazing in all aspects. Especially, it looks awesome and the content available on it is utmost qualitative. 안전놀이터
Submitted by saniya khatri on Tue, 01/11/2022 - 06:56 Permalink
I wanted to thank you for
I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post matka
Submitted by saniya khatri on Tue, 01/11/2022 - 10:57 Permalink
If you want to play bus games
If you want to play bus games, then click on the link. bus game
Submitted by saniya khatri on Fri, 01/14/2022 - 10:49 Permalink
A decent blog dependably
A decent blog dependably concocts new and energizing data and keeping in mind that understanding I have feel that this blog is truly have each one of those quality that qualify a blog to be a one. satta matka
Submitted by ZooneZoone on Sat, 01/15/2022 - 15:35 Permalink
You made such an interesting
You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... Zonnepanelen Dessel
Submitted by ZooneZoone on Sat, 01/15/2022 - 15:40 Permalink
Thank you because you have
Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. Zonnepanelen Haacht
Submitted by ZooneZoone on Sat, 01/15/2022 - 15:44 Permalink
This is a smart blog. I mean
This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Ramen en deuren Holsbeek
Submitted by ZooneZoone on Sat, 01/15/2022 - 15:46 Permalink
Thanks for another excellent
Thanks for another excellent post. Where else could anybody get that type of info in such an ideal way of writing? In my opinion, my seeking has ended now. Zonnepanelen Halle
Submitted by ZooneZoone on Sat, 01/15/2022 - 15:48 Permalink
Outstanding article! I want
Outstanding article! I want people to know just how good this information is in your article. Your views are much like my own concerning this subject. I will visit daily your blog because I know. It may be very beneficial for me. Ramen en deuren Wilsele
Submitted by ZooneZoone on Sat, 01/15/2022 - 15:51 Permalink
Yes, I am entirely agreed
Yes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. Zonnepanelen Herent
Pages