Burn a bootloader on 32U4 help needed.

Our weekly LIVE video chat. Every Wednesday at 8pm ET!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Shayo
 
Posts: 12
Joined: Sat Jan 23, 2016 10:59 am

Burn a bootloader on 32U4 help needed.

Post by Shayo »

Hi,

I've been playing around with arduinos for some time, but never got into burning bootloaders (I always got ones that were already burned).

I recently got the mega32U4 breakout board, and I would like to burn a bootloader that would allow me to upload programs using the arduino IDE.

Can someone please take me through this step by step?
I have an arduino due at hand, and I understand that I should be able to use it as a programmer.

Let's start with these:
1. Which bootloader should I use? where can I download the hex file for it?
2. What is the sequence of steps needed to put the Due in programming mode?
3. How do I tell it to upload a specific hex file?

[FYI, I'm running on osx]

Thank you!

Shay

User avatar
Shayo
 
Posts: 12
Joined: Sat Jan 23, 2016 10:59 am

Re: Burn a bootloader on 32U4 help needed.

Post by Shayo »

I'll just add this.

I've tried to follow online tutorials, like this one:
http://g11l.com/content/loading-leonard ... 4-breakout

First, it seems like I can't upload the ArduinoISP to the Due.
OK. I switched to Arduino Nano that I had lying around. ISP programmer uploaded.
I then select "Arduino as ISP" for programmer. Keep the same port number I had for the Nano, but change board type to Leonardo. Then I hit Burn Bootloader, and I get this:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x01
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x10
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): unknown response=0x12
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

User avatar
joe3
 
Posts: 1
Joined: Wed Mar 09, 2016 3:34 pm

Re: Burn a bootloader on 32U4 help needed.

Post by joe3 »

I am having the exact same issue! Same error line for line.

Locked
Please be positive and constructive with your questions and comments.

Return to “Ask an Engineer! VIDEO CHAT (closed)”