Serprog: Difference between revisions

From flashrom
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{#externalredirect: https://www.flashrom.org/supported_hw/supported_prog/serprog/overview.html}}")
Tag: Replaced
 
(104 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:serprog}}
{{#externalredirect: https://www.flashrom.org/supported_hw/supported_prog/serprog/overview.html}}
This page is a first draft only and serves to collect information about the serprog protocol and the programmers implementing it.
 
= Protocol =
 
See [http://flashrom.org/trac/flashrom/browser/trunk/serprog-protocol.txt serprog-protocol.txt] in the source tree. It is designed to be compact and allow efficient storage in limited memory of programmer devices.
 
There is a draft for an extension of the serprog protocol to SPI. FIXME: Link there.
 
= Hardware =
 
== AVR flasher by Urja Rannikko ==
 
[[File:Avr rs232 programmer.jpg|thumb|right|Prototype RS232 AVR parallel flash programmer]]
 
The [http://www.randomprojects.org/wiki/Prototype_RS232_AVR_parallel_flash_programmer Prototype RS232 AVR parallel flash programmer] Urja Rannikko was the first implementation of the serprog protocol.
 
FIXME: AVR source code is somewhere in the coreboot mailing list archives...
 
== AVR flasher by eightdot ==
 
FIXME: Link?
 
== Arduino Mega flasher by fritz ==
 
[http://www.flashrom.org/pipermail/flashrom/2010-May/003250.html]
[http://www.coldelectrons.com/blog/?page_id=165]
FIXME: More info?
 
== Arduino Uno flasher by GNUtoo ==
This flasher require the following hardware parts:
* An arduino uno
* some wires(optionally some connectors to solder on(for easier plugin and more reliability)
* a 10k resistor
* a flash chip to flash
=== Advantages and disadvantages ===
* While the speed isn't that great(less than 10 minutes for reading+writing+verifying a 1M chip), there is huge room for improvements in the source code.
* it is made of very commonly available parts(if you can find an arduino uno, you will be able to build it).
== InSystemFlasher by Juhana Helovuo ==
This is one uses a modified serprog version to talk to SPI devices via serial over USB. Details can be found in the [http://www.coreboot.org/InSystemFlasher coreboot wiki] and in this [http://www.coreboot.org/pipermail/coreboot/2011-February/063349.html coreboot mailing list thread].
 
== atmegaXXu2-flasher by Stefan Tauner ==
Like the InSystemFlasher this one uses LUFA on an AVR microcontroller to tunnel the serial data over USB. To be updated when flashrom's serprog module has the needed changes merged to do SPI communication.
[[File:atmegaXXu2-flasher.jpg|200px|thumb|right|atmegaXXu2-flasher with Pomona SOIC hook attached]]

Latest revision as of 09:04, 21 May 2024