-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug at decoded message #4
Comments
I think this bug is not in the last release software before 2.4.2! |
I am looking forward to get a hotfix release version. |
Oh wow, that's a pretty embarrasing oversight by us, and I'm glad you noticed the subtle difference. You're right, we should have displayed it as "0x...ABCDEF (512)". I'll bring this up with the team here. Thanks for reporting this, and sorry for the trouble with that. |
Tied to ticket (#77245) |
Ok, I think I found the bug. It actually has been in the JTAG analyzer the whole time, I did test an older version of the SW to make sure it was not a regression: jtag-analyzer/src/JtagTypes.cpp Line 160 in 50faedc
The problem is that we take the trailing end for the subset, but then add the "..." to the start of the data. Note, there are actually 2 different trimming systems in play here. Then, The simplest solution will be to move the ... in the GetStringFromBitStates function to the start, but when these two systems overlap, the results will be ugly. The truncation system in GenerateBubbleText only kicks in when the bubbles are too small to fit the full string in the application. That's a bit tricky to do in the sample provided here, but if you shrink the software window horizontally, you can see it kick in: |
I just tossed in a quick fix to at least make this correct. I need to fix CI on all of our LLA repos before this ships though. |
I've merged the fix to the master branch here, but it won't ship until we've fixed our build on Linux, which right now is pulling in the latest libstdc++ version, which no one has... |
Saleae Logic display wrong decoded message for message size larger than 256 bits:
Version (2.4.2)
{"Environment":"production","Branch":"master","Commit":"7279335064ab01578c4ea5fa100df9f3f1c37353","Version":"2.4.2","AutomationVersion":"1.0.0","MachineID":"43070b86-d9b2-497d-9078-a3818dba19b4","PID":22824,"LaunchId":"bae99020-1c2e-491b-93e4-099590b75b57"}
In Detail:
I try to send via JTAG SVF files like this:
The Logic Analyzer display a valid result!
If I increase the SIR bits to a number larger than 256 bits (e.g.)
A wrong decodes message will be displayed.
Here is the sal file
bug_jtag_decode.zip
The text was updated successfully, but these errors were encountered: