| Jan Waclawek 08/04/07 17:41 Read: 795 times Bratislava Slovakia |
#142772 - table is not necessary Responding to: Michael Karas's previous message |
Just a note, I've personally never met a case when in a '51 I would really need the table-driven CRC - the algorithmic method might be slightly slower but not significantly, and the tasks a '51 usually fulfills usually allow for a few extra microseconds. I see the nibble method for the first time now but I suspect on '51 it is slower than the usual algorithmic method (longer data word processors are different of course).
It of course does not really matter if you have kilobytes of flash spare, but starts to be interesting if you have to squeeze in the whole stuff within a tight space to be able to use the sub-$ micros. I am speaking of asm implementation, of course - this is so trivial that I see no point to fall back to C or anything similar. YMMV. JW |
| Topic | Author | Date |
| How to create a crc table? | John Myers | 08/04/07 02:33 |
| simple | Jan Waclawek | 08/04/07 08:10 |
| RE: simple | John Myers | 08/04/07 15:34 |
| I said it\'s simple | Jan Waclawek | 08/04/07 17:33 |
| Thank you | John Myers | 08/04/07 18:27 |
| Protocols | Andy Neil | 08/06/07 07:48 |
| examples | Jan Waclawek | 08/06/07 08:05 |
| Runtime Computed Table?? | Michael Karas | 08/04/07 09:14 |
| RE: Runtime...? | John Myers | 08/04/07 16:02 |
| table is not necessary | Jan Waclawek | 08/04/07 17:41 |
| Benchmark | John Myers | 08/04/07 18:16 |
| I did benchmarks as such on AVR | Michael Karas | 08/04/07 19:38 |
| Similar findings | Russell Bull | 08/04/07 21:05 |
| no beavers that I've tended to!! | Michael Karas | 08/04/07 22:50 |
| not bitwise.... | Jan Waclawek | 08/05/07 02:45 |
| Better is a strong word | Neil Kurzman | 08/05/07 21:19 |
| Also comment about SMBus PEC Code... | Michael Karas | 08/05/07 21:30 |
| The Table | Neil Kurzman | 08/06/07 11:19 |
| The Nibble Table for Poly 107 | Neil Kurzman | 08/06/07 11:20 |
| The formula | Neil Kurzman | 08/06/07 11:22 |
| Have you seen this? | Richard Erlacher | 08/06/07 18:42 |
| Now I have | Neil Kurzman | 08/06/07 21:26 |
Yes, that is a Key Document! | Andy Neil | 08/07/07 02:45 |



