# Programming Atmega with serial port

Hey people, I need to program the ATmega8 chips via serial. I understand that for doing that I would need to install a bootloader on the chip. And to install a bootloader, I would need a parallel port programmer. Am I right? Or can I just hookup the chip with an MAX232 to make a programmer? I am really confused right now. The best answer here would be a circuit.

UPDATE

He people I just found this http://www.qubbeks.puslapiai.lt/images/articles/AVR_programmer/avr_programatorius_schema.jpg. Do you think this is the kind of circuit which won't require any bootloading?

-
Here is another good source of information about different ways to program AVRs: elm-chan.org/works/avrx/report_e.html –  Louis Davis Feb 18 '11 at 13:15

Then use uniprof program to flash your AVR. I personally used that.

-
Any way I can avoid those diodes and resistors? MAX232 does what this is trying to achieve right? BTW, what are the arrows on the left indicating? –  Rick_2047 Feb 18 '11 at 12:29
Yes, it is possible to do that using max232, but I don't have scheme nearby. This particular scheme does very rough voltage level conversion, max232 is much better. –  BarsMonster Feb 18 '11 at 12:31
Also, what is uniprof? Couldn't find anything about it. See the schematic I posted in my update. That good enough? –  Rick_2047 Feb 18 '11 at 12:35

Honestly, and I mean no offense here, but if I were you I would save myself the impending headaches and wasted time, buy an AVRISP mkII for $30, and be done with it! -$10 is my weekly allowance. –  Rick_2047 Feb 19 '11 at 10:57
fair enough, so you have something to save up for! –  vicatcu Feb 19 '11 at 13:30