On 05.06.2009 17:08, Urja Rannikko wrote:
On Fri, Jun 5, 2009 at 17:55, Carl-Daniel Hailfinger wrote:
Which serial protocol are we talking about?
The serial protocol between the (yet not existing) in-flashrom external serial programmer driver (summoned with eg. "flashrom -p serialprog=/dev/ttyS0,115200") and the ATmega168 (i originally had an mega88) that goes on the RS-232 cable.
Ah OK. The meaning of "serial protocol" was not clear to me. I thought you meant a SPI variant.
The point being that i want to be able to change the ATmega168 to the next cool programmer somebody creates without changing the flashrom part of the software, so i want to make a device-independent protocol.
That would be neat.
I actually have an ATmega328 with an ethernet interface (ENC28J60), so i thought that the next programmer i make might be ethernet based instead of serial, but with the same protocol.
The turnaround times are probably similar to serial for single commands, but I am pretty excited by this prospect.
Regards, Carl-Daniel