Skip to main content

Topics

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

Topics - steamraven

1
Open Bench Logic Sniffer / Advanced Triggers
While Jawi is working hard in his spare time to implement advanced triggers in his client, I wanted to discuss some of the technical details.

Given a boolean equation:  A or (B and TIM1)

how can we map this to the trigger sums in the advanced trigger? This seems very similar to FPGA synthesis.  Does anyone have any pointers for me on where to look for more information?

Thanks,

Matt
2
Open Bench Logic Sniffer / Trigger State Machine
I want to try my hand at VHDL and create a full state machine for complex triggers. I wanted to document it here so I can (hopefully) get some feedback and maybe help some people.

First, the Goal:
To create a full state machine with transitions controlled by internal triggers and external trigger while maintaining compatibility with the sump protocol and operation.


To start I will list the sump operation that I need to maintain.  This is mainly from what I see in the code. If there are other constraints, please let me know. I am not changing how the triggers detect conditions, just what they do when found.  Thus I will not describe serial vs complex and demux and such. These will stay the same.

Internal Triggers (4)
  Trigger can either immediately start capture or upgrade trigger level by 1
  Trigger can optionally delay for a certain number of clock cycles
    After delay, trigger either starts capture or upgrades trigger level by 1
    There is no check of continuing trigger condition
  Triggers are not retriggerable
    trigger is "armed" one cycle after ARM goes high
    trigger goes to off state after signaling and stays off until ARM goes high
  Trigger signals 1 cycle after trigger condition
  Trigger only signals if trigger level is equal to or greater than configured level

  Defaults:
    0 delay
    Match (upgrade level) not start
    trigger on level 0 and higher

External Trigger
  Immediately initiates run


Trigger State
  4 trigger levels (0 - 3)
    level 0 on arm
    level goes up by 1 on match from internal triggers
    level rolls over after 3

  1 run level.

Sump protocol
  set trigger config
    delay
    trigger level
    channel for serial (Not needed)
    serial flag (not needed)
    start flag

So I want my design to maintain the above behavior, especially the configuration commands.

More to follow....
3
Open Bench Logic Sniffer / demux flag?
I was looking through the VHDL and came across the demux flag.  I couldn't find much in the docs or a way of setting it in the interface. Can someone give me some hints?

Thanks,
Matt
4
Open Bench Logic Sniffer / Timed Triggers
I have a signal that goes high and low quite a bit.  I am looking for a way to trigger if this signal stays high for a length of time, say 1 ms.

I see there is a delay setting in complex triggers and the protocol docs say
"delay: If a match occures, the action of the stage is delayed by the given number of samples"

But i am still confused how to use it for what I want. Any ideas?
5
Open Bench Logic Sniffer / OLS Availability
I just discovered this project and I am very excited about an open source analyzer.  However, seeed (and their distributers) seems to be out of stock.  Where else can I get one of these?
Are there different revisions? What is the current revision?

I also noticed there is a logic analyzer project (lax) at gadget factory that runs on the papillo one (butterfly one) boards.  How different is this from the OLS codebase?

Cheers,
Matt

( ! ) 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.01192311008session_write_close ( )...(null):0
20.01222442600ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01222443376Database_MySQL->query( ).../DatabaseHandler.php:119
40.05772582112Database_MySQL->error( ).../Db-mysql.class.php:273