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

Support and development for logic analyzer client software used with the Logic Sniffer.

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

Postby ian » Mon Nov 01, 2010 7:10 am

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.
User avatar
ian
Crew
Crew
 
Posts: 10578
Joined: Mon Jul 06, 2009 6:14 am

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

Postby rasmus » Mon Nov 01, 2010 8:12 am

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.
rasmus
Jr. Member
Jr. Member
 
Posts: 80
Joined: Wed Jul 28, 2010 6:48 pm

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

Postby jawi » Mon Nov 01, 2010 2:29 pm

@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...
User avatar
jawi
Developer
Developer
 
Posts: 570
Joined: Thu May 27, 2010 2:54 am
Location: The Netherlands

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

Postby siklosi » Mon Nov 01, 2010 3:33 pm

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.
siklosi
Newbie
Newbie
 
Posts: 22
Joined: Tue Aug 17, 2010 3:10 am
Location: Kragujevac, Serbia

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

Postby rasmus » Wed Nov 03, 2010 2:12 pm

The time scale at the top seems to be "early" compared to the signals.
Attachments
time_scale_1.png
time_scale_2.png
rasmus
Jr. Member
Jr. Member
 
Posts: 80
Joined: Wed Jul 28, 2010 6:48 pm

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

Postby jawi » Thu Nov 04, 2010 1:54 am

@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...
User avatar
jawi
Developer
Developer
 
Posts: 570
Joined: Thu May 27, 2010 2:54 am
Location: The Netherlands

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

Postby rasmus » Thu Nov 04, 2010 9:40 am

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...
rasmus
Jr. Member
Jr. Member
 
Posts: 80
Joined: Wed Jul 28, 2010 6:48 pm

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

Postby voidptr » Fri Nov 05, 2010 2:51 pm

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...

:-)
voidptr
Full Member
Full Member
 
Posts: 244
Joined: Fri Oct 08, 2010 5:58 am

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

Postby jawi » Sun Nov 07, 2010 10:13 am

@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...
User avatar
jawi
Developer
Developer
 
Posts: 570
Joined: Thu May 27, 2010 2:54 am
Location: The Netherlands

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

Postby ian » Sun Nov 07, 2010 10:50 am

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.
User avatar
ian
Crew
Crew
 
Posts: 10578
Joined: Mon Jul 06, 2009 6:14 am

Losing on Mac

Postby rhyde » Tue Nov 16, 2010 11:57 pm

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..
rhyde
Full Member
Full Member
 
Posts: 142
Joined: Sun Dec 27, 2009 6:31 pm

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

Postby jawi » Wed Nov 17, 2010 4:40 am

rhyde wrote: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..


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 Info.plist and update the VMOptions with something like -Xmx512m (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...
Last edited by jawi on Wed Nov 17, 2010 1:02 pm, edited 1 time in total.
when good software is not an alternative...
User avatar
jawi
Developer
Developer
 
Posts: 570
Joined: Thu May 27, 2010 2:54 am
Location: The Netherlands

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

Postby rhyde » Wed Nov 17, 2010 5:39 pm

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. :-)
Last edited by rhyde on Wed Nov 17, 2010 5:57 pm, edited 1 time in total.
rhyde
Full Member
Full Member
 
Posts: 142
Joined: Sun Dec 27, 2009 6:31 pm

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

Postby rhyde » Wed Nov 17, 2010 8:16 pm

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.
rhyde
Full Member
Full Member
 
Posts: 142
Joined: Sun Dec 27, 2009 6:31 pm

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

Postby rhyde » Thu Nov 18, 2010 12:16 am

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;
  }
}
Attachments
test.zip
(10.57 KiB) Downloaded 251 times
rhyde
Full Member
Full Member
 
Posts: 142
Joined: Sun Dec 27, 2009 6:31 pm

Next

Return to Client software