Editing BitWacker PIC and Other Microcontroller to Java Communications

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 165: Line 165:
 
* Configure [https://en.wikipedia.org/wiki/Java_Development_Kit Java JDK] or Java Runtime Environment as it suits you.  I am using version 1_4 to stay compatible with older machines.  You can find it round about [http://www.oracle.com/technetwork/java/javase/downloads/ NetBeans with JDK].  /* Was: [http://java.sun.com/j2se/1.4.2/download.html Download Java 2 Platform, Standard Edition, v 1.4.2 (J2SE)] */
 
* Configure [https://en.wikipedia.org/wiki/Java_Development_Kit Java JDK] or Java Runtime Environment as it suits you.  I am using version 1_4 to stay compatible with older machines.  You can find it round about [http://www.oracle.com/technetwork/java/javase/downloads/ NetBeans with JDK].  /* Was: [http://java.sun.com/j2se/1.4.2/download.html Download Java 2 Platform, Standard Edition, v 1.4.2 (J2SE)] */
  
* Download and install the JavaComm API for your platform. Sun no longer supports this for windows; ( I will change to some other support soon ) I found it at [ http://wind.lcs.mit.edu/download/ Software Download and Install] Install can be a problem because a bad installation often fails without any messages. Here are installation directions: [http://www.xpl4java.org/xPL4Java/javacomm.html Javacomm -- Serial and Parallel port access for Java and xPL]
+
* Download and install the java comm API for your platform. Sun is no longer support this ( I will change to some other support soon ) I found it at [[ where]] This can be a problem because a bad installation often fails without any messages.
  
* Download zip file. [http://home.comcast.net/~russ_hensel/OC/MCSerialComm/bin08-06-04/MCSerialCommDist.zip] Unzip to an installation directory ( c:\RS232Etc for example but in any case avoid directory names with embedded blanks and if you stick to c:\RS232Etc fewer modifications will be required to the bat file. )  Do not un-jar the jar file(s) ( unless you just want to mess around )  Source code will be provided in RS232Etc.jar when it it a bit more stable.  Note that renaming the .jar file to .zip will allow you to extract the files with most zip utilities that do not directly support jar files.
+
* Download RS232Etc.zip. I will provide a location soon, for testers email me [[russ_hensel]] Unzip to an installation directory ( c:\RS232Etc for example but in any case avoid directory names with embedded blanks )  Do not un-jar the jar file(s) ( unless you just want to mess around )  Source code will be provided in RS232Etc.jar when it it a bit more stable.  Note that renaming the .jar file to .zip will allow you to extract the files with most zip utilities that do not directly support jar files.
  
* There is a file called RS32Probe.properties ( for the RS232Probe application or BitWacker.properties for the BitWacker applicaiont etc ).  ( we do it Edit RS32Probe.properties ( or the BitWacker.properties ... ) for your configuration, directions are in the file.
+
The next few steps are just for the BitWacker GUI, similiar files are included for the other applications.
  
* There is a file named OriginalRunRS32Probe.bat ( and similar files for the other applications )  ( in c:\RS232Etc if you followed my suggestion for installation ), make a copy and name it RunRS32Probe.bat. Edit the  RunRS32Probe.bat file for your configuration ( see directions in bat file ).  We do the rename procedure to protect your version of the bat file against future updates. ( in the future we may just have you save the files in a safe place, this would be easier for me )
+
*Edit BitWacker.properties for your configuration. ( see section below on BitWacker.properties and directions in the file )
  
* See Start Up section for each application to continue and start the application.  If you have problems I will help you, email me with some details of the problem, include screen shots or detailed discription of error messages.
+
*Edit the  BitWacker.bat file for your configuration ( see directions in bat file ).  You may want to do this in a copy of the file so that you always have the original bat file ( or maybe we will give you two copies).
  
 
+
*Double click the bat file to run the program, begin debugging the installation.
=== Reinstallation ===
 
 
 
Save your *.bat files and *.properties file in a safe place and download and unzip a new version.  Look at the new *.bat files and *.properties and see if yours need updating before replacing them.
 
  
 
== Coding Standards ==
 
== Coding Standards ==

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)