1-wire problems and Conversion problems

[email protected] Sat, 05 Jun 2004 13:45:40 +0100 (BST)
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
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

________________________________________________________________

DISCLAIMER:

This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed.  If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail.  In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail.  Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail.  Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
________________________________________________________________
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini