From d0b0b04ceffc5809d00152bff035aebc53552fbf Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Sat, 9 Jun 2012 11:50:23 +1200 Subject: [PATCH] Add support for MSP430G2403. --- drivers/fet_db.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/fet_db.c b/drivers/fet_db.c index 3a6d898..d64172c 100644 --- a/drivers/fet_db.c +++ b/drivers/fet_db.c @@ -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 = {