I found this thread: http://arduino.cc/forum/index.php/topic,64612.0.html but the files it uses are no longer available.
Anyone know of any other way to do this?
Thanks.
I found this thread: http://arduino.cc/forum/index.php/topic,64612.0.html but the files it uses are no longer available.
Anyone know of any other way to do this?
Thanks.
What is going to be used for?
lasivian:
I found this thread: http://arduino.cc/forum/index.php/topic,64612.0.html but the files it uses are no longer available.Anyone know of any other way to do this?
There lots of ways to use the ATmega644/ATmega1284, for hardware see:
For software there's a few active repositories where you can find bootloaders, code to use to make the board compatible with the Arduino IDE and also examples:
stevemarple:
lasivian:
I found this thread: http://arduino.cc/forum/index.php/topic,64612.0.html but the files it uses are no longer available.Anyone know of any other way to do this?
There lots of ways to use the ATmega644/ATmega1284, for hardware see:
- Calunium (Stripboard version)
- Calunium (PCB version)
- Maniacbug's breadboard version
- Crossroads's Bobuino
- Adilinden's PCB
For software there's a few active repositories where you can find bootloaders, code to use to make the board compatible with the Arduino IDE and also examples:
I think he is looking for software, not hardware.
There are several bootloaders that will work, provided your "sketch" is smaller than 64K. I know, not very helpful. You can have a look at www.chip45.com. He has free bootloaders for a whole bunch of AVR processors, including the 1284P. He even has different versions for each UART on the multi UART chips. Also free is a GUI app (Windows, mac and a text app for Linux) for uploading the file.
This bootloader is not compatible with AVRDUDE, so you'll have to use his programs for uploading.
This all said, I am having a small problem with his bootloaders. On occasion, it will claim that the app was uploaded successfully, when in fact it was not. I don't know if this is a problem related to my hardware of a problem with his bootloader. His free bootloader does not verify the app that was just uploaded.
He is working on a commercial grade bootloader, but it won't be out for some time.
That chip45 outfit seems to have some nice and unique hardware modules and the bootloader and windows GUI for uploading hex files looks pretty nice. I've downloaded the files and will maybe play with them in the future. Please keep us posted on your further experiences with their bootloader. Auto baudrate detection, proper WDT handling, among other features.
I already have a windows GUI front end program that drives AVRDUDE so don't have an immediate need, but their bootloader sure seems to be a swiss army knife for features and all the various chips they have pre-compiled for.
Lefty
smeezekitty:
What is going to be used for?
I'm trying to upgrade from a 644p in a Sanguino-based device, a Sanguinololu for 3D printer control to increase my capacity.
And I must admit I'm a total software novice.
I really should just sit down and fix the boot loader I modified. Actually, if I don't find one in the next few weeks, I won't have a choice.
It looks like
GitHub - maniacbug/mighty-1284p: Mighty 1284P Platform for Arduino
Will work at other CPU rates.
But I cannot test it.
The board is already setup for 16mhz unfortunately.
lasivian:
The board is already setup for 16mhz unfortunately.
I fail to see why that would be an issue.
smeezekitty:
lasivian:
The board is already setup for 16mhz unfortunately.I fail to see why that would be an issue.
As I already said, I'm a total newbie, but I would presume that an 8mhz bootloader would not run on a 16mhz device.
Frankly there is no "bootloaders for dummies" info out there
lasivian:
smeezekitty:
lasivian:
The board is already setup for 16mhz unfortunately.I fail to see why that would be an issue.
As I already said, I'm a total newbie, but I would presume that an 8mhz bootloader would not run on a 16mhz device.
Frankly there is no "bootloaders for dummies" info out there
Someone who is a dummy is not going to be writing a bootloader that actually works.
skyjumper:
Someone who is a dummy is not going to be writing a bootloader that actually works.
Exactly why I'm here groveling for information and assistance XD
The bootloader appears to use mathematical calculations for timing so the CPU frequency may not matter.
I have several custom boards with 1284Ps. The bootloader combination that worked best for me was the brewtroller software suite. Last time I checked, it wasn't yet up to Arduino 1.0 but you can download a customized version of the 0023 IDE that contains all the files to make these chips work.
You will, however, need the proper hardware to burn the bootloader. The Adafruit unit I have won't do the trick, the AVR MSKPII I bought later does.
Constantin:
I have several custom boards with 1284Ps. The bootloader combination that worked best for me was the brewtroller software suite. Last time I checked, it wasn't yet up to Arduino 1.0 but you can download a customized version of the 0023 IDE that contains all the files to make these chips work.You will, however, need the proper hardware to burn the bootloader. The Adafruit unit I have won't do the trick, the AVR MSKPII I bought later does.
What difference does the IDE make for the bootloader? Hardware to burn a boot loader is readily available, so that's not a big deal. I'll check that one out, thank you!
Skyjumper, nice to hear from you. Keep in mind that you'll likely forget more about these chips, etc. in a day than I'll ever know.
What made the Brewtroller suite a compelling sell for me was the seamless integration of all the required modifications to make a 1284P work with the Arduino IDE. I did have to learn some of the pin assignments but that's not a big deal. They have a complete IDE to download on their web-site, where all the Sanguino files are in the right places, all the core files have been modified to suit the 1284P, etc. It's the package to download, IMO.
So, I'm still using the 022 IDE for now, never upgraded to 023 because everything 'just works' as is. At some point in the future, the Brewtroller folk may upgrade their software releases to version 1.0 of the IDE. Similarly, Maniacbug appears to have cracked the bootloader nut also. As for me, even though I successfully burned a Brewtroller bootloader, the pain involved in switching to and fro in terms of programmers (ISP) made me decide to use my AVR ISP exclusively as a uploader. So I don't know if the bootloader works - but presume it does since it uploaded OK.
Constantin:
So, I'm still using the 022 IDE for now, never upgraded to 023 because everything 'just works' as is. At some point in the future, the Brewtroller folk may upgrade their software releases to version 1.0 of the IDE. Similarly, Maniacbug appears to have cracked the bootloader nut also. As for me, even though I successfully burned a Brewtroller bootloader, the pain involved in switching to and fro in terms of programmers (ISP) made me decide to use my AVR ISP exclusively as a uploader. So I don't know if the bootloader works - but presume it does since it uploaded OK.
Constantin, thanks for the kind words but I'm really not that much of an expert.
Maniacbug's bootloader actually has the same issue mine does, and apparently Optiboot also has, in that they can only program half the flash space. The Brewtroller package is something I need to look at, maybe tonight if I have time. If Brewtroller is a complete dev environment based upon the Arduino 22 version, then perhaps it uses AVRDUDE to talk to its boot loader. If so, then we should be able to make it work with the 22, 23 or 1.0 IDE. I'll see what I can figure out.
Have a look a the Chip45.com bootloader. I had issues with it, but I don't know if they are related to my hardware or a problem with the boot loader. Its free and it will program all the flash. It does not work with AVRDUDE but he includes a free GUI app for uploading HEX files. If you give it a try, after you upload the HEX file, double check to make sure the HEX file really got uploaded or at least test it to make sure its running correctly.
Okay I looked through the Brewtroller package. They do list the 1284P in their boards.txt file and there is a reference to a boot loader, but the actual bootloader does not appear. They have source for a few boot loaders including one for the ATMega1280, which has the same amount of flash as the 1284P. And they have bootloaders for several other processors. I also poked through the make files but didn't see an option to build a 1284.
I'll take a look at the source for the 1280 and see if it can be easily adapted to the 1284.
skyjumper:
I'll take a look at the source for the 1280 and see if it can be easily adapted to the 1284.
That would be very much appreciated