Difference between revisions of "User:PeterMortensen"

From sigrok
Jump to navigation Jump to search
(Added a new sub section, "Task list" (no meat).)
(→‎Some bug reports: Added some meat.)
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Recent activity==
==Recent activity==
===2018-04===
Submitting comprehensive sample data for CAN bus, both 11-bit and 29-bit messages, and corresponding test cases (mostly for regression test - especially regression for [https://sigrok.org/bugzilla/show_bug.cgi?id=1085 the 2018-04-12 fix to the decoding at the end of the CRC part]).
Notes to self:
# Original acquired analog data: C:\temp2\2017-12-23\CAN decoder, new stuff bit handling at the end of the CRC segment\Data67\In\ACQ000009_Tektronix.txt


===2017-12===
===2017-12===


Recording 23483 traces for the purpose of evaluating a proposed fix to the CAN protocol decoder, stuff bit at the very end of the CRC segment, with a modified trigger scheme: change the position of the trigger point at the end so there is always a CAN message in the trace (for the previous), but still 26 us recessive. The time division was 100 us / div (about 225 bit times max) to always record whole CAN messages - at 10 samples per bit time.
Recording 22483 traces for the purpose of evaluating [https://sigrok.org/bugzilla/show_bug.cgi?id=1085 a proposed fix to the CAN protocol decoder] (actually only changing a single number from 16 to 17), stuff bit at the very end of the CRC segment, with a modified trigger scheme:  
 
* Change the position of the trigger point to the end (right) so there is always a CAN message in the trace (for the previous), but still 26 µs recessive.
 
The time division was 100 µs / division (about 225 bit times max) to always record whole CAN messages - at 10 samples per bit time.


===2017-07===
===2017-07===
Line 17: Line 29:
Using [[PulseView]] to decode data from a Tektronix oscilloscope of SPI communication to a CAN controller, [http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010406 MCP2515].
Using [[PulseView]] to decode data from a Tektronix oscilloscope of SPI communication to a CAN controller, [http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010406 MCP2515].


==Task list==


==Task list==
Currently not in priority order.
 
* Allow import of analog data through CSV files. (Related: fixed  [https://sigrok.org/bugzilla/show_bug.cgi?id=1064 bug 1064] - ''locale'' issue, decimal point, "," vs. ".".).
 
* Add detection of error frames to the CAN protocol decoder
 
* Add support for the gigga watt EEVBlog multimeter (Bluetooth, etc.)
 
* Add a snap feature to the "cursor" (blue) in PulveView
 
* Change number of significant digits for the time display in the "cursor" (blue) in PulveView
 
* Submit selected sample traces for CAN decoder change (for CRC segment) validation. With and without stuff bits in various places. With and without timing deviations. (Related: [https://sigrok.org/bugzilla/show_bug.cgi?id=1085 bug 1085], celeron55's fix, '''''if len(self.bits) > self.last_databit + 16''''' → '''''if len(self.bits) > self.last_databit + 17''''' (16 → 17)).
 
* Add support for the [[Tektronix TDS2000B series|TDS2000]] series in libsigrok, and thus, by extension, use by the new shiny stuff in PulveView.
 
===On wiki===
 
* Change recommended procedure for submitting sample Sigrok files (traces), on ''[[Example dumps#Contributing dumps|Example dumps]]''.
 
==Glossary==
 
*''BBB'' [https://en.wikipedia.org/wiki/BeagleBoard#BeagleBone_Black BeagleBone Black]
*''GH'' [http://en.wikipedia.org/wiki/GitHub GitHub]
*''ISTR'' ????
*''LA'' Logic analyser
*''ML'' Mailing list
*''OLS'' ????
*''PR'' Pull request (a Git term). ''Not'' "problem report".
*''SR'' Sigrok
*''srd'' ????
*''WIP'' Work in progress. Mostly related to particular Git commits.
*''PD'' protocol decoder. Non-standard spellings are ''Pd'' and ''pd''.
*''PV'' PulseView. Non-standard spellings are ''Pv'' and ''pv''.
 
==Some bug reports==
 
* [https://sigrok.org/bug/1155 Possible problem with the MSO-19 USB driver on Windows]. PulveView crashes at startup if the MSO-19 is connected.


==Interests==
==Interests==
Line 78: Line 128:
* [[Example dumps|Example data dumps]] - sample data in .sr format. Also includes instructions on how to contribute new ones. Includes the command line to get the whole thing using Git (as of 2017-11-26, 2286 "objects", 724 .sr files, about 65 MB in download size, 192 MB on disk).
* [[Example dumps|Example data dumps]] - sample data in .sr format. Also includes instructions on how to contribute new ones. Includes the command line to get the whole thing using Git (as of 2017-11-26, 2286 "objects", 724 .sr files, about 65 MB in download size, 192 MB on disk).
* [[Special:Random|Random page]]
* [[Special:Random|Random page]]
* [https://sigrok.org/jenkins/job/sigrok-native-appimage/ Native app image] (not official yet). Is for Linux and x86 only. See also [https://en.wikipedia.org/wiki/AppImage AppImage] (Wikipedia).
* [[Press]]. List of annotated links, mostly blog posts.
* [[Probe comparison]]
* [[Link Instruments MSO-19|MSO-19]]. Mixed oscilloscope and logic analyser by Link Instruments that (or rather its driver) crashes PulveView at startup when connected (until some time in mid 2018(?)). Some reverse engineering has been done in 2012, but it is not supported (has status "Planned"). [https://sigrok.org/bugzilla/show_bug.cgi?id=1155 Sigrok bug report for the crash]. [http://www.linkinstruments.com/doupdate_mso19.htm Software download page for it.]


===Protocol decoders===
===Protocol decoders===
Line 91: Line 145:
* On Debian (e.g. Raspberry Pi): [[Linux#Building 3|Actual build]]
* On Debian (e.g. Raspberry Pi): [[Linux#Building 3|Actual build]]
* Alternative to following the wiki pages: [https://sigrok.org/gitweb/?p=sigrok-util.git;a=blob;f=cross-compile/linux/sigrok-cross-linux;h=2c8e559efde8cf6ae9a365bf1a4324a33600fae7;hb=HEAD a script that will do most of it]. (''[sigrok-util.git] / cross-compile / linux / sigrok-cross-linux'')
* Alternative to following the wiki pages: [https://sigrok.org/gitweb/?p=sigrok-util.git;a=blob;f=cross-compile/linux/sigrok-cross-linux;h=2c8e559efde8cf6ae9a365bf1a4324a33600fae7;hb=HEAD a script that will do most of it]. (''[sigrok-util.git] / cross-compile / linux / sigrok-cross-linux'')
* Windows:
**On Windows: [[Windows#Native_build_using_MSYS2|Native build using MSYS2]] (but may not really work - sigrok-cli and PulseView are listed as not working).
**[[Windows#Cross-compile_using_MXE|Cross compile on Linux]] (using [http://mxe.cc/ MXE]). The script is [https://sigrok.org/gitweb/?p=sigrok-util.git;a=blob;f=cross-compile/mingw/sigrok-cross-mingw;h=8330406ecd28969d8d29c8ad23df8968a4b9ec68;hb=HEAD /sigrok-util/cross-compile/mingw/sigrok-cross-mingw]. Used for nightlies? [https://sigrok.org/jenkins/job/sigrok-cross-mingw/buildtype=static,debugtype=debug,platform=cross-i686-w64-mingw32/ Jenkins page for the debug version].
* The Jenkins thingy - automatic build, e.g. nightlies for PulseView and "AppImage" (self-contained executable for x86 Linux). Sample: [https://sigrok.org/jenkins/job/sigrok-cli/ sigrok-cli] with 44 configurations (43 cross-compiles), e.g. cross-x86_64-w64-mingw32 (for Windows 64-bit?).

Revision as of 17:43, 5 May 2018

Recent activity

2018-04

Submitting comprehensive sample data for CAN bus, both 11-bit and 29-bit messages, and corresponding test cases (mostly for regression test - especially regression for the 2018-04-12 fix to the decoding at the end of the CRC part).

Notes to self:

  1. Original acquired analog data: C:\temp2\2017-12-23\CAN decoder, new stuff bit handling at the end of the CRC segment\Data67\In\ACQ000009_Tektronix.txt

2017-12

Recording 22483 traces for the purpose of evaluating a proposed fix to the CAN protocol decoder (actually only changing a single number from 16 to 17), stuff bit at the very end of the CRC segment, with a modified trigger scheme:

  • Change the position of the trigger point to the end (right) so there is always a CAN message in the trace (for the previous), but still 26 µs recessive.

The time division was 100 µs / division (about 225 bit times max) to always record whole CAN messages - at 10 samples per bit time.

2017-07

Using the sigrok command-line ("sigrok-cli") to bulk process data derived from Tektronix oscilloscope data of 250 kbit/s CAN traffic on a real-world system (mobile cranes). The first sample data set is 5335 oscilloscope traces obtained with the trigger set to a negative pulse on CAN-H (to start off at the end of a CAN message) - corresponding to 6.5 recessive bits, 26 µsec (detecting the space in-between CAN messages). Sometimes there is a CAN message right after this, sometimes it is a bit delayed, and sometimes it is completely empty.

A sample command line (on Windows) is:

sigrok-cli -P can:bitrate=250000:can_rx="CAN RX" -P timing:data="CAN RX" -I csv:header=true:samplerate=5000000 -i "T:\stdHMF\UserData\scripts\Tektronix2PulseView\_PulseView_AllChannels_ACQ000001_Tektronix_f5000000.txt"

2017-04

Using PulseView to decode data from a Tektronix oscilloscope of SPI communication to a CAN controller, MCP2515.

Task list

Currently not in priority order.

  • Allow import of analog data through CSV files. (Related: fixed bug 1064 - locale issue, decimal point, "," vs. ".".).
  • Add detection of error frames to the CAN protocol decoder
  • Add support for the gigga watt EEVBlog multimeter (Bluetooth, etc.)
  • Add a snap feature to the "cursor" (blue) in PulveView
  • Change number of significant digits for the time display in the "cursor" (blue) in PulveView
  • Submit selected sample traces for CAN decoder change (for CRC segment) validation. With and without stuff bits in various places. With and without timing deviations. (Related: bug 1085, celeron55's fix, if len(self.bits) > self.last_databit + 16if len(self.bits) > self.last_databit + 17 (16 → 17)).
  • Add support for the TDS2000 series in libsigrok, and thus, by extension, use by the new shiny stuff in PulveView.

On wiki

  • Change recommended procedure for submitting sample Sigrok files (traces), on Example dumps.

Glossary

  • BBB BeagleBone Black
  • GH GitHub
  • ISTR ????
  • LA Logic analyser
  • ML Mailing list
  • OLS ????
  • PR Pull request (a Git term). Not "problem report".
  • SR Sigrok
  • srd ????
  • WIP Work in progress. Mostly related to particular Git commits.
  • PD protocol decoder. Non-standard spellings are Pd and pd.
  • PV PulseView. Non-standard spellings are Pv and pv.

Some bug reports

Interests

I am mostly interested in:

Protocol decoders

Non-empty wiki pages

Currently (2017-07-08), 28 of 77 protocol decoders (36%) have non-empty pages here on the wiki:

Profile

Profile: see my Wikipedia user page.

Credentials: more than 5000 edits on the English Wikipedia.

Shortcuts

Protocol decoders

Building sigrok