crc Questions
4
Solved
3
Solved
Upd. See the end of post for working code
I'm already mad with this. How can I make checksum from CRC unit on stm32f103 match with software implementation? Stm has polynom 0x04C11DB7 and reset val...
3
If I have a certain number of bytes to transfer serially, how do I determine which CRC (CRC8, CRC16, etc., basically a how many bit CRC?) to use and still have error detection percentage be high? I...
Spivey asked 23/6, 2010 at 19:22
5
4
I'm modifying a firmware file (.jic) JTAG Indirect Configuration File with a small algorithm, but changing data inside the file makes it unusable because there is a checksum somewhere in the file t...
Gamb asked 17/7, 2017 at 14:53
7
Solved
I'm working on a library to provide simple reliable communication over an RS232 or RS485 connection. Part of this code involves using a CRC16 checksum on the data to detect corruption from line noi...
2
Solved
I know that implementations exist for SHA-1 and SHA-256 in System.Security.Cryptography.
Is there anything built in that can compute CRC hashes?
15
Solved
What is the fastest way to create a hash function which will be used to check if two files are equal?
Security is not very important.
Edit: I am sending a file over a network connection, and will...
5
Solved
I have seen multiple implementation of crc8 implementation in C, but I am unable to figure out for polynomial(x8,x5,x4,1) i.e. 0x31 and initialization 0xFF.
Also reflect input = False, reflect ou...
4
I need to calculate exactly CRC-8-Dallas/Maxim. Can someone provide an algorithm?
Any help is appreciated!
4
Solved
I'm trying to add CRC16 error detection to a Motorola HCS08 microcontroller application. My checksums don't match, though. One online CRC calculator provides both the result I see in my PC program ...
Kathrynekathy asked 15/12, 2010 at 21:45
3
Solved
3
I need to get CRC64 checksum of files using PHP.
With this code
file_put_contents('example.txt', 'just an example');
echo hash_file('crc32', 'example.txt');
I get CRC32 checksum "c8c429fe";
B...
8
Solved
Problem
I am writing code for an embedded device. A lot of solutions out there for CRC-CCITT 16-bit calculations require libraries.
Given that using libraries is almost impossible and a drain on ...
Incase asked 11/8, 2014 at 8:59
14
Solved
When is it appropriate to use CRC for error detection versus more modern hashing functions such as MD5 or SHA1? Is the former easier to implement on embedded hardware?
4
Solved
I need to calculate this CRC using Python for the communication with Aurora (ABB) solar inverter.
This is the document: http://www.drhack.it/images/PDF/AuroraCommunicationProtocol_4_2.pdf
in the l...
3
I tried to find out how to calculate the error detection capabilities of arbitrary CRC polynomials.
I know that there are various error detection capabilities that may (or may not) apply to an arb...
Keene asked 19/8, 2016 at 22:10
8
4
Solved
I have the following frame:
7e 01 00 00 01 00 18 ef 00 00 00 b5 20 c1 05 10 02 71 2e 1a c2 05 10 01 71 00 6e 87 02 00 01 42 71 2e 1a 01 96 27 be 27 54 17 3d b9 93 ac 7e
If I understand correctly...
Maziemazlack asked 2/11, 2011 at 16:30
7
Solved
I've seen 8-bit, 16-bit, and 32-bit CRCs.
At what point do I need to jump to a wider CRC?
My gut reaction is that it is based on the data length:
1-100 bytes: 8-bit CRC
101 - 1000 bytes: 16-bit...
3
Solved
Is there any library/code in Java to calculate the 32-bit CRC of a stream of bytes in a way thats consistent with the cksum command in unix ?
2
There are two ways of implementing CRC generation with linear feedback shift registers (LFSR), as shown in this figure . The coefficients of generator polynomial in this picture are 100111, and the...
Collodion asked 20/8, 2014 at 22:48
1
Where I can find this crc32() function in detail? I saw this Link but I couldn't figure out how CRC is being calculated.
I asked a question about updating the CRC based on the data stream instead o...
Hales asked 31/12, 2020 at 1:21
10
I want to calculate the CRC of file and get output like: E45A12AC. Here's my code:
#!/usr/bin/env python
import os, sys
import zlib
def crc(fileName):
fd = open(fileName,"rb")
content = fd.rea...
1
Solved
Is it possible to calculate the CRCs on the fly (in the streams)?
For example, I have 1-gigabyte data and I want to reduce the possibility of undetected errors.
I want to implement something (CRC o...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.