Skip to main content
Topic: Alternative Java client (Read 52410 times) previous topic - next topic

Re: Alternative Java client

Reply #150
[quote author="hardcore"]Jdeveloper from oracle is a free download/usage, allows you to build GUI's without those stupid 'do not edit below this line' code inserts of "form" files many other java Dev tools use, as such it allows "manual' tweaking of the GUI.[/quote]Cocoa is like this, too, except that you never have to code a bit of C and call it from Cocoa because Cocoa is already C.  Too bad Cocoa is basically only available on OSX and iOS, unless you count Solaris and Win32.

Re: Alternative Java client

Reply #151
[quote author="jawi"]
[quote author="pelrun"]
However, I'm currently having an issue with the SPI module; it insists on ignoring my /CS signal (despite "Honour /CS" being checked) and just starts decoding several clock cycles late. I've also seen it insist there are /CS transitions when none exist in the data. It's correctly configured in the decoder dialog, but perhaps it's reading data from the wrong place?
[/quote]

could you provide me a dumpfile with sample data so I can look into this problem myself?

EDIT: pelrun, could you try to place the area you're trying to decode between cursors 1 & 2 and try the SPI decoder again? If this works, then I already know what is going on and will fix it...
[/quote]

I've attached a capture to this post. Using the cursors just causes analysis to fail with a "CS not detected" error - incidentally, that closes the analysis dialog which is a bit annoying...

Re: Alternative Java client

Reply #152
@jawi - of course, use away!
Got a question? Please ask in the forum for the fastest answers.

Re: Alternative Java client

Reply #153
@jawi

any chance you could update the link in your very first post?

Re: Alternative Java client

Reply #154
@Neganur - Thanks for the suggestion, I added a link the new download page on the first post.
Got a question? Please ask in the forum for the fastest answers.

Version 0.9.0 released

Reply #155
Fresh from the presses: version 0.9.0 of my (nowadays not so) alternative OLS client. As always available from its homepage. I've updated the first post of this topic to make note of the new release as well...

This is the first release of the 0.9 series, and changes for this release are:

  • Added export to image (PNG) and VCD files;
  • Added option to show signal edges as straight edges or slanted edges;
  • Better support for [tt:]/dev/ttyACM[/tt:] device names on Linux systems;
  • The client is now distributed in ZIP (Windows), TAR-GZ (Linux) and DMG archives (OSX);
  • Many more bugfixes, see the ChangeLog on GitHub for more information.

As always I like to thank all people that have sent in their requests, proposals and bug reports; keep them coming in the future!

Regards,

  JaWi
when good software is not an alternative...

Re: Alternative Java client

Reply #156
Awesome!
Got a question? Please ask in the forum for the fastest answers.

Re: Alternative Java client

Reply #157
Is it feasible to add a live preview or scrolling live capture mode (without major overhaul of the display stuff)? I was looking at the scanalogic client today, it has a feature like this:
http://www.ikalogic.com/scanalogic2/index.php

Continuous sampling is a frequently requested feature that would be a related change in the core. 

How about the meta data string described here:
http://dangerousprototypes.com/docs/The ... P_protocol
I'll try to make a test bitstream that supports that first. I almost have it locked down.
Got a question? Please ask in the forum for the fastest answers.

Re: Alternative Java client

Reply #158
[quote author="ian"]
Is it feasible to add a live preview or scrolling live capture mode (without major overhaul of the display stuff)? I was looking at the scanalogic client today, it has a feature like this:
http://www.ikalogic.com/scanalogic2/index.php

Continuous sampling is a frequently requested feature that would be a related change in the core. 

How about the meta data string described here:
http://dangerousprototypes.com/docs/The ... P_protocol
I'll try to make a test bitstream that supports that first. I almost have it locked down.
[/quote]

