Add support for MSP430F5521.

This commit is contained in:
Daniel Beer 2012-08-16 08:55:13 +12:00
parent 84866b78cc
commit 53dd7f8188
1 changed files with 36 additions and 1 deletions

View File

@ -1979,7 +1979,42 @@ static const struct fet_db_record fet_db[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00
}
}
},
{ /* Based on MSP430F5527 */
.name = "MSP430F5521",
.msg28_data = {
0x55, 0x21, 0x14, 0x12, 0x08, 0x0a, 0xca, 0xc0,
0x8b, 0x46, 0x1e, 0x00, 0x1c, 0x00, 0xf8, 0xfe,
0x61, 0xf4
/* extra: 91 03 01 00 1a 00 04 05 */
},
.msg29_params = {0, 0x89, 0x81},
.msg29_data = {
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
0xff, 0x19, 0x80, 0x00, 0x00, 0x24, 0xff, 0x43,
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
0x58, 0x1b, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff
},
.msg2b_len = 0x4a,
.msg2b_data = {
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
0xa8, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
0x00, 0x1c, 0xff, 0x23, 0x00, 0x00, 0x01, 0x00,
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00
}
},
};
const struct fet_db_record *fet_db_find_by_msg28(uint8_t *data, int len)