Hi! I just got my IOIO OTG (geeetech) and I was really psyked to get started with this.
Unfortunately I am having some issues that I was hoping someone more experience could shed some light on. What I did first: 1. Ensured USB mode switch is set to A for automatic (I first rubbed the switch back and forth to ensure clean connectors and the made sure it was all the way in the A direction) 2. Download and install 50-ioio.rules udev rules (I am on Ubuntu 14.04 x64). 3. Rebooted to make sure udev rules were in effect. 4. Type this command in a terminal to have real-time information about when the IOIO device exists (updated every 100 ms): *watch -n.1 ls -halt /dev/IOIO** 5. Connect the IOIO-OTG to an USB port on the laptop What happens is the device shows up almost immediately. Good! Next I try to use ioiodude 1. Download and unzip latest (v1.02) ioiodude from here https://github.com/ytai/ioio/raw/master/release/apps/IOIODude-0102.zip 2. Open new terminal and go to ioiodude directory 3. Run command: *./ioiodude --port=/dev/IOIO0 versions* At this point I was *expecting* to see something like this: IOIO Application detected. Hardware version: SPRK0020 Bootloader version: IOIO0400 Application version: IOIO0330 But instead it just *hangs indefinitely* and nothing is output. I let it wait for 10 minutes just to be sure. Nothing. I verify that the /dev/IOIO0 softlink is still present and the /dev/ttyACM0 device is also still present. So next thing to try was bootloader mode. I did the following: 1. Disconnect USB cable and verify that the /dev/IOIO0 and /dev/ttyACM0 disappear 2. Put a jump wire from boot to gnd 3. Re-connect USB cable and verify that the green led is on and /dev/IOIO0 and /dev/ttyACM0 are still missing 4. Remove jump wire from boot to gnd 5. Verify that green led blinks a few times (5?) then goes off. Now in the documentation it states that the device should enumerate. It does but only for fractions of a second before disappearing again for many seconds and then flickering like this continuously (watch -n.1 made it possible to catch a glimpse of this). It was suggested in docs that if USB was flaky this could be due to bad timing and it would be possible to recalibrate the oscillator, so I tried that: 1. Disconnect USB cable and verify that the /dev/IOIO0 and /dev/ttyACM0 disappear 2. Put a jump wire from boot to gnd 3. Put a jump wire from pin1 to gnd 4. Re-connect USB cable and verify that the green led is on and /dev/IOIO0 and /dev/ttyACM0 are still missing 5. Remove jump wire from boot to gnd 6. I tried both leaving the pin1 to gnd and removing it at this point. It did not matter which way I tried. What happens now deviates somewhat from docs. Docs claim calibration would be indicated by a really quick blinking of the led, but the led is of for a few sec then it blinks the normal few (5?) times and then goes off again. After this it behaves just like the boot-loader mode described above with the flickering devices. I decided to try with the app instead and installed the latest IOIOManager.apk on my fully charged HTC One M7 running Lollipop something (Android 5). I use this device for regular android development so all dev stuff was enabled already. After selecting a file in the programmer it shows "Waiting for IOIO connection..." in yellow and does not allow me to continue. I have repeated this with minute variations for a long time now. I have tried 6 (!!) USB cables, the shortest of which is 8 cm. I have tried all 7 USB ports on my main laptop (Lenovo W700) and all 3 on my secondary laptop (Clevo top spec). Reboots were made and hair was pulled out. So what is the first thing I should do next when troubleshooting this? Thanks! -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
