三种常用的crc16校验算法的c51程序的优化(Three commonly used CRC16 checksum algorithm C51 program optimization).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
三种常用的crc16校验算法的c51程序的优化(Three commonly used CRC16 checksum algorithm C51 program optimization)
三种常用的crc16校验算法的c51程序的优化(Three commonly used CRC16 checksum algorithm C51 program optimization)
Optimization of 2009-10-10 09:34:17| classification of three kinds of commonly used CRC16 algorithm C51 program: technical knowledge | Tags: | font
in
Small subscription
CRC check is also called cyclic redundancy check, a check algorithm commonly used in data communication. It can effectively distinguish whether the data in the process of transmission error occurs, thus ensuring the reliability of data transmission.
CRC check in a variety of ways, such as: CRC8, CRC16, CRC32 and so on. In practice, we often use the CRC16 check. CRC16 checksum variety, such as: 1005, 1021 polynomial polynomial (CRC-ITU) etc.. Here we discuss how the CRC algorithm generated, but focus on the optimization of several algorithms C51 program.
CRC checksum calculation, there are three kinds of calculation methods: the most commonly used look-up table calculation + computing table. In general, the look-up table method is the fastest, but requires a large storage space form; calculation method is the slowest, but the code is very simple, occupy minimum space; and in both speed and relatively tight space, commonly used look-up table + calculation method.
Here we are on the three kinds of methods are discussed and compared. Here the use of 51 single-chip widely used as an example, look-up table calculation, look-up table + three calculating methods for calculation of 1021 polynomial (CRC-ITU) check. The original program is often on the Internet or magazine to see, I believe everyone is familiar with, and even that is being used or have been used by the program.
The compiler platform using Keil C51 7, the use of small memory mode, the default compiler optimization.
The commonly used look-up table method program as follows, which is often able to see the online program example. Because the length of the relationship, omitted most of the contents of the form.
Code unsigned int Crc1021Table[256] = {
0x00
您可能关注的文档
- 《陆地和海洋》练习题(Land and sea exercises).doc
- 《饭店管理概论》——教学大纲(Introduction to hotel management -- syllabus).doc
- 《静夜思》一诗六种英译文的人际功能探讨(Jingyesi interpersonal functions of the six English versions of a poem).doc
- 《高尔基和他的儿子》教学设计(Teaching design of Golgi and his son).doc
- 《高等代数》考试大纲 - 内蒙古师范大学(Advanced algebra examination syllabus - Inner Mongolia Normal University).doc
- 《高等数学》 课程教学大纲(Syllabus of Higher Mathematics).doc
- 《食品安全法》知识普及答题(Food safety law knowledge popularization answer).doc
- 《高等数学》教学大纲 - 广西大学226(Syllabus for Advanced Mathematics - Guangxi University, 226).doc
- 《高等数学》教学大纲 - 广西大学324(Syllabus for Advanced Mathematics - Guangxi University, 324).doc
- 《鬼谷子》摩篇第八(Guiguzi friction eighth).doc
- 三算对比视图(Three contrast view).doc
- 三算结合教材的特点及其教学法简介(Brief introduction to the characteristics and teaching methods of three calculation combination teaching materials).doc
- 三管轮职责 辅助机械的维护保养(Three pipe wheel responsibility, auxiliary mechanical maintenance).doc
- 三星手机话机解锁秘籍荟萃(Samsung Mobile Phone Unlock cheats).doc
- 三级网络模拟试题(Three level network simulation test questions).doc
- 三聚氢胺板基本常识(Basic knowledge of melamine plate).doc
- 三菱变频器故障代码 文本文档(MITSUBISHI inverter fault code text documentation).doc
- 三菱汽车abs故障码(MITSUBISHI ABS fault code).doc
- 三菱触摸屏的型号详细介绍(MITSUBISHI touch screen model details).doc
- 三相多功能电能表技术发展的现状与展望!(Present situation and Prospect of the development of three-phase multifunctional electric energy meter!).doc
文档评论(0)