How Can I Decode TPM with the Beagle I2C/SPI Protocol Analyzer?

Image of locked code.

Image by Geralt

Question from the Customer:

We have protocol analyzers that support SPI, but none of them have the ability to decode a Trusted Platform Module (TPM) that protects embedded system applications. Can your Beagle I2C/SPI Protocol Analyzer decode TPM?

Response from Technical Support:

Thanks for your question! Our Beagle I2C/SPI analyzer does not decode TPM directly. However, we have two software applications that could be part of the solution you are looking for: Data Center Software and Beagle Software API, both of which you can download for free. In addition to decoding, both applications support capturing large streams of data.

Export and Decode Data

With Data Center Software, you can export the data as a CSV file, and then create a script to parse the CSV and decode the data. We have a case study that explains how a customer used the Beagle USB 480 Protocol Analyzer with a decoder program:

  1. Capture data with the Beagle analyzer with a normal setup
  2. Create a script in the Data Center Software to export the data
  3. Create a shell script for the decoder program process the data

Here are sample files and executables you can use as is or modify for your decoding.

For more information about exporting files from Data Center Software, please see the section on Exporting a File in the Beagle Protocol Analyzer User Manual.

Capture and Decode Data Directly

For greater flexibility, consider the Beagle Software API for writing a script that fulfills your project requirements. You can use API to control the Beagle analyzer directly, as well as capturing the data packets. API supports multiple operating systems and programming languages. Also, functional scripts are provided that you can use as is or modify as needed.

We hope this answers your questions. Additional resources that you may find helpful include the following:

If you want more information, feel free to contact us with your questions, or request a demo that applies to your application.