Locating & Identifying propeller chip via USB

Hello All,
I'm rather new here & hope some kind soul could direct me to a link or note to read up on how an app (Java or any desktop app) could locate, identify & connect to a propeller-chip board if it is connected via the USB. I'll be using SPIN on the propeller and I think I'll need to allocate Pin 30 & 31 for polling but how do I use, say Javax.comm, to connect to propeller?
Thanks in advance.
I'm rather new here & hope some kind soul could direct me to a link or note to read up on how an app (Java or any desktop app) could locate, identify & connect to a propeller-chip board if it is connected via the USB. I'll be using SPIN on the propeller and I think I'll need to allocate Pin 30 & 31 for polling but how do I use, say Javax.comm, to connect to propeller?
Thanks in advance.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
The standard javax.comm library originally developed for linux but extended for win32 works fine for me, no resets. The library will not work on a 64 bit JVM but I am able to control multiple quickstart boards simultaneously from a single java process after first reloading them all using propellent in an Ant script.
see http://javahardware.blogspot.com/2010/11/led-display-board-driven-by-javaxcomm.html
and the original posts
http://forums.parallax.com/showthread.php?119851-Writting-propeller-data-to-a-file-on-my-PC&p=879906&viewfull=1#post879906
http://forums.parallax.com/showthread.php?109333-HowTo-Single-host-computer-and-multiple-propeller-serial-comm-and-programming&p=775612&viewfull=1#post775612
http://forums.parallax.com/showthread.php?137636-Quickstart-Board-reboots-when-PC-GUI-program-starts-and-stops&p=1071154&viewfull=1#post1071154
http://forums.parallax.com/showthread.php?132944-Java-comm-and-basic-stamp
Ant picks up extra verbosity from propellent
<project name="grid" default="reload.all"> <property name="spin.file" value="lcas_20120129_grid_f_input.spin"/> <property name="EEPROM" value="/EEPROM"/> <!--property name="EEPROM" value=""/--> <target name="reload.all" description="reload entire grid"> <antcall target="reload"> <param name="port" value="23"/> </antcall> <antcall target="reload"> <param name="port" value="48"/> </antcall> <antcall target="reload"> <param name="port" value="47"/> </antcall> <antcall target="reload"> <param name="port" value="46"/> </antcall> </target> <target name="reload"> <apply executable="propellent"> <arg value="/PORT"/> <arg value="comm${port}"/> <arg value="${EEPROM}"/> <fileset dir="."> <patternset> <include name="${spin.file}"/> </patternset> </fileset> </apply> </target> </project>
propellent output
G:\_dev\active\_parallax\20111211_lcas_qs>ant Buildfile: build.xml reload.all: reload: [apply] ☺EVT:501-Compiling: FULLDUPLEXSERIAL [apply] ☺EVT:501-Compiling: LCAS_20120129_GRID_F_INPUT [apply] ☺EVT:502-File(s) compiled successfully. [apply] ☺EVT:503-Checking COM23 [apply] ☺EVT:505-Propeller chip version 1 found on COM23. [apply] ☺EVT:506-Loading RAM [apply] ☺EVT:507-Verifying RAM [apply] ☺EVT:508-Programming EEPROM [apply] ☺EVT:509-Verifying EEPROM [apply] ☺INF:451-Success. [apply] ♦ reload: [apply] ☺EVT:501-Compiling: FULLDUPLEXSERIAL [apply] ☺EVT:501-Compiling: LCAS_20120129_GRID_F_INPUT [apply] ☺EVT:502-File(s) compiled successfully. [apply] ☺EVT:503-Checking COM48 [apply] ☺EVT:505-Propeller chip version 1 found on COM48. [apply] ☺EVT:506-Loading RAM [apply] ☺EVT:507-Verifying RAM [apply] ☺EVT:508-Programming EEPROM [apply] ☺EVT:509-Verifying EEPROM [apply] ☺INF:451-Success. [apply] ♦ reload: [apply] ☺EVT:501-Compiling: FULLDUPLEXSERIAL [apply] ☺EVT:501-Compiling: LCAS_20120129_GRID_F_INPUT [apply] ☺EVT:502-File(s) compiled successfully. [apply] ☺EVT:503-Checking COM47 [apply] ☺EVT:505-Propeller chip version 1 found on COM47. [apply] ☺EVT:506-Loading RAM [apply] ☺EVT:507-Verifying RAM [apply] ☺EVT:508-Programming EEPROM [apply] ☺EVT:509-Verifying EEPROM [apply] ☺INF:451-Success. [apply] ♦ reload: [apply] ☺EVT:501-Compiling: FULLDUPLEXSERIAL [apply] ☺EVT:501-Compiling: LCAS_20120129_GRID_F_INPUT [apply] ☺EVT:502-File(s) compiled successfully. [apply] ☺EVT:503-Checking COM46 [apply] ☺EVT:505-Propeller chip version 1 found on COM46. [apply] ☺EVT:506-Loading RAM [apply] ☺EVT:507-Verifying RAM [apply] ☺EVT:508-Programming EEPROM [apply] ☺EVT:509-Verifying EEPROM [apply] ☺INF:451-Success. [apply] ♦ BUILD SUCCESSFUL Total time: 22 seconds G:\_dev\active\_parallax\20111211_lcas_qs>
thank you/michael
This is cool! Its funny, when you needed something its always hard to find but they seems to jump right in front of you when you don't. -_-" .... I've actually detoured to VB.net since then but guess its time to re-look at it again (maybe in June).