Hello all!
This is the resubmit of the uISP programmer support patch. A list of fixes follows:
* Proper protocol versioning support. * Programmer now reports its name, SPI speed and CPU frequency * Programmer now allows setting the SPI frequency. While now this is done using spi_freq=xxx parameter (in Khz) * Programmer can now have an arbitary number of SPI flashes attached (on different SPI buses) and even allows several instances of flashrom to work with each of these flashes at the same time (option idx=N specifies the bus number to use, default is 0). * Speed improvements due to minor optimizations in firmware. (2Mib flash read was 2m13s now is only 1m15s) * Firmware can now be easily extended to add hardware other than uISP, even based on other MCUs. * Code cleaned up * Firmware code reworked for better portability. Since it's based off antares, STM32 is the next target.
A full writeup with hardware pictures and nice benchmark graphs can be found in my blog here: http://ncrmnt.org/wp/2014/06/08/flashrom-benchmark-buspirate-vs-uisp/
Firmware source code can be found on github here: https://github.com/uISP/uisp-app-flashprog