Menu

pycrc / News: Recent posts

Version 0.9 released

Version 0.9 is a feature release.

  • Added a new option --slice-by.
  • Suppressed the crc_reflect function where not needed. Addresses part of #8. Thanks to Craig McQueen.
  • Allow strings with values greater than 0x80 in --check-hexstring.
  • Fixed a bug in CRC when the width is less than 8. Thanks to Steve Geo.
  • Fixed the initial value of the 16-bit CCITT algorithm. Renamed the model from ccitt to crc-16-ccitt. Fixes #7. Thanks to Craig McQueen.
  • Simplified the implementation where Width is less than 8 bits.
  • Run the code through pylint.... read more
Posted by Thomas Pircher 2016-01-14 Labels: v0.9

pycrc has a new home page

pycrc is now self hosted and has a new home page. Please see pycrc.org for more information and the latest download.

Posted by Thomas Pircher 2015-08-02 Labels: self hosted

pycrc 0.8.2 released

Version 0.8.2 is a minor bugfix release.

  • Removed warning about even polynomials.
  • Updated the generated code to cope with big Widths (>32 bits) on 32 bit processors.
  • The table-driven code for polynomials of width < 8 using a table index width less than 8 was producing a wrong checksum.
  • Updated the the documentation.
Posted by Thomas Pircher 2014-12-04 Labels: v0.8.2

pycrc 0.8.1 released

Version 0.8.1 is a bugfix release.

Remove obsolete and unused 'direct' parameter. Thanks to Matthias Urlichs.
Don't recurse into main() when an unknown algorithm is selected. Thanks to Matthias Urlichs.
Fixed a bug in the handling of hexstrings in Python3. Thanks to Matthias Kuehlewein.
The input to the CRC routines can now be bytes or strings.
Re-organised the symbol table.
Updated qm.py from https://github.com/tpircher/quine-mccluskey .

Posted by Thomas Pircher 2013-05-17 Labels: v0.8.1

pycrc 0.8 released

Version 0.8 is a feature release.

Added the experimental bitwise-expression generator target.
Allow to specify the --include option multiple times.
Completely revisited and reworked the documentation.
Allow to abbreviate the names of the algorithms.
Minor documentation changes.

Posted by Thomas Pircher 2013-01-04 Labels: v0.8

pycrc 0.7.11 released

Version 0.7.11 is a minor bugfix release.

Improved Python3 compatibility. pycrc now requires Python 2.6 or later. Fixed a wrong "check" value of the crc-64-jones model. Use sprintf() for C89 code instead of snprintf(). Rewrote the regression test script in Python.

Posted by Thomas Pircher 2012-10-20 Labels: v0.7.11

pycrc 0.7.10 released

Version 0.7.10 is a minor feature and bugfix release:

Added the CRC models crc-12-3gpp, crc-16-genibus, crc-32-bzip2 and crc-64-xz.
Fixed some bad-looking generated C code and cleaned up some mistakes in the man page and some inefficient code in the CRC code generator.

Posted by Thomas Pircher 2012-02-13

pycrc 0.7.9 released

This version fixes a few smaller issues in the code generator. It does no more include stdint.h for C89/ANSI code and deleted an unused variable, missed in the last version and fixed a bug with C89 code for 64 bit CRCs.

Posted by Thomas Pircher 2011-12-08

pycrc 0.7.8 released

This version fixes a few smaller issues in the code generator. It does no more include stdint.h for C89/ANSI code and deleted an unused variable.

Posted by Thomas Pircher 2011-07-10

pycrc 0.7.7 released

Version 0.7.7 fixes a few programming style issues. This version should run better on Python 3.x.

Posted by Thomas Pircher 2011-02-11

pycrc 0.7.6 released

Fixed a minor bug in the command line parsing of the generated main function.
Use integer division for Python3 compatibility.
Complete rewrite of the internal macro language and code generator.

Posted by Thomas Pircher 2010-10-21

pycrc 0.7.5 released

  • The table-driven algorithm can handle widths that are not byte-aligned as well as widths less than 8.
  • Removed half-baken and confusing --direct option. Closes issue 2938846.
  • Code clean-up; the generated C code should no more generate warnings about unused variables.

Version 0.7.5 introduces a C/C++ API change: this version introduces the additional (internal) parameter crc_shift in the crc_cfg_t structure. This variable is used by the table-driven algorithm when the width is not defined during code generation. This variable is zero if the width is >= 8.

Posted by Thomas Pircher 2010-03-28

pycrc 0.7.4 released

  • Set xmodem parameters equal to zmodem params.
  • Changed the xor-in value of the crc-64-jones model.
  • Added crc-16-modbus model. Closes issue 2896611.
  • pycrc now writes a warning message if an even polynom is used.
  • Fix for unused variable argv. Closes issue 2893224.
    Thanks to Marko von Oppen.
