• 0
GeorgeIoak

Write Protocol Output Directly to File

Question

I've got Protocol setup to capture I2C data and that's working well but I'm trying to analyze communication when running the I2C bus at 400kHz and compare it against 100kHz traffic. I'm loading firmware over I2C and trying to find why when doing this at 400kHz the firmware isn't loaded properly. 

The traffic is too large for the "buffer" so I was wondering if someone has a script or point me to the best way to use the I2C protocol decoding and have it write directly to a file so I can capture all of the traffic.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi @GeorgeIoak

You could use the 4th device configuration to have more device buffer.
For such, probably timing issues it might be better to use the Logic Analyzer and try to trigger on the issue or on its consequence, like on an odd NAK...

image.png.4353d6c84a97bf76df1132af8c4b38f6.png

Share this post


Link to post
Share on other sites
  • 0

I am using the 4th option. The problem doesn't seem to be consistent so I was hoping to just do a bunch of captures and diff the results. The LA captures are harder to work with because every transaction is on a separate line and doesn't always match up.

 

I was hoping there was an easy way to script the protocol output to just write to a file

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now