From eb7da81c9ca1fb07f49b72d393eca36dd101da4d Mon Sep 17 00:00:00 2001 From: Thomas Webel Date: Tue, 15 May 2012 08:38:25 +1200 Subject: [PATCH] Added support for MSP430F2252. --- drivers/fet_db.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/fet_db.c b/drivers/fet_db.c index e7ca3cc..3a6d898 100644 --- a/drivers/fet_db.c +++ b/drivers/fet_db.c @@ -920,6 +920,41 @@ static const struct fet_db_record fet_db[] = { 0x00, 0x00 } }, + { /* Copied from MSP430F2272, with changes to ID info */ + .name = "MSP430F2252", + .msg28_data = { + 0xf2, 0x27, 0x80, 0xa0, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x02, 0x02, 0x01, 0x04, 0x71, 0x81, + 0x85, 0x00 + /* extra: 89 00 00 00 00 00 00 00 */ + }, + .msg29_params = {0x00, 0x39, 0x31}, + .msg29_data = { + 0x00, 0xc0, 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 MSP430F2274, with changes */ .name = "MSP430F2370", .msg28_data = {