Re: 1-wire problems and Conversion problems
Shawn Silverman <[email protected]> Mon, 7 Jun 2004 00:30:21 -0500
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
If you want something more interesting, how does the idea of a webserver and servlet container grab you? With Tynamo (http://tynamo.qindesign.com/), you can write your own programs that have a web interface. Just for something a little different than what you've already tried. The I2C problem can be solved by including the "I2C" dependency group (The "A more elaborate explanation" section of http://tynamo.qindesign.com/docs/tini/building.html#ownClasses may help). Regards, -Shawn On 5-Jun-04, at 7:45 AM, [email protected] wrote: > Hello list, > after spending a few days setting up my PC and TINI for the first > time, and > after some of your help (thanx again) i had my tini up and running. My > HelloWorld program run from the tini and it felt good. HelloWorld.tini > program is a bit dull (after the 4th time i run it) so i decided to > work > with the examples that come with the TINI OS (v1.12) package. I > started of > with the ListOW.java. I compiled it myself and then converted it with > TINIConvertor without lots of problems. Then FTPd it to the TINI. I > added a > 1-wire swicth on the system, run the program but my 1 wire device wasnt > listed. I tried other 1-wire devices which are known to work but to no > avail. > > This what i get: > > TINI /> java ListOW.tini > > Adapter: TINIExternalAdapter Port: serial1 > > TINI /> > > According to the readme.txt in the ListOW folder i should be getting > the > addresses of the devices connected to the 1-wire bus... > I even downgraded the OS a few times and tried it and i get the same > result. Any suggestions here??? Btw yes i have properly connected the > 1- > wire devices. > > After looking into the list's archives and nothing worked i gave up the > ListOW and i tried the i2ctest.java example. > > On this example i can compile ok (so i've made the assumption that > JAVA is > installed ok) but when i try to convert i get a number of errors. > Below is > what i get in the command prompt: > > ***************************************************************** > C:\tini1.12\examples\i2cTest\src>javac -target 1.1 i2ctest.java > > C:\tini1.12\examples\i2cTest\src>java TINIConvertor -f i2ctest.class -o > i2ctest. > tini -d c:\tini1.12\bin\tini.db > TINIConvertor (KLA) > Version 1.31 for TINI 1.1 > Built on or around August 27, 2003 > Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation. > Loading class i2ctest.class from file C:\tini1.12 > \examples\i2cTest\src\i2ctest.c > lass > 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.ClassNotFoundExc > eption: 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) > ********************************************************************** > > Have i missed something above? > > Any input on the above issues is much appreciated:) > > Thanx a lot people, > george _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini