RE: I2CPort not supported with TiniOS 1.12?
"Joel Rowley" <[email protected]> Wed, 19 May 2004 22:12:54 -0400
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <200405192202912.SM03688@jrowl611> |
Thanks for the help! That was the key. I tried doing "-f .\bin;
D:\TINI\SDK\tini1.12\bin\modules.jar" but that did not work. You have to
have multiple "-f" switches in order to work. So, this was my final line:
C:\j2sdk1.4.2_04\bin\java.exe -classpath D:\TINI\SDK\tini1.12\bin\tini.jar;
TINIConvertor -i -f .\bin -f D:\TINI\SDK\tini1.12\bin\modules.jar -o
Hvac.tini -d D:\TINI\SDK\tini1.12\bin\tini.db
Thanks for all the help! This way works, but if anyone would like to tell
me how to put this into a tiniant xml file that would be great! I have ant
compiling the .java files to .class files, but I can't get tiniant to output
a .tini file. I think it's because I don't know where to add the
Modules.jar. This is what I have now for the tiniant part (after I compiled
it to .class files in the ${tini.build.dir} folder):
<tini
outputfile="Hvac.tini"
database="${tini.db}"
dependencyfiles="${owapi_dep.txt},${dependency.files}"
depends="${dependency.groups}"
dependpath="${tini.onewire.jar}:${dependency.classpath}"
classpath="${tini.jar}"
force="yes"
verbose="${tini.debug}"
>
<convert dir="${tini.build.dir}"/>
</tini>
Thanks!
Joel Rowley
-----Original Message-----
From: Kelly Smith [mailto:[email protected]]
Sent: Wednesday, May 19, 2004 6:57 PM
To: Joel Rowley; tini-6tN4nzCoH/[email protected]
Subject: RE: [TINI]I2CPort not supported with TiniOS 1.12?
Dear Joel - Re: "Could not find the class com/dalsemi/system/I2CPort"
Add this to your TINIConvertor line:
-f D:\TINI\SDK\tini1.12\bin\modules.jar
Best regards, Kelly Smith
-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of
Joel Rowley
Sent: Wednesday, May 19, 2004 2:18 PM
To: tini-6tN4nzCoH/[email protected]
Subject: [TINI]I2CPort not supported with TiniOS 1.12?
Hello List,
I am in the process of upgrading my Tini program from TiniOS 1.02e to TiniOS
1.12. My problem (I think) is that they moved the I2CPort.class file to the
${tinisdk}/bin/Modules.jar file instead of where it used to be in the
tiniclasses.jar file. I put the ${tinisdk}/bin/Modules.jar file in my javac
classpath and it compiles my .java file to classes. My problem comes in
when I try to run TINIConvertor. This is the line that I use when I run
TINIConvertor:
C:\j2sdk1.4.2_04\bin\java.exe -classpath D:\TINI\SDK\tini1.12\bin\tini.jar;
TINIConvertor -i -f .\bin -o Hvac.tini -d D:\TINI\SDK\tini1.12\bin\tini.db
When I run that line, this is what I get:
TINIConvertor (KLA)
Version 1.31 for TINI 1.1
Built on or around August 27, 2003
Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation.
Could not find the class com/dalsemi/system/I2CPort
Could not finish loading: java.lang.ClassNotFoundException: Could not find
the class com/dalsemi/system/I2CPort
Exception caught: java.lang.RuntimeException: Could not finish loading:
java.lang.ClassNotFoundException: Could not find the class
com/dalsemi/system/I2CPort
java.lang.RuntimeException: Could not finish loading:
java.lang.ClassNotFoundException: Could not find the class
com/dalsemi/system/I2CPort
at
com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClassLoader.
java:142)
at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725)
at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324)
at TINIConvertor.main(TINIConvertor.java:16)
Exception in thread "main" java.lang.RuntimeException: Could not finish
loading: java.lang.ClassNotFoundException: Could not find the class
com/dalsemi/system/I2CPort
at
com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClassLoader.
java:142)
at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725)
at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324)
at TINIConvertor.main(TINIConvertor.java:16)
Is there something that I am forgetting? I don't know for sure, but I think
they forgot to add I2CPort support into the tini.db file. If anyone has any
idea what the problem is, could you please reply back?
Thanks so much!
Joel Rowley
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini