Support for MSP430FG4616.

This commit is contained in:
Wolfgang Schwotzer 2013-01-27 10:40:37 +13:00 committed by Daniel Beer
parent 29f6ceefa5
commit 85c023d758
1 changed files with 35 additions and 0 deletions

View File

@ -2051,6 +2051,41 @@ static const struct fet_db_record fet_db[] = {
0x00, 0x00
}
},
{ /* Copied/modified from MSP430FG4618 */
.name = "MSP430FG4616",
.msg28_data = {
0xf4, 0x6f, 0x32, 0x40, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x02, 0x12, 0x01, 0x47, 0xd6, 0x7a,
0x80, 0x00
/* extra: 89 00 00 00 00 00 00 00 */
},
.msg29_params = {0, 0x3a, 0x32},
.msg29_data = {
0x00, 0x21, 0xff, 0x8f, 0x01, 0x00, 0x00, 0x10,
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x09,
0x00, 0x11, 0xff, 0x20, 0x08, 0x00, 0x03, 0x00,
0x02, 0x00, 0xd7, 0x60, 0x90, 0x00, 0x9c, 0x00,
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
0x58, 0x1b, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x33, 0xbf, 0x13, 0xbf,
0xff, 0x30
},
.msg2b_len = 0x4a,
.msg2b_data = {
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x02, 0x00,
0x08, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 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)