Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - alanbur

4
Open Bench Logic Sniffer / Re: 0.9.5 client fails to open port on Solaris
OK, here's the results of my testing:

The port autodetect works, even at the 912k max baud rate, and the device type autodetect also works, displaying the firmware (3.07) and hardware (2) versions.

The first capture after setup fails:

Code: [Select]
[05/05/12 12:18:51 - WARN  - BackgroundDataAcquisitionService]: Acquisition failed!
java.io.IOException: Device not found!
at org.sump.device.logicsniffer.LogicSnifferAcquisitionTask.detectDevice(LogicSnifferAcquisitionTask.java:450)
at org.sump.device.logicsniffer.LogicSnifferAcquisitionTask.call(LogicSnifferAcquisitionTask.java:99)
at org.sump.device.logicsniffer.LogicSnifferAcquisitionTask.call(LogicSnifferAcquisitionTask.java:45)
at nl.lxtreme.ols.acquisition.BackgroundDataAcquisitionService$2.call(BackgroundDataAcquisitionService.java:94)
at nl.lxtreme.ols.acquisition.BackgroundDataAcquisitionService$2.call(BackgroundDataAcquisitionService.java:88)
at nl.lxtreme.ols.task.execution.BackgroundTaskExecutionService$1.call(BackgroundTaskExecutionService.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Subsequent captures work, so it looks like some sort initialisation issue.  The good news however it that is does work, unlike the previous version :-)

Other issues:

1. After capture, the trace doesn't always get displayed unless I scroll the pane up/down
2. Changing the colour scheme doesn't do anything
3. All 32 channels are displayed even if I only capture 8
4. The 'scope' display seems to be always on, even if turned off
5. Clicking on the 1 .. 4 'tabs' down the screen RHS sometimes turns on 2 display panes rather than just the related one
6. The 'measure' tab doesn't seem to work, although the tools dialog version does

However, I must say the redone GUI is looking *very* slick, I can't wait for the final version :-)
8
Open Bench Logic Sniffer / Re: 0.9.5 client fails to open port on Solaris
Oh, and the 'crash reporter' doesn't work either - the mail it sends bounces back.

Code: [Select]
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 553 553 5.7.1 <info-ols_0.9.5_report@lxtreme.nl>... server [mail.lxtreme.nl] for <info-ols_0.9.5_report@lxtreme.nl> rejected recipient. Their reason "<info-ols_0.9.5_report@lxtreme.nl>... No such user here" (state 13).
10
Open Bench Logic Sniffer / 0.9.5 client fails to open port on Solaris
Bug report:  The 0.9.5 client (which uses PureJavacomm as replacement for RXTX) doesn't work on Solaris.  0.9.4 (which uses RXTX) works fine.

Code: [Select]
[04/05/12 00:47:15 - INFO  - logicsniffer.LogicSnifferDevice]: Attaching to /dev/term/0 @ 115,200bps (DTR = low) ...
java.lang.NullPointerException
at jtermios.JTermios.open(JTermios.java:363)
at purejavacomm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:89)
at nl.lxtreme.rxtx.SerialConnectionFactory.getSerialPort(SerialConnectionFactory.java:157)
at nl.lxtreme.rxtx.SerialConnectionFactory.obtainSerialPort(SerialConnectionFactory.java:199)
at nl.lxtreme.rxtx.SerialConnectionFactory.createConnection(SerialConnectionFactory.java:112)
at nl.lxtreme.ols.io.ConnectorServiceImpl.open(ConnectorServiceImpl.java:152)
at org.sump.device.logicsniffer.StreamConnectionFactory.getConnection(StreamConnectionFactory.java:64)
at org.sump.device.logicsniffer.LogicSnifferDevice.getStreamConnection(LogicSnifferDevice.java:203)
at org.sump.device.logicsniffer.LogicSnifferDevice.createAcquisitionTask(LogicSnifferDevice.java:95)
at nl.lxtreme.ols.acquisition.BackgroundDataAcquisitionService.acquireData(BackgroundDataAcquisitionService.java:76)
at nl.lxtreme.ols.client.ClientController.captureData(ClientController.java:481)
at nl.lxtreme.ols.client.action.CaptureAction.actionPerformed(CaptureAction.java:97)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
11
Open Bench Logic Sniffer / Re: Test Release 3.06 - Demon Core
[quote author="alanbur"]
Quote
The jitter I'm not so sure about.  Do you have both grounds of the OLS connected to your test circuit?

No, I only had the one associated with the channel I was using attached.  I'll try connecting both and let you know what happens - what made me suspicious is it only appeared to jitter when RLE was selected.[/quote]

I've re-tested this and can't replicate it - with or without all the other pins grounded - must have been a dodgy connection.

It's been a while since I've fired up my OLS and updated everything - both the capture side and the GUI are looking *very* tasty - congratulations to everyone involved and thanks for all the hard work :-)
12
Open Bench Logic Sniffer / Re: Test Release 3.06 - Demon Core
[quote author="dogsbody"]RLE mode uses the MSB of a sample to store the "rle-flag".  The flag tells the client if it has a new value, or an rle-count.  In 8-bit captures, bit 7 thus becomes reserved.  In 16-bit captures bit 15 is used, etc...[/quote]

Ah, makes perfect sense from an implementation perspective, but is kinda non-obvious - thanks :-)  Perhaps it might be worth adding a warning to the client when the RLE checkbox is selected and/or not displaying the uppermost channel?

Quote
The jitter I'm not so sure about.  Do you have both grounds of the OLS connected to your test circuit?

No, I only had the one associated with the channel I was using attached.  I'll try connecting both and let you know what happens - what made me suspicious is it only appeared to jitter when RLE was selected.

Thanks for the info :-)
13
Open Bench Logic Sniffer / RLE drops channel 7
I'm running demon core with the latest client version and I notice that if RLE is enabled channel 7 is being dropped (I only have channel group 0 enabled) - see the attachments below.  The input is an 8-bit counter that just wraps round.  With channel groups 0+1 enabled plus RLE I see channel 7 being captured, but not accurately - I see glitches where the duty cycle is wrong - it should be 50% but isn't and I see other similar issues on other channels as well.  It appears that RLE isn't working 100%, is this a known issue?
14
Open Bench Logic Sniffer / Re: Digital Sampling Oscilloscope attachment (DSO wing)
[quote author="rsdio"]
I designed the Brain from Livid Instruments as a PIC-based DIY platform supporting 64 knobs, 179 buttons, and 48 LED indicators. You could buy something like that instead of designing such features yourself, and just use the standard USB-MIDI Class Compliant drivers on all modern operating systems to read the controls.
[/quote]
So you buy a $190 front-end to stick on a $40 OLS.  Is it only me who sees the flaw there?
15
Open Bench Logic Sniffer / Re: Test Release 2.03 and 2.04 - SPI mode.
I've upgraded to the 2.04 bits and my hitherto flaky as hell OLS is now rock solid - the SPI comms change seems to be a big step forwards.

One thing: It would be really nice if the Java client limited you to only the buffer sizes that are valid.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01522454128session_write_close ( )...(null):0
20.01552585720ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01552586496Database_MySQL->query( ).../DatabaseHandler.php:119
40.06052725232Database_MySQL->error( ).../Db-mysql.class.php:273