RE: I2CPort not supported with TiniOS 1.12?
Shawn Silverman <[email protected]> Thu, 20 May 2004 11:24:51 -0500 (CDT)
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
I have to disagree with this approach. It will add *all* of the modules. You need to use BuildDependency to include the "I2C" group (or whatever it's called). -Shawn On Wed, 19 May 2004, Kelly Smith wrote: > 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 > > -- Neil laughed when the boomerang he threw returned to him, baffling his dog who was trying to fetch it. _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini