Skip to content

SW-DP (Serial Wire Debug Port) Analyzer plugin for the Saleae Logic

Notifications You must be signed in to change notification settings

majbthrd/SaleaeSWDAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SW-DP (Serial Wire Debug Port) Analyzer plugin for the Saleae Logic

The SW-DP protocol is described by the following publicly available documents:

DDI 0316 CoreSight™ DAP-Lite Technical Reference Manual

Programming Internal Flash Over the Serial Wire Debug Interface

CY8C41xx, CY8C42xx Programming Specifications

Background

This was written in 2013, long before Saleae started bundling their own "SWD" analyzer. I continue to find that this analyzer decodes transactions that the Saleae offering seems unable to.

Building

The Saleae SDK requires Python to script the build of an analyzer; if your computer doesn't have this installed, you are out of luck.

After downloading this project's code, issue the following command to download the SDK files from Saleae's github page:

git submodule update --init AnalyzerSDK

Read the file ./AnalyzerSDK/lib/readme.txt and follow its instructions. It will direct you to rename libAnalyzer64.so to libAnalyzer.so if you are running 64-bit Linux.

To compile, run the following from the base directory of this project:

python build_analyzer.py

Consult the Saleae support web site and their SampleAnalyzer for any issues with the compilation procedure.

The end result of compilation is a library in the "SW-DP/release/" subdirectory. This file must be copied to the "Analyzers" subdirectory of the Saleae Logic software.

License

The contents of this repository are released under LGPL 2.1.

About

SW-DP (Serial Wire Debug Port) Analyzer plugin for the Saleae Logic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published