Commit b76486de authored by vincentb.nikhef.nl's avatar vincentb.nikhef.nl
Browse files

release rev20171102 (#2)

parent 05e036c3
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="forms-1.3.0.jar" sourcepath="forms-1.3.0-src.zip"/>
<classpathentry kind="lib" path="miglayout15-swing.jar" sourcepath="miglayout-src.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CLBv2_Remote</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar:forms-1.3.0.jar:miglayout15-swing.jar" org.km3net.clbv2.remote.test.AHRSCalib "$@"
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar:forms-1.3.0.jar:miglayout15-swing.jar" org.km3net.clbv2.remote.test.AHRSGainFix "$@"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="CLBv2_Remote">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<path id="CLBv2_Remote.classpath">
<pathelement location="bin"/>
<pathelement location="forms-1.3.0.jar"/>
<pathelement location="miglayout15-swing.jar"/>
</path>
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project,build-jar" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" source="1.6" target="1.6" destdir="bin">
<src path="src"/>
<classpath refid="CLBv2_Remote.classpath"/>
</javac>
</target>
<target depends="build-project" name="build-jar">
<echo message="Jarring"/>
<jar destfile="clbv2remote.jar" basedir="bin" />
</target>
<target depends="build" name="release">
<tar destfile="clbv2remote_release.tar">
<tarfileset dir="." >
<include name="*.jar"/>
</tarfileset>
<tarfileset dir="." filemode="755">
<include name="testctrl"/>
<include name="flasher"/>
<include name="templog"/>
<include name="wrlog"/>
</tarfileset>
</tar>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target name="TestGui">
<java classname="org.km3net.clbv2.remote.gui.TestGui" failonerror="true" fork="yes">
<classpath refid="CLBv2_Remote.classpath"/>
</java>
</target>
</project>
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
<jardesc>
<jar path="C:/Users/vincentb/Desktop/CLBv2_Remote.jar"/>
<options buildIfNeeded="true" compress="true" descriptionLocation="/CLBv2_Remote/clbv2.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
<selectedProjects/>
<manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
<sealing sealJar="false">
<packagesToSeal/>
<packagesToUnSeal/>
</sealing>
</manifest>
<selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
<javaElement handleIdentifier="=CLBv2_Remote/src"/>
</selectedElements>
</jardesc>
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar" org.km3net.clbv2.tools.DebugTool "$@"
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar" org.km3net.clbv2.tools.flasher.Flasher "$@"
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar" org.km3net.clbv2.tools.ImageTool "$@"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="javadoc">
<target name="javadoc">
<javadoc access="protected" author="true" classpath="miglayout15-swing.jar;forms-1.3.0.jar" destdir="doc/generated/html" doctitle="CLBv2 Remote API" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" packagenames="org.km3net.tools,org.km3net.clbv2.remote.msg,org.km3net.clbv2.remote.stack,org.km3net.clbv2.remote.gui,org.km3net.clbv2.remote" source="1.7" sourcepath="src" splitindex="true" use="true" version="true"/>
</target>
</project>
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp clbv2remote.jar:forms-1.3.0.jar:miglayout15-swing.jar org.km3net.clbv2.remote.gui.ResetSender
@echo off
java -Djava.net.preferIPv4Stack=true -cp clbv2remote.jar;forms-1.3.0.jar;miglayout15-swing.jar org.km3net.clbv2.remote.gui.ResetSender
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar:forms-1.3.0.jar:miglayout15-swing.jar" org.km3net.clbv2.remote.test.PPSOutTest "$@"
===========================
= CLBv2 Remote =
= Version 1.0 beta =
===========================
CLBv2 Remote is an Java API capable of communcating with a KM3NeT Digital Unit. Documentation of this API can be generated using Javadoc, and will be placed in the doc directory. Please refer to this documentation for interfacing capabilities.
CLBv2 Remote also features the following tools:
* testgui - A graphical user interface for testing various aspects of the DOM
* flasher - A tool to flash and verify images written to the CLB
TestGUI
-------
The TestGUI can be started by the testgui shell command. It loads the GUI giving accesss to most of the CLB features. testgui can be started with a special flag: --unsafe . ** THIS WILL START THE GUI IN A MODE WITH UNSAFE FEATURES WHICH COULD BRICK THE DIGITAL UNIT FOREVER! **
flasher
-------
Flasher is a simple tool to flash an image to a digital unit. Flasher has the following commandline:
flasher <ip> [update|verify] <imageno> <binary>
Where 'update' writes a new image at the given position, and verify checks whether or not the image at a specific postion is the same as the provided binary. Positions are reserved:
0 - golden image
1 - runtime image
2 - backup / test runtime imasge
3 - diagnostic image
However, to prevent accidental overwriting of the golden image, you can not simply put 0 at the imageno location. In order to overwrite the golden image you must write 'golden' instead. Please note: IN CASE OF POWER FAILURE DURING THE WRITING OF THE GOLDEN IMAGE THE DIGTAL UNIT COULD BE BRICKED.
templog
-------
Logs all CLB temperatures, each second, and relative humidity. Usage:
templog <ip>
e.g.
templog 192.168.1.10
wrlog
-------
Logs all WR parameters, each second.
Format: TX_Slave RX_Slave TX_Master RX_Master Cable_RTT
Usage:
wrlog <ip>
imgtool
-------
Lists all images on the CLB, and is able to set the default image.
Without a command it will list the images.
Usage:
imgtool <ip> [<cmd> <args>]
where <cmd> can be:
rtimg <#> - Set the runtime (active) image (1..3).
#!/bin/bash
java -Djava.net.preferIPv4Stack=true -cp "clbv2remote.jar:forms-1.3.0.jar:miglayout15-swing.jar" org.km3net.clbv2.remote.test.ReadPWR "$@"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment