RE: RE: problem with javax.comm and contacting tini
"Kelly Smith" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Dear Julian - Refer to: http://www.systronix.com/tutor/tini_quick/comm_api.htm Where you will find: "TINI Quick Start - Install COMM API and run JAVAKIT". Follow the directions in: "(With Sun JDK) Install the Sun COMM API". Follow the directions in: "(With Sun JDK) Create a javakit.bat batch file". Then thank Bruce Boyes at Systronix, for this helpful tutorial! My "javakit_TINI_390_1_1_2.bat" looks like this (for COM2): java -classpath C:\Tini\Tini1.12\bin\tini.jar;%CLASSPATH% JavaKit -port COM2 My "javakit_TINI_400_1_1_2.bat" looks like this (for COM2): java -classpath C:\Tini\Tini1.12\bin\tini.jar;%CLASSPATH% JavaKit -400 -flash 40 -ROMSize 1048576 -port COM2 And, my environment variables look like this (substitute to your setup, where required): ANT_HOME C:\ant TINI_HOME C:TINI\tini1.12 JAVA_HOME C:\j2sdk1.4.2_01 classpath C:\ant\lib\TiniAnt.jar;C:\ant\lib\ant.jar;C:\j2sdk1.4.2_01\bin;C:\j2sdk1.4.2 _01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\j2sdk1.4.2_01\lib\comm. jar;C:TINI\tini1.12\bin\tini.jar;JavaKit Path C:\;C:\ant\bin;C:\j2sdk1.4.2_01\bin\;%SystemRoot%\system32;%SystemRoot%;%Sys temRoot%\System32\Wbem >>> Watchout for "line-wrap" (some of the text above) in the e-mail content! <<< Best regards, Kelly Smith -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of Julian Porter Sent: Saturday, January 10, 2004 6:01 AM To: tini-6tN4nzCoH/[email protected] Subject: [TINI]RE: problem with javax.comm and contacting tini Please excuse the repost - first time I sent in HTML format, and I don't know if it got through. I am just trying to get started with my tini system, but I am having problems setting up javax.comm on my PC so it is actually able to see the tini to download the firmware. I have installed Java and javax.com, and the tini SDK. I am able to execute both JavaKit and some of the javax.comm sample applications (e.g. BlackBox). They execute, but they cannot find any serial ports. I've tried this on two PCs, both of which have at least one serial port which I know functions correctly. I have tried this using both JDK1.4.2 and JDK1.2.2. The results were the same. Is this a known problem? What is the workaround? Julian Porter _______________________________________________ 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