Hi All, I have been searching for days on how I could possibly use the Arduino IDE to compile a sketch that I could upload to one of several ATMega128 dev boards I have. I'm not too concerned about a bootloader at this time (there are some complications with that I can go into later) but the main thing I am after is to be able to compile a hex file that can upload manually onto it.
I've been searching for days and have found quite a few good links, but mostly related to other mcu's, just not this one. I thought I would log in here tonight and finally just ask around and in searchin in here I actually found some good posts. The best reference I have found specifically to the ATMega128 was at http://avr-developers.com/ but this is quite dated and I didn't want to go copying and pasting files in that I think are for a much older version of the arduino ide.
I did copy out a block of code related to the arduino amber into boards.txt (and edited it for my crystal) but I get an arduino.h error in that pins_arduino.h isn't found. I don't want to copy across pins_arduino.h from the new source, mainly because it's so much older and I don't want to stuff anything up.
If someone could point me in the right direction I would appreciate it.
for a little extra reading: regarding the bootloader, I am using an AVRISP (not MKII) and it works fine under windows, AVRStudio4 can read and write to the ATMega128 no problems, however after having installed various drivers (which I am confident are correct) I can't get it to register with Arduino under Mac OSX. I continue to get an avrdude/stk500 error the programmer could not be found. I am happy to work thru this one at a later time, but if someone has ideas, that would appreciated as well!
thanks Dave