CRC implementation vs documentation examples

RMP 210, 220, 440LE, 440SE, 440 Omni
Post Reply
danielsuo
Posts: 2
Joined: Mon Feb 08, 2016 11:05 pm
Contact:

CRC implementation vs documentation examples

Post by danielsuo » Tue Mar 29, 2016 11:35 pm

Hello!

I'm working with the RMP 210 and am referring to the User Manual found here: http://stanleyinnovation.com/wp-content ... MP-220.pdf

I noticed that the CRC implementation (which I also reimplemented separately in two different languages) is giving consistent results, but different than those in the documentation.

For example, on page 50 of the documentation, the Standard Motion Command has a CRC-16 of 0x80 0x1E. I get 0x20 0x60. Other examples have similar problems (i.e., all implementations are giving the same result, but different from the documentation).

Maybe I'm doing something very wrong?

Hope there's a simple answer to this!

Daniel

sdnalloh
Posts: 47
Joined: Tue Aug 07, 2012 1:27 pm
Contact:

Re: CRC implementation vs documentation examples

Post by sdnalloh » Wed Mar 30, 2016 9:14 am

Yes, that is a known issue with some of the user manuals. The example commands weren't vetted by our software engineers to ensure that the CRC's were correct. We are working on an updated set of User Manuals that should include examples with correct CRC's.

danielsuo
Posts: 2
Joined: Mon Feb 08, 2016 11:05 pm
Contact:

Re: CRC implementation vs documentation examples

Post by danielsuo » Wed Mar 30, 2016 1:20 pm

Thanks for the speedy reply! Good to know that I wasn't imagining things.

Best,
Daniel

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests