Iduino Yun - can't upload sketch

Post Reply
Scott
Posts: 1
Joined: Thu Sep 15, 2016 4:46 am

Iduino Yun - can't upload sketch

Post by Scott »

I have an Iduino yun. I can log into the webpage and I can ssh in. But I can't upload sketches from the Arduino IDE.

1. I'm using the latest IDE
2. I can see the board port "Iduino at 192.168.1.19 Arduino Yun" on the IDE
3. The Iduino is configured for Arduino board (that's the base board I'm using) via the webpage
4. I have the board type selected in the Arduino IDE, and the hardware profile added so it reads "Arduino Uno --Iduino Yun" as board type.

When I try to upload, it asks for the password, then it sits there "uploading" for a long time, then spits out this error:

Code: Select all

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
processing.app.debug.RunnerException
	at cc.arduino.packages.uploaders.SSHUploader.uploadUsingPreferences(SSHUploader.java:144)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
	at processing.app.Sketch.upload(Sketch.java:1187)
	at processing.app.Sketch.exportApplet(Sketch.java:1160)
	at processing.app.Sketch.exportApplet(Sketch.java:1132)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2409)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.jcraft.jsch.JSchException: session is down
	at com.jcraft.jsch.Session.openChannel(Session.java:843)
	at cc.arduino.packages.ssh.SSH.execSyncCommand(SSH.java:59)
	at cc.arduino.packages.ssh.SSH.execSyncCommand(SSH.java:51)
	at cc.arduino.packages.uploaders.SSHUploader.runUploadTool(SSHUploader.java:158)
	at cc.arduino.packages.uploaders.SSHUploader.uploadUsingPreferences(SSHUploader.java:135)
	... 6 more
Any suggestions?

Thanks,
Scott
User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Iduino Yun - can't upload sketch

Post by William »

Hi,Scott
Have you done all of this yet?
QQ截图20160918105505.jpg
QQ截图20160918105505.jpg (29.9 KiB) Viewed 4242 times
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!
Post Reply