fet: fix support for MSP430F2418/2618.

This commit is contained in:
Daniel Beer 2012-10-22 16:43:07 +13:00
parent 0bb6f901d5
commit 43735da212
1 changed files with 12 additions and 46 deletions

View File

@ -468,8 +468,8 @@ static const struct fet_db_record fet_db[] = {
0x00, 0x00 0x00, 0x00
} }
}, },
{ /* copied from MSP430F2616, with modifications */ { /* from Olimex DB */
.name = "MSP430F2618", .name = "MSP430F2x18",
.msg28_data = { .msg28_data = {
0xf2, 0x6f, 0x05, 0x60, 0x00, 0x00, 0x00, 0x00, 0xf2, 0x6f, 0x05, 0x60, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x02, 0x13, 0x01, 0x00, 0xf4, 0x1c, 0x00, 0x00, 0x02, 0x13, 0x01, 0x00, 0xf4, 0x1c,
@ -480,16 +480,16 @@ static const struct fet_db_record fet_db[] = {
.msg29_data = { .msg29_data = {
0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10, 0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09, 0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
0x00, 0x00, 0x00, 0x00, 0x08, 0x07, 0x10, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0x00,
0xc4, 0x09, 0x70, 0x17, 0x58, 0x1b, 0xd7, 0x60, 0x02, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
0x70, 0x00, 0x08, 0x03, 0x02, 0x03, 0x33, 0x0f, 0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
0x1f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x1b, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00,
0x00, 0x00, 0x00, 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, 0x33, 0x0f, 0x1f, 0x0f,
0x00, 0x00 0xff, 0xff
}, },
.msg2b_len = 0x42, .msg2b_len = 0x4a,
.msg2b_data = { .msg2b_data = {
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x02, 0x00, 0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x02, 0x00,
0x08, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
@ -499,6 +499,7 @@ static const struct fet_db_record fet_db[] = {
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0xff, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0xff, 0x30,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00 0x00, 0x00
} }
}, },
@ -1840,41 +1841,6 @@ static const struct fet_db_record fet_db[] = {
0x00, 0x00, 0x00, 0x00 0x00, 0x00, 0x00, 0x00
} }
}, },
{ /* Captured data */
.name = "MSP430F2418",
.msg28_data = {
0xf2, 0x6f, 0x05, 0x60, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x02, 0x13, 0x01, 0x00, 0xf4, 0x1c,
0x85, 0x00
/* extra: 89 00 00 00 00 00 00 00 */
},
.msg29_params = {0, 0x44, 0x3c},
.msg29_data = {
0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
0x00, 0x11, 0xff, 0x30, 0x08, 0x00, 0x03, 0x00,
0x02, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
0x58, 0x1b, 0x00, 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, 0x33, 0x0f, 0x1f, 0x0f,
0xff, 0xff
},
.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, 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 MSP430F5329, with modifications */ { /* Copied from MSP430F5329, with modifications */
.name = "MSP430F6736", .name = "MSP430F6736",
.msg28_data = { .msg28_data = {