Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: elklepo on September 18, 2020, 11:42:00 pm

Title: Logic Analysis problem
Post by: elklepo on September 18, 2020, 11:42:00 pm
Hello,

I just bought Bus Pirate 3.8 and I've updated it successfully to bootloader 4.5 and FW 7.1 form September 2019.

I'd like to play with logic analysis but unfortunately I'm unable to make either OLS (https://lxtreme.nl/projects/ols/) or LAC (https://www.sump.org/projects/analyzer/client/) work properly. Both tools after setting up values in "Capture" section (according to tutorials) and pressing "Capture" don't behave properly - OLS says that capture is in progress (forever) and LAC shows some generic error. Bus Pirate after starting capturing does not light the MODE LED (which it should according to tutorials) but after another try it sometimes lights MODE LED but hangs forever in this state.

Do you know whether either of these tools is working properly with 7.1 or my device is broken (self test passes)? Is there any other way to play with logic analysis with Bus Pirate?
Thanks :)
Title: Re: Logic Analysis problem
Post by: tayken on September 20, 2020, 09:54:16 am
It sounds like a trigger issue in OLS, are you setting up any triggers? If you set up triggers, the device will not start capturing until trigger conditions are met.
Title: Re: Logic Analysis problem
Post by: USBEprom on September 20, 2020, 12:00:24 pm
Hi elklepo.
Please, thake a look here:

http://dangerousprototypes.com/forum/index.php?topic=8921.msg67812#msg67812

https://github.com/BusPirate/Bus_Pirate/issues/109

Sadly since the very first release of the v7.0, SUMP never worked, not even the upgrade provided here http://dangerousprototypes.com/forum/viewtopic.php?f=28&t=8498#p65290 and of course none of the firmwares I built and shared on the dangerousprototypes forum too.
Old firmwares v5.10, v6.1, v6.2 and v6.3 are working fine, though.
As always tayken is right, the defect is due a problem while triggering, does not matter wich client is used, because the problem exists both with ols-0.9.8 and ols-0308 from Jawi.
Acquisition does not start by honoring triggers settings and instead it activates itself spontaneously in an arbitrary way in its end displaying spurious signals on video also referred to disconnected inputs, namely inputs left free and therefore not physically connected to anything, floating.

Be seeing you.

U.Sb
Title: Re: Logic Analysis problem
Post by: USBEprom on September 20, 2020, 04:49:30 pm
...and again about SUMP it may also be worth to add that it seems acquisition delayed does not work with the Bus Pirate:

http://dangerousprototypes.com/forum/index.php?topic=7914.msg63509#msg63509
http://dangerousprototypes.com/forum/index.php?topic=7759.msg63216#msg63216

Be seeing you.

U.Sb
Title: Re: Logic Analysis problem
Post by: elklepo on September 20, 2020, 05:17:06 pm
Thanks @USBEprom and @tayken for your explanation.
So basically there is no option to make 7.0+ work even without triggers? (I see the issue no matter if triggers are set or not)
If there is no such an option I'll just switch to one of the previous FW builds. :)
Title: Re: Logic Analysis problem
Post by: tayken on September 20, 2020, 06:01:09 pm
I am not familiar with firmware v7.0+ as I stuck with v6.1 and took a long break about 5 years ago.

If you want to try out v6.1, you can find it in the Download section of the wiki: http://dangerousprototypes.com/docs/Bus_Pirate#Download
Title: Re: Logic Analysis problem
Post by: elklepo on September 20, 2020, 09:19:57 pm
I've flashed 6.1 and it works fine with OLS 6.7.2. Thank you guys for your help!

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