Dangerous Prototypes

Other projects => Open Bench Logic Sniffer => Topic started by: voidptr on November 23, 2010, 03:47:49 am

Title: about OLS trigger :-)
Post by: voidptr on November 23, 2010, 03:47:49 am
examples of complex trigger

complex trigger can be made of multiple stages
triggering in sequences and or in parallel


let say i have a state machine on 4 channels
i want to trigger the acq after a reset 0000 AND state 0001
so it will be a 2 stages triggers

first select type - complex

stage1 - mode - parallel
arm - immediately     i want  to detect my reset 0000 right away
mask 1111  channel 0 to 3
value 0000
action unchecked so it will arm other stage's trigger

stage2  - mode - parallel
arm - On level1   so this stage will be arm after stage 1 has been trig
mask 1111
value 0001
action checked - start capture


----------------------

now i want to trig capture at state 0001  OR  state 0010 
first select type - complex

stage1 - mode - parallel
arm - immediately   
mask 1111 
value 0001
action checked - start capture

stage2 - mode - parallel
arm - immediately   
mask 1111
value 0010
action checked - start capture


-------------------------

now i want to trig capture at state 0001  OR  state 0010  after a reset 0000
first select type - complex

stage1 - mode - parallel
arm - immediately   
mask 1111
value 0000
action unchecked

stage2 - mode - parallel
arm - On level1   
mask 1111 
value 0001
action checked - start capture

stage3 - mode - parallel
arm - On level1
mask 1111
value 0010
action checked - start capture





now, someone knows how to used serial setting ? :-)
Title: Re: about OLS trigger :-)
Post by: ian on November 23, 2010, 08:43:19 am
Thanks! I've been trying to put together a guide for SUMP. Can I use this in Logic Sniffer 102?
http://dangerousprototypes.com/docs/Log ... x_triggers (http://dangerousprototypes.com/docs/Logic_Sniffer_102#Complex_triggers)

I'll make some screenshots of the setting tabs too.
Title: Re: about OLS trigger :-)
Post by: voidptr on November 23, 2010, 09:04:43 am
[quote author="ian"]
Thanks! I've been trying to put together a guide for SUMP. Can I use this in Logic Sniffer 102?
http://dangerousprototypes.com/docs/Log ... x_triggers (http://dangerousprototypes.com/docs/Logic_Sniffer_102#Complex_triggers)

I'll make some screenshots of the setting tabs too.
[/quote]

sure feel free to used this in any way you want :-)
many someone else will add about serial type and other parameters :-)
Title: Re: about OLS trigger :-)
Post by: ian on November 23, 2010, 10:27:35 am
Thank you so much, it's really nice to have some documentation of the complex (parallel) triggers. I added your output examples, as well as screenshots of the trigger settings for each stage.
Title: Re: about OLS trigger :-)
Post by: voidptr on November 23, 2010, 03:47:31 pm
[quote author="ian"]
Thank you so much, it's really nice to have some documentation of the complex (parallel) triggers. I added your output examples, as well as screenshots of the trigger settings for each stage.
[/quote]

it looks really Great :-)   
I forgot to mention "the yellow line region "  but you did :-)  
stages are not exclusive transition state, something can happen between them, so they are not good for protocol validation.

beside the current help and the following link  is there some more information available somewhere about SUMP protocole ?
http://www.sump.org/projects/analyzer/protocol/ (http://http://www.sump.org/projects/analyzer/protocol/)

the serial explanations are really thin  ! :o)
Title: Re: about OLS trigger :-)
Post by: ian on November 23, 2010, 04:01:17 pm
I had to sniff the protocol when I first emulated it.

We have a little of extra info on our extended protocol (on the wiki), but we don;t even have as much documentation as the original. I wish the original documentation was open licensed, I'd at least copy it to our wiki.

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