After trying an extremly short example for using the mouse forgetting the mouse.end() command I have lost controll over my Esplora board.
Even the stated Workaround of Holding the reset button duing loading another Sketch doesn't work. It was stated that the processor would wait some 5 seconds before starting the existing Sketch to see if there are outstanding loads, ...
But exactly the second I take my finger from the reset button I loose Control over my PC mouse, so there is no time window to load a new Programm.
What can I do to get controll back? (By the way while you mention in your example on the Arduino hp that a mouse.end has to be used you example itself doesn't include the command ..)
So what can I do here besides buying a new Hardware?!
You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header; see these instructions for details.
Bumo:
But exactly the second I take my finger from the reset button I loose Control over my PC mouse, so there is no time window to load a new Programm.
Start the upload before releasing the button, then it won't matter if you lose control of the mouse because the upload will proceed anyway.
Hi,
I tried this before. While pressing the reset button on the Esplora I hit the -> button. Then I wait till the compilation is completed and the Status changes to downloading and I release the reset button on the Esplora.
From this poin on everything hangs "PC and Esplora" ... when I disconnect the Esplora e.g. one Minute later the PC Client Comes back with
Der Sketch verwendet 7426 Bytes (25%) des Programmspeicherplatzes. Das Maximum sind 28672 Bytes.
Globale Variablen verwenden 238 Bytes (9%) des dynamischen Speichers, 2322 Bytes für lokale Variablen verbleiben. Das Maximum sind 2560 Bytes.
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen.
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Gerät erkennt den Befehl nicht.
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Das Gerät erkennt den Befehl nicht.
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Gerät erkennt den Befehl nicht.
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "þ"; type = ¸
Software Version = ).