That confirms that there's no problem on the IOIO firmware side (and that
you have v5.00 firmware installed) as well as that the host has all the
drivers configured correctly. So the problem is now confined to PJC/JNA,
most likely JNA according to the nature of the exception.
Since we're close by, I can try to debug this whenever you have some time
and can spare your machine :)

On Tue, Oct 7, 2014 at 11:56 AM, Jason Holt <[email protected]> wrote:

> $ screen /dev/IOIO0
> IOIOSPRK0020IOIO0400IOIO0500
>
> IOIODude-0102.zip
>
> On Mon, Oct 6, 2014 at 9:52 PM, Ytai Ben-Tsvi <[email protected]> wrote:
>
>> Is it possible that you had some sort of OS upgrade within those few
>> days? Which version of IOIODude is this?
>> What seems to be happening is that JNA is missing some native function
>> (updateLastError implementation). Another thing that might happen, guessing
>> by the name of the function, is that this function was always missing, but
>> you're never in the past run into the code path that needs it (which is
>> supposedly some error handling path).
>> What do you see when trying to open the IOIO port through screen? Are you
>> getting the handshake message?
>>
>> On Mon, Oct 6, 2014 at 7:12 PM, Jason Holt <[email protected]>
>> wrote:
>>
>>> I had my modified HelloIOIOConsole working great from my laptop, but now
>>> a few days later it won't connect.  The board powers up and I get a
>>> /dev/IOIO0 as expected pointing at ACM0.
>>>
>>> I thought the board might need a reflash, but ioiodude isn't cooperating
>>> either:
>>>
>>> $ ./ioiodude --port=/dev/IOIO0 versions
>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't obtain
>>> updateLastError method for class com.sun.jna.Native
>>> at com.sun.jna.Native.initIDs(Native Method)
>>> at com.sun.jna.Native.<clinit>(Native.java:139)
>>> at com.sun.jna.NativeLong.<clinit>(NativeLong.java:23)
>>> at jtermios.linux.JTermiosImpl.<clinit>(JTermiosImpl.java:71)
>>> at jtermios.JTermios.<clinit>(JTermios.java:289)
>>> at
>>> purejavacomm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:101)
>>> at ioio.dude.SerialPortIOIOConnection.waitForConnect(Unknown Source)
>>> at ioio.dude.IOIODudeMain.connect(Unknown Source)
>>> at ioio.dude.IOIODudeMain.main(Unknown Source)
>>>
>>>  --
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to