codedawg
Newbie level 5
I want to be able to rewrite the program stored in flash on my ATMega32 with a new program via a serial connection. Is there a way to do this without having to rely on a programmer? For example, could I write a program on the ATmega that when it gets a certain message on the serial port, the next series of data is the new program that I want to flash the device with? This way I can just send out a message to rewrite and send the hex file data and it should automatically rewrite. Is this possible? Or should I invest in another microcontroller that handles whether incoming data on the serial port is a new program to rewrite on the atmega?