Hmmm, I might be mistaken. I just retried the version() method in my Java class and it works fine now. I added -Djava.library.path=/usr/lib to the invocation. Still don't know what went wrong with the C implementation. <shrugs>
It is an ARM processor. And I have no idea whether it is 32 or 64 bit but I am willing to bet it is 32. From /proc/cpuinfo:
Processor : XScale-IXP42x Family rev 1 (v5l) BogoMIPS : 266.24 Features : swp half fastmult edsp CPU implementer : 0x69 CPU architecture: 5TE CPU variant : 0x0 CPU part ...
My problem is twofold, I am terrible with c so the Java implementation was very welcome. However when running the example from the SDK package: java -jar samples.jar I get the following output: Sample Application for the Iowkit-library Checking Library Version...The IowKit plattform ...
I must say I am impressed! This is precisely the starting point I was looking for.
Two thumbs for your support and documentation, this definitely helps advertising the greatness of the IOW from CodeMercenaries!
Alright! I got as far as to rebuild the kernel module and the iowkit. One suggestion: I had to rename the directory "iowkit 1.5" to "iowkit-1.5" (note the space). Otherwise 'make' got confused seeing everything after the space as a new make target.
I do not have time to actually try writing an own ...
I was afraid for that. How do I uninstall a kernel module? Can I just remove it? I guess not. I think I should remove it with rmmod, then remove it from the disk and then run depmod. Is that correct? I rather want to be save than sorry.
I am sorry to ask but I am new to this whole 'shared library'/c stuff. As I understand it there are two way of accessing my IOW24. One through simple select()/read()/write() operations and the other through the iowkit API. Right? I managed to compile this library on my linux(debian) box ...
I am having a hard time figuring all this electronic stuff out. Have patience with me. :) I got a couple of I2C capable thermometer IC's as they should be 'trivial', not so for me. So I'd like to take the ultimate step back. 2 wires, one resistor and 1 LED. I would love to make it turn on ...
Aha, I searched Conrad earlier but strongly dislike it's search functionality as it lack fuzzy search. As soon as you do not know _exactly_ what you are looking for it becomes very hard.
Alright, thanks for the help!