Skip to main content
Topic: Jawi's Logic Sniffer client software - support and bug reports (Read 45936 times) previous topic - next topic

Jawi's Logic Sniffer client software - support and bug reports

Jawi's Logic Sniffer client is a fork of the SUMP logic analyzer client actively developed by Jawi here in the forum. This is the preferred client for the Logic Sniffer.

The Alternative Java client thread was getting really long. This is a new post for bug reports and support requests.

Latest release available here:
http://www.lxtreme.nl/ols/
Got a question? Please ask in the forum for the fastest answers.

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #1
I was gonna report the label-erasing-signals-bug now that this thread is up, but it seems Jawi fixed it already. Nice work. :)

Minor bug/lack of feature: Straight/slant signal edges are not remembered between runs of the application.

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #2
@rasmus: I've just released version 0.9.1 which should solve your bug as well; thanks for reporting!
when good software is not an alternative...

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #3
There is something strange with open file dialog, at least under windows... When I open file and exit from client next time when I start client and open file dialog opens it points to directory that was last used, but when I try opening again file without exiting client then it points to default My Documents... So looks like when dialog opens for first time it loads last used directory, but second opening of open file dialog reverts to my documents.

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #4
The time scale at the top seems to be "early" compared to the signals.

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #5
@siklosi: your description does sound familiar; I'll take a look at it when I'm testing again on a Windows machine;

@rasmus: can you provide me a sample trace where the problem is appearing? I'll take a look at it.

@both: thanks for reporting! ;)
when good software is not an alternative...

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #6
The time slip happens on all captures (including the test device) under Ubuntu. Haven't looked under Windows yet as I'm doing almost all my "hacking" in Ubuntu...

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #7
hello

noob sugestion here ...

i used both for few days the open bench and the bus pirate
when i used it with the bus pirate i have to go with a 3k samples buffer (i think BP has a 4k of mem)

can it be possible to add a 4k samples buffer size to the client soft?
i might think it can be be more than just than, i don't know yet how those capture requests are made,
but maybe firmware need to be update too...
 
:-)

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #8
@rasmus: you're correct; it appears that under Linux (maybe Windows as well) there is small rounding error in determining the time value of the current mouse position. Will check it out and fix it;

@voidptr: while I can easily add such a buffer size, I'm actually delaying this until a new firmwire release with the "extended SUMP" protocol is out for the OLS and BP. With the protocol extensions, I can simply query the device for its capabilities and provide better configuration options to the user. In the mean time, you can just set the buffer size to 6k, as the BP will automatically top/lower this to 4k (see BP SUMP.c, line 157).
when good software is not an alternative...

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #9
Sorry, I should have ready this before I made my other post :) I'll whip this up for the Bus Pirate and IR Toy ASAP, it's a lot easier in C than VHDL :)
Got a question? Please ask in the forum for the fastest answers.

Losing on Mac

Reply #10
I am trying to run both 9.0 and 9.1 on a mac air 10.6 and both are failing to download data.  I see the device.  Version 9.0 was getting a rxtx mismatch, but 9.1 i believe comes with its own.  Suggestions?  Also on a PC I tried it and the rle option consistently generated heap space errors.  How do I up the memory size for this app?

but I get this error when I try to capture anything


Nov 16 20:36:15 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:15 PM - INFO  -     nl.lxtreme.ols.client.Host]: LogicSniffer v0.9.1 started ...
Nov 16 20:36:33 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:33 PM - INFO  - logicsniffer.LogicSnifferDevice]: Attaching to /dev/tty.usbmodem24141 @ 115,200bps ...
Nov 16 20:36:33 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:33 PM - INFO  -   LogicSnifferDeviceController]: Starting capture ...
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: RXTX-2.2 initialized...
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: WARNING:  RXTX Version mismatch
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]:Jar version = RXTX-2.2
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]:native lib Version = RXTX-2.2pre2
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:34 PM - INFO  - logicsniffer.LogicSnifferDevice]: Found Sump Logic Analyzer/LogicSniffer (0x534c4131) ...
Nov 16 20:36:36 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:36 PM - WARN  -   LogicSnifferDeviceController]: Capture aborted: Data readout interrupted..

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #11
[quote author="rhyde"]
I am trying to run both 9.0 and 9.1 on a mac air 10.6 and both are failing to download data.  I see the device.  Version 9.0 was getting a rxtx mismatch, but 9.1 i believe comes with its own.  Suggestions?  Also on a PC I tried it and the rle option consistently generated heap space errors.  How do I up the memory size for this app?