Posted by Thomas Pircher 2010-01-24

pycrc 0.7.3 released

  • added crc-64-jones model. Thanks to Waterspirit.
  • renamed crc-32mpeg to crc-32-mpeg.
Posted by Thomas Pircher 2009-10-25

pycrc 0.7.2 released

pycrc v0.7.2, an easy to use CRC calculator and source code generator.

Version 0.7.2 is a small bugfix release:

Fixed a bug that caused the result of the Python table-driven code not being evaluated at all.
Closes issue 2870630. Thanks to Ildar Muslukhov.

Posted by Thomas Pircher 2009-09-30

pycrc 0.7.1 released

Version 0.7.1 is only a small feature enhancement release:
- added crc-32mpeg model. Thanks to Thomas Edwards.

Posted by Thomas Pircher 2009-04-05

pycrc 0.7 released

Version 0.7 of pycrc contains the following changes:

  • added --direct option. Now it is possible to select 'direct' and 'not direct'
    version of the algorithm.
  • added --check-hexstring option. With this option it is possible to check a
    hexadecimal number on-the-fly. Closes issue 2545183. Thanks to Arnim Littek.
  • added a check for extra arguments on the command line. Previously, additional
    arguments were silently ignored. Closes issue 2545185. Thanks to Arnim Littek.... read more
Posted by Thomas Pircher 2009-02-27

pycrc 0.6.7 released

Version 0.6.7 of pycrc contains the following changes:

  • the code should run on both Python v2.x and v3.0.
  • fixed a bug that gave wrong results on x64 platforms.
  • fixed a bug that raised an exception when an unknown model was selected.
Posted by Thomas Pircher 2008-12-11

pycrc 0.6.6 released

Version 0.6.6 of pycrc contains the following changes:

  • Fixed a bug in the print_params function. Closes issue 1985197.
    Thanks to Artur Lipowski.
  • Creative Commons license for the documentation.
Posted by Thomas Pircher 2008-06-06

pycrc 0.6.5 released

Version 0.6.5 of pycrc contains the follwoing changes:

  • New CRC models: dallas-1-wire and r-crc-16
    Thanks to "raimondo"
  • fixed a problem with the generated code for bit-by-bit-fast algorithms.
    Thanks to Hans Bacher.
  • added extern "C" declaration to the generated C header file.
    Thanks to Nathan Royer.
  • added --crc-type and --include-file options.
Posted by Thomas Pircher 2008-03-02

pycrc 0.6.4 released

Version 0.6.4 of pycrc fixes the following bugs:

  • issue 1843774: The code does not work for multiple calls to crc_update()
Posted by Thomas Pircher 2007-12-05

pycrc 0.6.3 released

pycrc is a parametrisable Cyclic Redundancy Check (CRC) calculation utility and C source code generator written in Python.

This are the enhancements and bugfixes in version 0.6.3:
- Added new CRC models: crc-5, crc-15, crc-16-usb, crc-24, crc-64. The parameters are taken from Ray Burr's CrcMoose.
- Fixed issue 1812894: portability problems in the generated code. Thanks to Helmut Bauer.
- Fixed issue 1794343: --check-file works now with --width < 8.
- Fixed issue 1794344: unnecessary restriction on the width when using the bit-by-bit-fast algorithm.
For a detailed list of changes, please refer to the ChangeLog file.

Posted by Thomas Pircher 2007-10-13

pycrc 0.6.2 released

pycrc is a parametrisable Cyclic Redundancy Check (CRC) calculation utility and C source code generator written in Python.

Version 0.6.2 is a bugfix and code cleanup release. No new features have been added.
Fixed issue 1781637: The parameter to --check-string is ignored
Fixed issue 1727128: Generated Table driven code is ugly/not elegant

For a detailed list of changes, please refer to the ChangeLog file.

Posted by Thomas Pircher 2007-08-25

pycrc 0.6.1 released

I'm glad to announce version 0.6.1 of pycrc.

This is a bugfix and code cleanup release. No new features have been added.
Previously deprecated command line options have been deleted in this
version.

For a detailed list of changes, please refer to the ChangeLog file.

Posted by Thomas Pircher 2007-08-13

pycrc 0.6 released

I'm glad to announce version 0.6 of pycrc.

This release contains a major rewrite of the code generation back-end and a re-organisation of the source code.

Command line options containing the underscore have been deprecated new pendants with dashes instead have been introduced. The old format is now deprecated and will be dropped in the next release.

New in this version is the --generate table command line option to generate just the C table and the --std option to generate C89 (ANSI) or C99 code.... read more

Posted by Thomas Pircher 2007-05-21