jawi / ols Goto Github PK
View Code? Open in Web Editor NEWOpenBench LogicSniffer repository
Home Page: http://www.lxtreme.nl/ols/
OpenBench LogicSniffer repository
Home Page: http://www.lxtreme.nl/ols/
Make the "unused" option default in the UART analyzer, and place it on top, as most of the options are not used by default.
(reported by miro).
com.apple.eawt.Application has new & deprecated methods as of OSX 10.6.x; see http://developer.apple.com/library/mac/documentation/Java/Reference/JavaSE6_AppleExtensionsRef/api/com/apple/eawt/Application.html.
0.9.4 will introduce new device profiles for individual device types. After a restart, the device profiles seem to be doubled... This behaviour does not occur on OSX, nor on Linux.
the "delay" textfield(s) triggerDelay only allows for specifying trigger delays by the number of samples passed. it would be nice to be able to enter it in seconds too.
to distinguish between sample# and time based delay, i think it is enough to look for 's' in the end of the string (i.e. no new gui elements, only additional tooltip text). preferable the parser would also be able to handle n, µ/u, m as prefixes similar to NumberUtils.parseUnit (which btw should parse m and g case sensitive imho).
The four setSelectedXXX methods in SwingComponentUtils are obsolete and no longer needed. Remove them.
(reported by stefant).
On some platforms (Windows, Linux perhaps?), the stop-capture button is not enabled after starting a capture. It does seem to work on OSX...
(reported by lura).
make distinction between analysis/decoding tools and other tools.
I have written a SUMP compatible logic analyzer for the Arduino, but I have to disable the auto reset feature as by default when the serial port is opened DTR is touched and this causes the Arduino to reset. The SUMP clients seem to send reset & id commands immediately after opening the port and the Arduino is not quite ready to accept them.
My feature request is:
A) would it be possible to add an option delay after open to allow the Arduino code to become ready? And probably clear any bytes in the input buffer from the Arduino. I don't remember if the boot loader sends a byte on reset. I tried added a Thread.sleep(1000) in a couple spots but it didn't seem to help. I'm not at all familiar with Java so I don't know that I had it right.
B) would it be possible to have an option to disable DTR before opening the port? I have read about some 'setdtr' functions, but it seems like this doesn't necessarily disable it depending on some underlying drivers. It seems like option A might be the only reliable way.
Here's some mention of the Java DTR problem with auto-reset:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268642002
Also my Arduino based logic analyzer supports 1MHz (and lower) sampling, 5 or 6 channels, but only 512 samples. If I made a device profile would you add it? It works with the OBLS profile if I use the right settings. I'm responding to the get_metadata command too.
Thanks!
The use of OSGi (icw FileInstall) should allows an easy/easier upgrade procedure. Currently, most users probably will reinstall each new version. Perhaps an "check for upgrades..." button could simplify this...?
To make it optional whether or not the trigger moment is auto-centered after a complete capture, add an option to the general settings.
Make it possible to jump to another transition in a channel in case you're zoomed in really close, or want to see the next transition.
(reported by stefant & jack.gassett)
Allow selecting two cursors and show timing information in a more easier way than the current "measurement" tool does. Perhaps with a specific component at the right side of the signal diagram?
(reported by pppd);
When viewing signals, it could be handy to invert them (only in the UI) in order to make them easier to follow.
(reported by KWest).
Provide easier access to analysis tools; for example by making them available in the toolbar.
"Mask" out unused channels to hide transients and ringing on unused signals.
(reported by miro);
Allow cursors to snap to signal edges.
(reported by pppd);
This nit-picking, but I miss menu entries for the 'Start capture', 'Cancel capture' and 'Repeat capture' functions. Yes there are icons for direct access, but in my head I always think of icons as shortcut to menu entries. So if I want to see all functionality of a program I look through all menus and should find everything. In the ols-client I have to check out the menus and the icons as the above functions have icons only.
It seems that a really quite basic and essential tool is missing, which is simply a counter to count pulses/transitions between two markers.
This would fit well onto the "Measure" dialog, just add a dropdown for "Rising/Falling/Both" and count the edges between the two selected markers.
when a tooltip from hovering over an icon in the toolbar is drawn over the label of a cursor, the label is not redrawn correctly after the tooltip is gone. the timeline ticks refresh correctly i think.
the rendering of the timestamp is also sometimes broken, but the bug with the labels is easier to reproduce. the timestamps seem to be re-rendered in another location sometime.
http://666kb.com/i/br658le6va94fbvuw.png shows both problems.
show timing measurements between edges, or from rising to rising or falling to falling edges.
(reported by pppd).
Right-clicking on the time-scale actually does nothing. To set a cursor one needs to right-click in the data area.
I think this is counter-intuitive. The cursors are essentially time-scale items, they represent a time. So you should be able to set by clicking in the time-scale area.
In addition, right-clicking on a channel should bring up channel-related preferences, allowing to change its label, for example.
make the annotated data configurable regarding the displayed text and colors.
client side triggers for the real time acquisition stream, or to otherwise support "infinite" captures.
(reported by arhi)
In case of a two way protocol, make an analysis protocol results synopsis (client: , master: , client ...).
On Windows, the default Java icon appears as window-icon. On Mac OS, no application icon is set. Make a new icon for this.
(reported by smarkus and others).
Preferences (like channel height) in the Edit/Preferences dialog are not saved, neither global nor with the project.
Stefanct has the same issue.
With a 24bit RLE capture, I'm not seeing the correct signal on channel group 1. This works fine with 8/16/32bit mode using 0.9.4-b1 and in all four modes using 0.9.3.1
Some more details in this forum thread - http://dangerousprototypes.com/forum/viewtopic.php?f=57&t=1967
configurable colors would be nice, so that the user can set them to match the probes.
several color schemes could be supported:
In which the order can be defined (or mirrored), and whether or not the first channel is to be considered "ground"...
When using RLE, the highest channel, that is, 8, 16 or 32 is used to encode the RLE-count flag. This means that it does not contain any real information as it is zero'd out during decoding. Add a warning message about this when enabling the RLE option.
aToolWorker.setMode( ( SPIMode )this.mode.getSelectedItem() );
there exists one element in this.mode that is not a SPIMode class: the String "Auto-detect".
you probably wanna revert the change from e82df46.
when RLE is enabled the first value rendered is always low, even when the signal is held high all time while capturing. in org.sump.device.logicsniffer.LogicSnifferDevice.RleDecoder#process the first value added seems to be hard coded to 0: this.callback.addValue( 0, time );
but this seems to only effect the first value of the first channel... or so. first time i skimmed over that code... sorry :)
Make it possible to define any sampling speed, as it is possible by the OLS hardware.
An idea might to make the capture rate combobox editable.
(reported by miro)
support overlay of signals, to view differences between two (or more?) captures.
Support OLS-device profiles for BP, regular OLS and SUMP to support their distinctive features, such as 256k sample depth for the original SUMP, or 5 channels on the BP.
In addition, make the tools aware of the device capabilities (5 channels for BP iso 32, etc.).
This will be the new place where feature requests, bugs and other todo's will be gathered and prioritised. The old todo list needs to be moved to individual issues here...
i discovered several null pointer dereferences in LogicSnifferConfigDialog.
they are all related to JComboBox sizeSelect i think.
look at line 406: this.sizeSelect.setSelectedIndex( aSettings.getInt( "size", this.sizeSelect.getSelectedIndex() ) );
this.sizeSelect.getSelectedIndex() returns always -1 i guess, because in the beginning nothing is selected. this is the second parameter to getInt which indicates a default value, when it cant parse/read the property.
the problem seems that sometimes(?) it really can't read the property and returns the default value of -1 which makes setSelectedIndex to select nothing aka null.
this will produce NPE in lines 1078:
int sampleCount = ( ( Integer )this.sizeSelect.getSelectedItem() ).intValue();
64 and 85 (i'm not sure about the latter two).
i'm not familiar with the preferences thingy so i'll just report it.
It looks like the ols client creates a directory 'felix-cache' in the current working directory. This seems to be an artifact of the Apache Felix Framework used. This framework seems to need such a directory.
To mitigate the littering, can we set configuration to place the directory in $HOME instead of the current working directory ?
Support zoom-window, and zoom-region functionality, so it is easier to zoom on interesting parts of the signals.
(reported by frankalicious)
Support reordering of channels with drag&drop.
With RLE enabled, the frequency appears to be changing with different sample rates.
(reported by nickandrew)
Make it easier to remove set cursors, for example, by replacing the context menu in case one hovers over a cursor.
(reported by pppd);
real time acquisition. for e.g. trough named pipe or other resource.
(reported by arhi);
When capturing at 200MHz, somewhere during the capture the client crashes.
(reported by TitanMKD).
See http://code.google.com/p/nrjavaserial/. By default supports Linux, OSX & Windows.
Make it possible to edit cursor labels, similar as the channel labels.
(reported by pppd);
The OLS client is also used for viewing data from other sources. To make this easier, it should be possible to import VCD dumps and display them in the client.
(requested by rsdio)
While in the summary data is decoded correctly, in the diagram the first byte is shifted by one bit to the right so 0xEE becomes 0x77.
Example:
http://img844.imageshack.us/i/screenshot20110216at123.png/
http://img684.imageshack.us/i/screenshot20110216at123.png/
The I2C decoder produces incorrect 7-bit addresses if decoding a multi-slave capture.
This is because the slaveAddress variable is not overwritten, but OR-ed.
(reported by Robert Schneider).
VCD dump is ignoring the selected number of channels and always dumps all 32 channels. Also the VCD format allows to list for each sample only the channels that have change value; instead they are all listed
(reported by zelea2)
integrate analysis reports & annotations into one and make it configurable which one is shown/used. Currently, they still are two separate things which show more or less the same information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.