I'm looking at using an ATMega1280 chip in a project, and I want to program it using the arduino IDE and code.
The thing is, I want to use it on a standalone PCB. Now, I understand the basics of making, say, a standalone ATMega328 circuit (And I assume a standalone 1280 wouldn't be much more complicated), but I don't know how to include some programming capability. Until recently (as I understand it), the FT232L chip was included in Arduinos just to turn the USB into a serial connection for the ATMega chip. Does that mean if I use a USB-to-TTL cable (Such as the 'USB to Serial TTL Cable' from CoolComponents, say) I can get rid of the usb chip and program the ATMega directly? I'm still slightly confused about what you'd do about the auto-reset and stuff, though. Ideas?
And on top of that, there's the issue of getting the bootloader on. Again, I know that for the Arduino 2009/Uno you can burn the bootloader via the USB if you use the Arduino IDE. So burning the bootloader to a 328 or whatever isn't such a big deal, as it's a plug-and-play chip anyway. But obviously the SMD 1280/2560 can't be bootloaded on a Mega board then slotted into my PCB. So the question is this - how can I build in bootloading AND programming ability to an ATMega1280/2560 standalone circuit? And is it possible to do all that via serial?
I've been doing electronics for a while, but microprocessors are quite new to me. If you'd rather direct me to some useful links than write an essay, I'd be very greatful.
I'll try and get a preliminary cct diagram up asap.
Many thanks Tom