ArduinoISP combined with a software Serial RX TX module
I am looking for a software (reliable and well documented) that once uploaded into Arduino Uno transforms the board in both an ISP programmer (like ArduinoISP) and a serial relay that transmits data between a Serial Monitor installed on the Laptop and the target avr.
I would like two of Ardunion Uno's ISP lines to act also as RX, TX when Arduino Uno receives a command from the Serial Monitor to change its behavior from an ISP programmer to a Serial Relay. There should also be an opposite command that will turn back Arduino Uno into an ISP programmer.
Computer running avrdude and Serial Monitor --->>--- USB cable --->>--- Arduino Uno [SS, MOSI (RX), MISO (TX), SCK] --->>--- 4 wires ISP --->>--- [Reset, MOSI (TX), MISO (RX), SCK] target AVR
Reason I need such a hybrid ISP/serial rx, tx
I use avrdude, in conjunction with Arduino Uno loaded with ArduinoISP, to flash various AVRs mounted on breadboards. My target AVRs are programmed with code that transmits / receives data on software Serial tx, rx. I am running out of pins and I do not want to use more than 4 connections for both serial and ISP data links. Also I do not like to change wiring configuration between programming the target AVR and talking on softwareSerial with it.
Your TinyISP software needs a good Tutorial (like this one) for using it as: (1) ISP Programmer, (2) Serial Relay Tx, Rx, (3) Knock Bang protocol.
You have worked a lot at that TinyISP, which could be of great value, but forget the most important step, a good help page for it. Honestly, you code is like buried somewhere. There is no evidence that more than 10 people have ever tried to use it.