Source: https://github.com/g3gg0/flipper-logic_analyzer I'm in the process of bringing this in line with the latest flipper firmwares. Right now it loads on my flipper, next I need to test its functionality for bugs. Here are the steps I used to upload:
-
Install ufbt (
pip install --upgrade ufbt
) -
Install PulseView
-
Clone this repo:
git clone https://github.com/ecopsychologer/flipper-logic-analyzer
-
Change directories into the repo:
cd flipper-logic-analyzer
-
Run the app
ufbt launch APPID=logic_analyzer
-
Launch PulseView and connect to channels C0, C1, C3, B2, B3, A4, A6, A7
Try to start pulseview from the terminal if you encounter problems with the configuration pulseview via guipulseview -d ols:conn=/dev/ttyACM1
Then start PulseView and add a new "Openbench Logic Sniffer (ols)" and select the second flipper serial port.
When arming, you can now look at the trace in PulseView.
Changes:
- all 8 channels supported Channel 0 is C0, Channel 1 is C1, ... Channel 7 is A7
- fixed sampling rate not supported (yet?)
- if a trigger level is defined, no matter which one, the signals are captured as soon this signal changes
- maximum capture rate unclear. didn't make any tests. guess in the 100kHz range
- sample count capped to 16384 for now. didn't check what is possible using malloc()
- only ONE SHOT currently supported. unknown reason. you have to close and reopen the capture window in PulseView (probably bug in PulseView?)
Discussion thread: https://discord.com/channels/740930220399525928/1074401633615749230