Go Down

Topic: Arduino ATmega1284p bootloader (Read 8 times) previous topic - next topic

php-freak

Hi,

I ordered the 1284p a few days ago and I would now burn a bootloader to chip. I only have the Arduino Mega 2560 and the Arduino UNO. Is there any good tutorial how to do that? I read a lot about this but nothing really helps...

Thank you very much!

PS: Sorry for my bad english ;-)


spcomputing

Another good one is Nick's programmer:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=11635&page=1

It is very fast.  What kind of clock are you going to use (Crystal, Resonator or Internal)?

php-freak

Sorry for the late reply, it took some time to get all the components...

Thank you for the latest link. i was able to flash a bootloader to my 1284p. Now I want to upload some code but it fails.

Here is a picture where you can see my setup:

https://www.dropbox.com/s/llqm0x68c8m4aeo/20130106_205943.jpg

I bought a cheap FTDI programmer but it should do the work. I get this error: avrdude: stk500_getsync(): not in sync: resp=0x00

I selected the Mighty 1284p, 16MHz using Optiboot as board and Arduino as ISP as programmer.

Thank you very much for your help!

retrolefty

#4
Jan 06, 2013, 10:00 pm Last Edit: Jan 06, 2013, 10:04 pm by retrolefty Reason: 1
What programmer you select is not revelant in the normal uploading the IDE uses. What you have to do is make sure you select the proper com port number for the FTDI uses in the tools menu. Fix that first and then if it still doesn't work you may have rec and tx wires reversed on the FTDI to 1284p chips, reverse them and try again.

Lefty

Go Up