java.io.IOException: Input/output error in writeArray at gnu.io.RXTXPort.writeArray(Native Method) at gnu.io.RXTXPort$SerialOutputStream.write(RXTXPort.java:1124) at processing.app.Serial.write(Serial.java:511) at processing.app.Serial.write(Serial.java:534) at processing.app.SerialMonitor.send(SerialMonitor.java:85) at processing.app.SerialMonitor.access$100(SerialMonitor.java:29) at processing.app.SerialMonitor$2.actionPerformed(SerialMonitor.java:62) at javax.swing.JTextField.fireActionPerformed(JTextField.java:492) at javax.swing.JTextField.postActionEvent(JTextField.java:705) at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:820) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636) at javax.swing.JComponent.processKeyBinding(JComponent.java:2851) at javax.swing.JComponent.processKeyBindings(JComponent.java:2886) at javax.swing.JComponent.processKeyEvent(JComponent.java:2814) at java.awt.Component.processEvent(Component.java:6040) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668) at java.awt.Component.dispatchEventImpl(Component.java:4502) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
picocom -b 115200 /dev/ttyACM0
I'm confused as to exactly what is wrong with your Yun, can you give me this information? The picture at http://arduino.cc/en/uploads/Main/ArduinoYunFront_2.jpg will help identify the components I talk about below.1. Is the yellow "on" led lit?
2. Press the 32U4 rst button (the one near the large silver Ethernet connector, in the top left of the picture) two times quickly.Normally the red "led 13" will come on and pulsate (it stays on more than off, I call it breathing) and then the yellow "rx" led will blink once. Does this happen?
3. Press the WLAN rst button for 1-2 seconds (the one by the silver USB-A connector, in the bottom left of the picture).Normally the blue "WLAN" led will blink brightly while you hold the button down.Does this happen?
4. Press the YUN rst button (the one by the leds, in the bottom right of the picture).Normally the blue "USB" led will come on for a while (this one is not as bright as the WLAN led). Does this happen?Note that Linino will reset when you do this so the web interface, ethernet connections and WiFi connections will not operate until it completes which is more than 60 seconds.
5. We may need an Ethernet cable, do you have one or can you borrow one?This information will tell me the next steps...
#1 and your other answers tells me your Yun is powering up, this is good.
#2 this is good, your 32U4 side is up and working somewhat normally.The next steps depend on what OS you are running on your host computer, it seems you have a linux box available, what distro? If you are on Windows, let me know and we'll go from there, but if you are on linux do this on your host computer:2-a) run ls -l /dev/tty*>>ttysbefore in a terminal without the Yun attached, this will make a file with a list of all your ttys2-b)Plug in the Yun to a USB port, wait a few seconds and run ls -l /dev/tty*>>ttysafter2-c)attach the two files we just made (ttysbefore and ttysafter) to the forum post, there should be a new tty in there somewhere. On Ubuntu it would be something like /dev/ttyACM0.
#3 I wasn't clear in my instructions, I meant 1 to 2 seconds not 1/2 second, in any case hold the button a bit longer, if you hold it for more than 5 seconds it will cause your WiFi connection to reset which is not a bad thing so let's try that. Hold the button for around 10 seconds to be sure we go past 5 seconds and if the blue led flashes while you hold the button and flashes for a few seconds more after you release we will work from there.
#4 This sounds like #3 above won't work but try it anyway, I think your Linino side is down we'll work on getting it back up.
#5 We need to get #4 fixed for this to be useful, patience, we'll get there.
vado@ubuntu:~$ picocom -b 115200 /dev/ttyACM0picocom v1.4port is : /dev/ttyACM0flowcontrol : nonebaudrate is : 115200parity is : nonedatabits are : 8escape is : C-anoinit is : nonoreset is : nonolock is : nosend_cmd is : ascii_xfr -s -v -l10receive_cmd is : rz -vvTerminal ready
FATAL: term closedterm_exitfunc: reset failed for dev UNKNOWN: Input/output errorvado@ubuntu:~$
vado@ubuntu:~$ picocom -b 115200 /dev/ttyACM0picocom v1.4port is : /dev/ttyACM0flowcontrol : nonebaudrate is : 115200parity is : nonedatabits are : 8escape is : C-anoinit is : nonoreset is : nonolock is : nosend_cmd is : ascii_xfr -s -v -l10receive_cmd is : rz -vvFATAL: cannot open /dev/ttyACM0: No such file or directory