but I get this error when I try to capture anything

Nov 16 20:36:15 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:15 PM - INFO  -     nl.lxtreme.ols.client.Host]: LogicSniffer v0.9.1 started ...
Nov 16 20:36:33 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:33 PM - INFO  - logicsniffer.LogicSnifferDevice]: Attaching to /dev/tty.usbmodem24141 @ 115,200bps ...
Nov 16 20:36:33 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:33 PM - INFO  -   LogicSnifferDeviceController]: Starting capture ...
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: RXTX-2.2 initialized...
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: WARNING:  RXTX Version mismatch
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]:Jar version = RXTX-2.2
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]:native lib Version = RXTX-2.2pre2
Nov 16 20:36:34 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:34 PM - INFO  - logicsniffer.LogicSnifferDevice]: Found Sump Logic Analyzer/LogicSniffer (0x534c4131) ...
Nov 16 20:36:36 richard-hydes-macbook-air [0x0-0x24c24c].nl.lxtreme.ols[89411]: [11/16/10 8:36:36 PM - WARN  -   LogicSnifferDeviceController]: Capture aborted: Data readout interrupted..
[/quote]

I have a bit of a problem deducing the actual question/bug you're reporting: is the client not capturing at all, or are you worried about the WARNING that is being issued during its use? The latter is simply because I'm not using an "official" released version of the RXTX library and can "safely" be ignored. If the client is not capturing at all then I probably need more information about what you're trying to do.

As for the memory size icw RLE encoding: if you're using the App-bundle for OSX, you need, for now, open up its [tt:]Info.plist[/tt:] and update the [tt:]VMOptions[/tt:] with something like [tt:]-Xmx512m[/tt:] (512 megabyte, enlarge if needed, note that it is case sensitive!). I'll enlarge the defaults in the next release of my client.
Just for my interest: if this works, would you mind providing me the RLE capture file, if possible? RLE decoding is one of the 'lesser tested' functions of my client, and I can use this one in my testing set...
when good software is not an alternative...

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #12
I am sorry, I was unclear.  I can not capture any data.  All attempts fail with those messages.  So I am asking for clues or suggestion of how to get running.
I will be happy to get you and rle file, if I can capture one. :-)

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #13
Very bizzare stuff.  So I went and removed all the old rxtx instances I could find on the system.  (Only left those under an application in the /Application directory.  No joy, but then I downloaded an pair and ran your tool from a dir that had both in . with . on my path and it works.  This makes no sense, but I can run this way.

Re: Jawi's Logic Sniffer client software - support and bug reports

Reply #14
Okay in my fumbling around I wrote a silly little program to test out my config.  My conclusions are that as usual I am confused a bit.  RLE does not work properly and neither does the Uart function.  Any of these issues could be operator error on my part, but I am not sure.  This scetch was loaded into a ardunio mini pro at 16mhz/5 volts and a snapshot taken.  Once with all for banks selected and rle, and many times with only bank 4 and no rle.  The latter method produces repeatable results that the uart tool does not work right on, too my understanding.  The RLE has garbage in it.  Only pins 31, 30, and 29 are connected to tx, rx, and pin 13.  Ground is of course connected.  Outside number is selected as is the auto size option.

void setup() {
  Serial.begin(9600);
   pinMode(13, OUTPUT);
}
int led=0;
void loop() {
  delay(2);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  Serial.write(0xff);
  delay(2);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  Serial.write('?');
  delay(2);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  Serial.write(1);
  delay(2);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  Serial.write(2);
  delay(2);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  Serial.write(4);
  delay(2);
  digitalWrite(13, !led);
  digitalWrite(13, led);
  Serial.write(8);
  delay(2);
  if(!led){
    digitalWrite(13, HIGH);
    led=!led;
  }else{
    digitalWrite(13, LOW);
    led=!led;
  }
}