Hello all,
I encounter a problem when trying to upload a sketch (even a simple or empty sample) in my ARDUINO MEGA 2560.
I'm able to do that on one computer, but not on my current laptop (Windows 7).
I do the follwing :
- the board 2560 is well recognized by Windows and appears as a COM28
- In the IDE, I correctly choose the board type ("Arduino/Guenino Mega or Mega2560"), then the processor ("Atmega 2560 (MEGA2560)", as read on the chip itself), and finally the Com port ("COM28 Arduino/Guenino Mega or Mega2560" in my case). That's all.
- when I read information from the IDE, all is OK and it returns right informations about the board, so it seems that the communication is OK.
But when I try to transfer the sketch to the board, the following messages appears and programming is not made. I also tried to perform a reset on the board with th dedicated switch.
Here are the messages :
Arduino : 1.8.5 (Windows 7), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Le croquis utilise 656 octets (0%) de l'espace de stockage de programmes. Le maximum est de 253952 octets.
Les variables globales utilisent 9 octets (0%) de mémoire dynamique, ce qui laisse 8183 octets pour les variables locales. Le maximum est de 8192 octets.
java.io.IOException: Cannot run program "C:\Users\Patrick\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/bin/avrdude": CreateProcess error=2, Le fichier spécifié est introuvable
- at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)*
- at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)*
- at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)*
- at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:207)*
- at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)*
- at processing.app.SketchController.upload(SketchController.java:713)*
- at processing.app.SketchController.exportApplet(SketchController.java:686)*
- at processing.app.Editor$DefaultExportHandler.run(Editor.java:2168)*
- at java.lang.Thread.run(Thread.java:748)*
Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable - at java.lang.ProcessImpl.create(Native Method)*
- at java.lang.ProcessImpl.(ProcessImpl.java:386)*
- at java.lang.ProcessImpl.start(ProcessImpl.java:137)*
- at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)*
- ... 8 more*
Une erreur est survenue lors du transfert du croquis
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.
Do someone has an idea ?