electronique:ioio-otg
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
electronique:ioio-otg [07/12/2015 20:17] – créée cyrille | electronique:ioio-otg [07/12/2015 20:33] (Version actuelle) – cyrille | ||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
- | ===== Tips & Tricks ===== | ||
+ | ===== 1er pas, 1ers problèmes ===== | ||
+ | |||
+ | ==== Error updateLastError() for com.sun.jna.Native ==== | ||
+ | |||
+ | En exécutant la commande | ||
$ ./ioiodude --port=/ | $ ./ioiodude --port=/ | ||
- | IOIO Bootloader detected. | + | j' |
+ | Exception in thread " | ||
+ | at com.sun.jna.Native.initIDs(Native Method) | ||
+ | at com.sun.jna.Native.< | ||
+ | at com.sun.jna.NativeLong.< | ||
+ | at jtermios.linux.JTermiosImpl.< | ||
+ | at jtermios.JTermios.< | ||
+ | at purejavacomm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java: | ||
+ | at ioio.dude.SerialPortIOIOConnection.waitForConnect(Unknown Source) | ||
+ | at ioio.dude.IOIODudeMain.connect(Unknown Source) | ||
+ | at ioio.dude.IOIODudeMain.main(Unknown Source) | ||
+ | La solution que j'ai trouvé, sur la liste [[https:// | ||
+ | sudo apt-get autoremove libjna-java | ||
+ | ==== Mettre à jour le firmware de la IOIO-OTG ==== | ||
+ | |||
+ | D' | ||
+ | $ ./ioiodude --port=/ | ||
+ | IOIO Bootloader detected. | ||
+ | | ||
Hardware version: SPRK0020 | Hardware version: SPRK0020 | ||
Bootloader version: IOIO0400 | Bootloader version: IOIO0400 | ||
Platform version: IOIO0030 | Platform version: IOIO0030 | ||
+ | |||
+ | Programmation du firmware App-IOIO0500: | ||
+ | $ ./ioiodude --port=/ | ||
+ | Comparing fingerprints... | ||
+ | Fingerprint mismatch. | ||
+ | Writing image... | ||
+ | [######################################## | ||
+ | Writing fingerprint... | ||
+ | Done. | ||
+ | |||
+ | Et voilà la version 5 installée: | ||
+ | $ ./ioiodude --port=/ | ||
+ | IOIO Application detected. | ||
+ | | ||
+ | Hardware version: SPRK0020 | ||
+ | Bootloader version: IOIO0400 | ||
+ | Application version: IOIO0500 | ||
electronique/ioio-otg.1449515831.txt.gz · Dernière modification : 07/12/2015 20:17 de cyrille