Thanks for the suggestions, ian. The continuous sampling could be added quite easily, I guess. If you've got a bitstream that allows this from the hardware side, drop me a line, I'll take a look at implementing it in the UI. I presume the live capture stream will stop once the buffer memory is full (or will it continue at the beginning of the memory, i.e., round robin)?

Regarding the metadata, I didn't know it was already in; now I can add some additional checks to the client regarding what kind of Logic Sniffer I'm talking to... Are these commands available during run-mode, or only during program/boot mode?
when good software is not an alternative...

Re: Alternative Java client

Reply #159
Sorry to get ahead of myself.

The metadata isn't in, that is just a suggested format. I think I have it working in a test though. That meta data could be adopted by all the DP stuff that supports SUMP.

I think the same basic changes to the FPGA can enable to continuous sample features:
1. Live preview - while waiting for a trigger we can see what's happening
2. Continuous - for low sample speeds, the sample sizes can be huge and we just dump samples at that speed. This is like a saleae logic, and really helps with I2C traffic logging. It'll be limited by the CDC protocol and the max 12Mbps USB bandwidth, but could be useful.

Some buffering in the FPGA might be good, but to start it may be simpler to just read out the pin states like a shift register.

Just something to think about. I'll post some test bitstreams when I have something that's working.
Got a question? Please ask in the forum for the fastest answers.

Re: Alternative Java client

Reply #160
[quote author="ian"]
Is it feasible to add a live preview or scrolling live capture mode...[/quote]

While not as sophisticated as a scrolling live capture, most of the logic analyzers I have used have had a sort of live preview called Activity Indicators.  These are more akin to a logic probe on each channel (Hi,Low,Pulse) but provide a good idea of what is happening and may be easier to implement.

-Eric

Re: Alternative Java client

Reply #161
Hallo,
I have downloaded http://www.lxtreme.nl/ols/ols-0.9.0.tar.gz. I unpacked it to folder E:programsLogicSniffer2 and ran console and run.bat. When I want change the COM port, the client is frozen. Logic Analyzer Client->Caputure settings->Analyzer port. Is there some workaround?
Code: [Select]
Microsoft Windows 2000 [Verze 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

E:programsLogicSniffer2>path
PATH=C:Program FilesCommon FilesSiemensSqlany;
etc.;
etc.;
etc.;
C:programsJavajdk1.6.0_22bin;C:programsJavajre6bi
n;E:programsLogicSniffer2

E:programsLogicSniffer2>java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

E:programsLogicSniffer2>run.bat
Oct 31, 2010 10:51:15 AM nl.lxtreme.ols.client.Host start
INFO: LogicSniffer v0.9.0 started ...
WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2
        native lib Version = RXTX-2.2pre2

If I try the original client it works well. Gadget Factory->OpenBench Logic Sniffer->Files->OpenBench_LogicSniffer_JAVA_CLIENT_2.1.zip

Re: Alternative Java client

Reply #162
@frpr666: does the client freeze when opening the drop-down/combobox, or when entering the name of the com-port directly? There's an issue with the used RXTX library that will try to scan all 255(!) possible COM-ports on a system; this might take a while (hence resulting in a freeze of the client)...
when good software is not an alternative...

Re: Alternative Java client

Reply #163
@Jawi: the client get freeze when I try change the com-port combobox. After that I can't do anything with the window Caputure settings. I tried to wait but it's still the same. . I will try it under win XP on Monday. Maybe it is issue of my win. 2000. Sometimes I have troubles with runnig java apps. as Processing or Arduino.

Re: Alternative Java client

Reply #164
@jawi:
really too bad this software can't run on mac os x 10.5 which is not a so old operating system (even 10.4 ?)...
10.6 is "only" one year old and i dont think a logic analyzer REQUIRES a 64bit OS ...
also don't see what prevents you from making a 10.5 version ?
I already saw java softwares that runs perfectly from 10.3 to 10.6 ... ?
by the way nice work, cannot use it, but nice work.
regards,