gktwave is a beautiful open source logic analyser which I'm using to check the signals generated in my immediateC project for my home automation system.
It uses two input files: a .vcd and a .sav file. Both are generated by the immediateC environment when compiling the iC project.
Once the files are available you can run gtkwave <vcd_file> <sav_file>.
To generate the gitwave files add the following line to the immediateC setup file:
-v <vcd_name>.vcd
This will generate both .vcd and .sav files. Only the .vcd file has to be given to gtkwave to show the signals.
sudo apt install gtkwave
Open gtkwave (currently installed on WSL2 on Windows only)
Select File -> Open new tab
If there's an SSH FS connection to the Raspberry Pi select the connection and open the .vcd file
Once the .vcd file is loaded a collapsed treeview will be visible with the name of the immediateC project file
Click on the + sign to expand the tree view
You will see a list of high level signals: click on one of them to see the signal in the logic analyser view
If you want to see all the detailed signals, click on the name of the tree view: all the detailed signals will show up in the bottom area showing the signal type and the signal name
Signal wires give the most detail: select one and see for the result in the logical analyser area.
Select a signal in the Signals section to activate extra features for that signal:
jump to next/previous edge
jump to beginning/end of the signal
...
Check the User's guide for all the details, it's worth it!
Enjoy using gitwave!