使用J-LinkV8
IAR版本6.6
调试串口波特率:115200
基于MDKK70-EK_T43硬件平台
关键词: Freescale 飞思卡尔 Kinetis Cortex-M4 K70 MDKK70 核心板 开发板 例程 CRC
实验现象:
编译并下载调试程序,根据串口提示信息进行测试。
串口输出信息:
====== 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!
|