LPC analyer plugin for the Kingst branded Logic Analysers. This was developed using their SDK.
Minimum Sample Rate of 200Mhz is required
This is considered BETA and the code has been hastily put together. All results may not be accurate. So use at your own risk.
Download a pre-build x64 DLL built for Win10 from the Releases
section.
I tried to implement as many features as possible within reason. This has been designed around the Original Xbox LPC implementation so is limited to Memory and IO Read and Writes. LFRAME signal is required though.
Termination of broken cycles is partially handled (Does not throw an error, but will recover for next frame)
The following features are implemented in a basic form:
- Proper settings screen.
- Samples the LADs at the centre of the lower clock pulse (Way better accuracy in my experience)
- Descriptive text bubbles.
- Combines Address nibbles accordingly in text bubbles as per the LPC spec.
- The tabular view ('Decoded Results') along the side populates fully
- Can export to a CSV. This is laid out to one transaction per line, comma separate by nibble with a timestamp of the first LFRAME in that transaction.
- Some basic error handling (Sync error and LFRAME error)
- An inbuilt simulator for debugging (Hit record with your Logic Analyser Disconnected)
- Download the Kingst SDK from http://www.qdkingst.com/en and extract to a working folder.
- Clone this repository into the SDK working folder.
- Setup Visual Studio with Windows SDK and Platform Toolset (I used the latest rev of SDK 10.0, Platform Toolset v142)
- Open
LpcAnalyzer.vcxproj
in the vs2019 folder. - If you point the Debugger to the KingstVIS.exe and compile the DLL as debug, you can step through the code. (You need to copy the debug .DLL to the Kingst analyser folder.)
- Set build properties to Release and x64/x86. This has been tested mainly on x64 build.
- A DLL file will be generated which should be copied to the Kingst Analyzer folder.
- Browse the the
Linux
folder of this repo and typemake
. - Copy the
libLPC.so
copied to the KingstVIZ softwareAnalyzer
folder.
By Ryzee119
Contributor b1ghamm3r