I am new in the forum. If the topic is not addressed correctly please tell me the correct address.
I tried to search for that topic but have not found a matching result.
I am working on my bachelor thesis about an Rubber Ducky, that is based on an Arduino Leonardo board at the moment.
The Rubber Ducky should run scripts like open text windows in a loop or shutdown the PC by connecting the Arduino Leonardo board.
My problem is, that I load the sketches via USB to the Arduino Leonardo at the moment and the sketch gets directly started after that. If I test now a shutdown script I cannot load a new sketch on the Arduino before it shuts my PC down .
I am seaching now for a solution where I can program the Arduino Leonardo from one PC and test the scetch on a second PC.
My idea is that I program the Arduino Leonardo via a second Arduino board over f.e. ISP instead of the direct USB connection.
So that I have a program Arduino, connected via USB to my programming PC and a target Arduino (Ardiono Leonardo - Rubber Ducky), that is connected via USB to my Test PC.
Is a setup like this possible? I have read that you can use a Arduino as bootloader but is there also an easy way to load sketches to a target Arduino board over a second Arduino.
If a second Arduin is not necessary for this setup I am also fine. I just have to find a way to load sketches on my Arduino Leonardo, test them on a second PC and load new sketches to my Arduino again (Without starting the sketch that is on the Arduino).
Thanks for your answers.