On Tue, Jan 28, 2020 at 8:20 AM Jon Elson via cctalk
wrote:
> Soem years ago I needed to crack the CRC on a Fanuc serial
> encoder. Luckily, the CRC value
> was just 5 bits. I built a device to read out and store the
> data from the encoder on a PC.
> Then, I wrote a little c program that had a
Hello Peter!
Thanks for the effort to help!
I maybe should elaborate a bit on what I am doing and what equipment is
involved. The sending equipment is a Alfaskop CPR4101 communication
processor. Basically IBM 3274 model C BSC compatible. There is some
description on how it communicates using BSC
So it all turned out to be a single bit error in the first message that
prevented me from finding the algorithm.
The annoying thing was that I used pretty much the same algorithm that
Peter provided but since I mostly looked for match of the first message and
then that CRC bytes were swapped made
> Initial value would be zero; that's common for several of the older
> CRCs (including CRC-CCITT used by DDCMP).
The other common initializer seems to be 0x.
De
On Sun, Jan 26, 2020 at 2:59 PM Mattis Lind via cctalk
wrote:
> Hello IBM BSC Experts!
I used to be one 25 years ago, but it's been that long since I've even
set up a BSC line.
> I am trying to figure out the CRC algorithm used by IBM BSC...
>
> From this document (
>
On 01/27/2020 02:20 AM, Mattis Lind via cctalk wrote:
Yes, there are the crc reveng for example. But I cannot get it to generate
the CRC digits that matches. Neither does it give me anything when I ask it
to search for algorithm used.
Of course it is probably just me that don't understand it
Mattis Lind wrote:
>
> > > I have two actual messages from equipment employing IBM BSC:
> > > 32016CD90240404070032688
> > > and
> > > 32016CD90240C84050030D28
>�> >
>
How about this code:
#include
int crc16(unsigned char *ptr, int count)
{
unsigned int crc;
char i;
crc = 0x;
Mattis Lind wrote:
>
> Hello Peter!
>
> Thanks for the effort to help!
>
> I maybe should elaborate a bit on what I am doing and what equipment is
> involved. The sending equipment is a Alfaskop CPR4101 communication
> processor. Basically IBM 3274 model C BSC compatible. There is some
>
> On Jan 26, 2020, at 6:05 PM, Peter Coghlan via cctalk
> wrote:
>
> Mattis Lind wrote:
>
>>
>> Hello IBM BSC Experts!
>>
>> I am trying to figure out the CRC algorithm used by IBM BSC. I have tried a
>> lot of different settings in crcreveng but not getting a match.
>>
>
> I'm
Den mån 27 jan. 2020 kl 02:07 skrev Chuck Guzis via cctalk <
cctalk@classiccmp.org>:
> On 1/26/20 3:12 PM, Bob Smith via cctalk wrote:
> > I ma rusty on this, been almost 50 years since I worked on the DP8EP
> > aka the KG83. then the KG11, and the Autodin 2 CRC32 designs in
> > hardware.
> > I
On 1/26/20 3:12 PM, Bob Smith via cctalk wrote:
> I ma rusty on this, been almost 50 years since I worked on the DP8EP
> aka the KG83. then the KG11, and the Autodin 2 CRC32 designs in
> hardware.
> I don't recall whether bisync, aka bsc used LRC8, 12, 16, or crc16 as
> the error detection
Mattis Lind wrote:
>
> Hello IBM BSC Experts!
>
> I am trying to figure out the CRC algorithm used by IBM BSC. I have tried a
> lot of different settings in crcreveng but not getting a match.
>
I'm definately not an IBM BSC Expert and I don't even play one on TV. I have
tweaked some BSC
True, but in my case it was a typo! But yes we digital types like
saturation. Still have the funny thing with LTSpice though. I used it a
lot for electricity 1 and 2 demos for students when the college wouldn't
support me running electronics workbench under a VM on linux!
Works just fine
I ma rusty on this, been almost 50 years since I worked on the DP8EP
aka the KG83. then the KG11, and the Autodin 2 CRC32 designs in
hardware.
I don't recall whether bisync, aka bsc used LRC8, 12, 16, or crc16 as
the error detection algorithm.
I don't think it used VRC. I did find a refresher that
Hello IBM BSC Experts!
I am trying to figure out the CRC algorithm used by IBM BSC. I have tried a
lot of different settings in crcreveng but not getting a match.
I am pretty convinced that the CRC-16 used by IBM was
16 15 2
x + x + x + 1
This would give the
15 matches
Mail list logo