Add support for MSP430G2403.

This commit is contained in:
Daniel Beer 2012-06-09 11:50:23 +12:00
parent 25f6df0d0f
commit d0b0b04cef
1 changed files with 35 additions and 0 deletions

View File

@ -1458,6 +1458,41 @@ static const struct fet_db_record fet_db[] = {
0x00, 0x00
}
},
{ /* Copied from MSP430G2452, with modifications */
.name = "MSP430G2403",
.msg28_data = {
0x25, 0x53, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x02, 0x03, 0x01, 0x00, 0x26, 0x30,
0x00, 0x00
/* extra: 89 00 00 00 00 00 00 00 */
},
.msg29_params = {0x00, 0x39, 0x31},
.msg29_data = { /* Copied from MSP430F2274, with changes */
0x00, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x03,
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
0x01, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
0x58, 0x1b, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x33, 0x0f, 0x1f, 0x0f,
0xff, 0xff
},
.msg2b_len = 0x4a,
.msg2b_data = { /* Copied from MSP430F2616 */
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x02, 0x00,
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00
}
},
{ /* Copied from MSP430F2013 */
.name = "MSP430G2231",
.msg28_data = {