K70例程017: 硬件CRC测试_IAR

2020-02-19 21:12发布

使用J-LinkV8
IAR版本6.6
调试串口波特率:115200
基于MDKK70-EK_T43硬件平台

实验现象:
编译并下载调试程序,根据串口提示信息进行测试。

串口输出信息:
====== CRC Lab ==========

Please select CRC width (16-bit/32-bit):
1. CRC16
2. CRC32
select:1

Please select CRC polynomial:
1. poly = 0x1021 (CRC-CCITT)
2. poly = 0x8408 (XMODEM)
3. poly = 0x8005 (ARC)
4. poly = 0x04C11DB7 (CRC32)
5. others
select:1

Please select type of Transpose for input:
1. No Transposition
2. Only transpose bits in a byte
3. Transpose both bits and bytes
4. Only transpose bytes
select:4

Please select type of Transpose for Read:
1. No Transposition
2. Only transpose bits in a byte
3. Transpose both bits and bytes
4. Only transpose bytes
select:4
XOR final checksum (y/n)?y
Please enter seed in hex:0102
Please enter an ASCII Message:Mcuzone
CRC result = 0x901C
Press any key to continue...,'q' to quit!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。