driver/gt818_update.h
driver/gt818.c
driver/Makefile
firmware/update_0080.bin // 这个文件是固件的bin文件。
gt818_update.h 的内容如下,其实就是一个 固件的参数数组而已。
---------------------------------------------------------------------------------------------------
static unsigned char goodix_gt818_firmware[] =
{
0x49, 0x44, 0x45, 0x4D, //magic number 1
0x4B, 0x45, 0x54, 0x41, //magic number 2
0x80, 0x00, //version
0xF0, 0x0E, //firmware length
0x7A, 0x06, //checksumc 67a
0x4f,0xce,0x01,0x00,0x20,0x03,0xa7,0x00,
0x08,0x8c,0x04,0xd3,0x26,0xf8,0x8e,0x04,
0xd3,0xbd,0x41,0x16,0x20,0xfe,0x3c,0x3c,
0x0e,0xbd,0xc3,0x07,0xbd,0x4e,0xd4,0xbd,
0x4f,0x17,0xbd,0x45,0xb9,0xbd,0x47,0x90,
0xbd,0x46,0xc5,0xbd,0xf7,0x45,0x5f,0xce,
0x13,0x01,0xe7,0x00,0x20,0x10,0x01,0x01,
0x01,0x01,0x13,0xe6,0x01,0x08,0xd6,0xeb,
0x26,0x04,0x01,0xcf,0x01,0x01,0xd6,0xeb,
0x27,0xec,0xd6,0xe7,0x5c,0x26,0xe7,0xd7,
0xeb,0xce,0x13,0x01,0xe7,0x00,0xbd,0xc4,
0xa6,0xf6,0x07,0x0b,0x27,0x0f,0xbd,0x47,
0x08,0xbd,0x46,0xc5,0xc6,0x80,0xd7,0xea,
0xbd,0xf7,0x45,0x20,0xd9,0xbd,0x45,0x34,
0xd6,0xea,0x5a,0x27,0x08,0xbd,0xf5,0x49,
0xbd,0xf7,0x45,0x20,0xc9,0xbd,0x4d,0xc7,
0xbd,0xe9,0x9d,0xbd,0x4d,0x0e,0xbd,0x4a,
0xd6,0xbd,0xeb,0xb1,0xbd,0xf7,0x45,0xbd,
0x4f,0x35,0x8d,0x4d,0xbd,0x48,0x1b,0xbd,
0xf6,0x7d,0xbd,0xd8,0x7e,0xbd,0x4c,0x78,
0xbd,0xdc,0x3a,0xbd,0xee,0xfe,0xbd,0xe0,
0x5d,0xbd,0xe4,0x21,0xbd,0xe4,0x41,0xbd,
0x4f,0x9a,0xbd,0xd6,0x84,0xbd,0xd7,0x6f,
0xbd,0x49,0xd2,0xbd,0xef,0x77,0x20,0x86,
0x3c,0xce,0x07,0x12,0xc6,0xa0,0xe7,0x00,
0x5f,0xce,0x07,0x1d,0xe7,0x00,0x08,0x8c,
0x07,0x48,0x23,0xf8,0xce,0x03,0x83,0xe7,
0x00,0x08,0x8c,0x03,0xab,0x25,0xf8,0x38,
0x39,0x7f,0x02,0xd9,0xbd,0xc5,0x40,0x13,
0xe6,0x04,0x02,0x8d,0x49,0xbd,0x43,0x73,
0xfc,0x02,0x90,0xc3,0x00,0x64,0xfd,0x02,
0x90,0x39,0x3c,0x18,0x3c,0x86,0x14,0xf6,
0x02,0xd9,0x3d,0xc3,0x0d,0x80,0x18,0x8f,
0xce,0x02,0x2c,0x96,0xc2,0xb7,0x02,0x6e,
0x96,0xe6,0x84,0x40,0x26,0x04,0xec,0x00,
0x20,0x04,0xec,0x00,0x47,0x56,0x18,0xed,
0x00,0xc6,0x02,0x3a,0x18,0x3a,0x7a,0x02,
0x6e,0x26,0xe5,0x4f,0xb7,0x00,0xd1,0x7c,
0x02,0xd9,0x18,0x38,0x38,0x39,0x3c,0x18,
0x3c,0xce,0x02,0xda,0x4f,0xc6,0xa0,0xa7,
0x00,0x08,0x5a,0x26,0xfa,0x96,0xc1,0xb7,
0x02,0x6f,0x18,0xce,0x0d,0x80,0xce,0x02,
0xda,0xd6,0xc2,0xf7,0x02,0x6e,0x18,0x3c,
0x4f,0x5f,0x18,0xe3,0x00,0x18,0x08,0x18,
0x08,0x7a,0x02,0x6e,0x26,0xf4,0xfd,0x02,
0xd7,0x18,0x38,0x3c,0x4f,0xd6,0xc2,0x8f,
0xfc,0x02,0xd7,0x2a,0x0c,0x40,0x50,0x82,
0x00,0x02,0x8f,0x40,0x50,0x82,0x00,0x20,
0x02,0x02,0x8f,0xfd,0x02,0xd7,0x38,0x96,
0xc2,0xb7,0x02,0x6e,0x18,0x3c,0x18,0xec,
0x00,0xb3,0x02,0xd7,0x18,0xed,0x00,0x2d,
0x04,0x2e,0x0d,0x20,0x18,0x6c,0x01,0x1a,
0xa3,0x06,0x2c,0x11,0xed,0x06,0x20,0x0d,
0x6c,0x00,0x1a,0xa3,0x04,0x2f,0x02,0xed,
0x04,0xe3,0x02,0xed,0x02,0x18,0x08,0x18,
0x08,0x7a,0x02,0x6e,0x26,0xd0,0x18,0x38,
0xc6,0x0a,0x3a,0x58,0x18,0x3a,0x7a,0x02,
0x6f,0x26,0x86,0xce,0x02,0xda,0x96,0xc1,
0xb7,0x02,0x6f,0x4a,0xb7,0x02,0xcf,0xb7,
0x02,0xd0,0x4f,0xd6,0xc9,0xc0,0x0a,0xa3,
0x04,0xe3,0x06,0x22,0x15,0xd6,0xc1,0xf0,
0x02,0x6f,0xb6,0x02,0xcf,0xb1,0x02,0xd0,
0x27,0x05,0xf7,0x02,0xcf,0x20,0x03,0xf7,
0x02,0xd0,0xc6,0x0a,0x3a,0x7a,0x02,0x6f,
0x26,0xd8,0x8d,0x0e,0xf6,0x02,0xcf,0xf7,
0x02,0xd0,0x8d,0x06,0x8d,0x32,0x18,0x38,
0x38,0x39,0x7f,0x02,0xd2,0xf6,0x02,0xd0,
0xf7,0x02,0x6f,0xbd,0x44,0x5b,0xbd,0x44,
0xf7,0x7c,0x02,0x6f,0xf6,0x02,0x6f,0xd1,
0xc1,0x26,0xf0,0x7f,0x02,0xd2,0xf6,0x02,
0xd0,0xf7,0x02,0x6f,0xbd,0x44,0x5b,0xbd,
0x44,0xf7,0x7a,0x02,0x6f,0x2a,0xf5,0x39,
0x18,0xce,0x02,0xda,0xce,0x0d,0x80,0x96,
0xc1,0xb7,0x02,0x6f,0x18,0x67,0x08,0x18,
0x66,0x09,0x96,0xc2,0xb7,0x02,0x6e,0x3c,
0xec,0x00,0x18,0xe3,0x08,0xed,0x00,0x08,
0x08,0x7a,0x02,0x6e,0x26,0xf2,0x38,0xc6,
0x0a,0x18,0x3a,0x58,0x3a,0x7a,0x02,0x6f,
0x26,0xda,0x39,0x3c,0x18,0x3c,0x4f,0x5f,
0xfd,0x02,0x90,0xb7,0x02,0x81,0xb7,0x02,
0x80,0x97,0xe2,0x97,0xe1,0xb7,0x02,0