I have some boards made by ETT, a couple ATMega128's and an ATMega2560 which I want to program with the Arduino IDE since I also use Arduino Mega2560 and Mini-pros and the core software will be the same for all the boards.
Is it possible to program these boards using the ISP without installing a bootloader? I see ISP as a choice in the Programmer menu.
I assume I can select the Mega2560 in the menu for the ATMega2560 board, how do I set it up for the ATMega128?
Is it possible to program these boards using the ISP without installing a bootloader? I see ISP as a choice in the Programmer menu.
To program a non-Arduino board with ISP from the GUI and without a bootloader, you need a boards.txt file to tell AVRDUDE how to handle the uC. Take a look at the 1284 boards.txt file that I use with my Mighty 1284P board:
The other caveat is that AVRDUDE must understand the uC target processor, for example :
bobuino.build.mcu=atmega1284p
and
You must have the correct fuses for the uC to match the hardware; that is, crystal, resonator, speed, etc. http://www.engbedded.com/fusecalc/
So, you select the board type, select the programmer, and use File/Upload Using Programmer. No bootloader required, so in that case, these two lines would be optional.
ted1191:
Is it possible to program these boards using the ISP without installing a bootloader? I see ISP as a choice in the Programmer menu.
Yes, in the same way you can program official Arduino boards w/o a bootloader. Or, you can burn the bootloader onto them and upload sketches via serial. The bootloader isn't a special ingredient to Arduino-branded boards, but it does require compatibility with the target AVR chip. That's really not much of a limitation in practice. If there isn't a compatible bootloader, you will probably need to track down (or write) an appropriate core library to support the new target's specific hardware features anyway.
If I understand this correctly the settings and SW for the Arduino MEGA2560 should work for the ATMEGA2560 board for either the ISP as is or serial if the MEGA2560 bootloader is installed. It'll be a few days before I can set up a test.
I haven't seen anything to support the ATMEGA128 as an Arduino platform. Since I only have two of those boards I'll not be tackling the task of developing the support.
I haven't seen anything to support the ATMEGA128 as an Arduino platform. Since I only have two of those boards I'll not be tackling the task of developing the support.
I haven't seen anything to support the ATMEGA128 as an Arduino platform. Since I only have two of those boards I'll not be tackling the task of developing the support.