2158 lines
77 KiB
C
2158 lines
77 KiB
C
/* MSPDebug - debugging tool for MSP430 MCUs
|
|
* Copyright (C) 2009, 2010 Daniel Beer
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#include <string.h>
|
|
#include "fet_db.h"
|
|
#include "util.h"
|
|
|
|
static const struct fet_db_record fet_db[] = {
|
|
{
|
|
.name = "MSP430F47197",
|
|
.msg28_data = {
|
|
0xf4, 0x7f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x13, 0x01, 0x07, 0xf7, 0x5b,
|
|
0x80, 0x00
|
|
/* extra bytes: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x21, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x11, 0xff, 0x20,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F47173",
|
|
.msg28_data = {
|
|
0xf4, 0x7f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x13, 0x01, 0x07, 0xf7, 0x5b,
|
|
0x86, 0x00
|
|
/* extra bytes: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x11, 0xff, 0x20,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F147",
|
|
.msg28_data = {
|
|
0xf1, 0x49, 0x00, 0x43, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0xf0, 0x1a,
|
|
0x12, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x05, 0x05},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x05,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
|
|
0x00, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 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, 0xf3, 0x30, 0xd3, 0x30,
|
|
0xc0, 0x30,
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x03, 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,
|
|
},
|
|
},
|
|
{
|
|
.name = "MSP430F148",
|
|
.msg28_data = {
|
|
0xf1, 0x49, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0xf0, 0x39,
|
|
0x11, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x06, 0x06},
|
|
.msg29_data = {
|
|
0x00, 0x40, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
|
|
0x00, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 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, 0xf3, 0x30, 0xd3, 0x30,
|
|
0xc0, 0x30
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x03, 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,
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F149",
|
|
.msg28_data = {
|
|
0xF1, 0x49, 0x00, 0x43, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0xF0, 0x1A,
|
|
0x10, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x07, 0x07},
|
|
.msg29_data = {
|
|
0x00, 0x11, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
|
|
0x00, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 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, 0xf3, 0x30, 0xd3, 0x30,
|
|
0xc0, 0x30
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x03, 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 MSP430F1611 */
|
|
.name = "MSP430F1612",
|
|
.msg28_data = {
|
|
0xf1, 0x6c, 0x20, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x61, 0x01, 0x00, 0xd1, 0x4d,
|
|
0x86, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x2a, 0x23},
|
|
.msg29_data = {
|
|
0x00, 0x25, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x10,
|
|
0xFF, 0x10, 0x80, 0x00, 0x00, 0x02, 0xFF, 0x09,
|
|
0x00, 0x11, 0xFF, 0x24, 0x08, 0x00, 0x03, 0x00,
|
|
0x02, 0x00, 0xD7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0E, 0xC4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1B, 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, 0xF3, 0x30, 0xD3, 0x30,
|
|
0xC0, 0x30
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F1611",
|
|
.msg28_data = {
|
|
0xF1, 0x6C, 0x20, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x61, 0x01, 0x00, 0xD1, 0x4D,
|
|
0x80, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x2a, 0x23},
|
|
.msg29_data = {
|
|
0x00, 0x40, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x10,
|
|
0xFF, 0x10, 0x80, 0x00, 0x00, 0x02, 0xFF, 0x09,
|
|
0x00, 0x11, 0xFF, 0x38, 0x08, 0x00, 0x03, 0x00,
|
|
0x02, 0x00, 0xD7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0E, 0xC4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1B, 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, 0xF3, 0x30, 0xD3, 0x30,
|
|
0xC0, 0x30
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
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 MSP430F2132, with modifications */
|
|
.name = "MSP430F2122",
|
|
.msg28_data = {
|
|
0xf2, 0x13, 0x01, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x02, 0xf0, 0x73,
|
|
0x81, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x58, 0x50}, /* From snoopy logs */
|
|
.msg29_data = {
|
|
0x00, 0xf0, 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 = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F2132",
|
|
.msg28_data = {
|
|
0xf2, 0x13, 0x01, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x02, 0xf0, 0x73,
|
|
0x80, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x58, 0x50}, /* From snoopy logs */
|
|
.msg29_data = {
|
|
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 = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F249",
|
|
.msg28_data = {
|
|
0xF2, 0x49, 0x02, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x00, 0xF3, 0x2B,
|
|
0x80, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x4f, 0x47},
|
|
.msg29_data = {
|
|
0x00, 0x11, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x10,
|
|
0xFF, 0x10, 0x40, 0x00, 0x00, 0x02, 0xFF, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 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, 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 = {
|
|
0x00, 0x0C, 0xFF, 0x0F, 0x00, 0x02, 0x00, 0x00,
|
|
0x03, 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 MSP403F249, with changes */
|
|
.name = "MSP430F235",
|
|
.msg28_data = {
|
|
0xf2, 0x49, 0x02, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x00, 0xf3, 0x2b,
|
|
0x83, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x4f, 0x47},
|
|
.msg29_data = {
|
|
0x00, 0xC0, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x10,
|
|
0xFF, 0x10, 0x40, 0x00, 0x00, 0x02, 0xFF, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 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, 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 = {
|
|
0x00, 0x0C, 0xFF, 0x0F, 0x00, 0x02, 0x00, 0x00,
|
|
0x03, 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 MSP430F249 */
|
|
.name = "MSP430F247",
|
|
.msg28_data = {
|
|
0xf2, 0x49, 0x03, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x00, 0xf2, 0x2b,
|
|
0x82, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x4f, 0x47},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x10,
|
|
0xFF, 0x10, 0x40, 0x00, 0x00, 0x02, 0xFF, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 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, 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 = {
|
|
0x00, 0x0C, 0xFF, 0x0F, 0x00, 0x02, 0x00, 0x00,
|
|
0x03, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F2416",
|
|
.msg28_data = {
|
|
0xf2, 0x6f, 0x07, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x13, 0x01, 0x00, 0xf6, 0x1c,
|
|
0x8c, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x41, 0x39},
|
|
.msg29_data = {
|
|
0x00, 0x21, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x11, 0xff, 0x20, 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, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F2616",
|
|
.msg28_data = {
|
|
0xf2, 0x6f, 0x04, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x12, 0x01, 0x00, 0xf5, 0x1d,
|
|
0x88, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x41, 0x39},
|
|
.msg29_data = {
|
|
0x00, 0x21, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x11, 0xff, 0x20, 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, 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
|
|
}
|
|
},
|
|
{ /* from Olimex DB */
|
|
.name = "MSP430F2x18",
|
|
.msg28_data = {
|
|
0xf2, 0x6f, 0x05, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x13, 0x01, 0x00, 0xf4, 0x1c,
|
|
0x89, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x42, 0x3a},
|
|
.msg29_data = {
|
|
0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 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, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0xff, 0x30,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{ /* Copied from MSP430F5529 */
|
|
.name = "MSP430F5329",
|
|
.msg28_data = {
|
|
0x1b, 0x81, 0x15, 0x12, 0x08, 0x0a, 0x67, 0xd9,
|
|
0xb4, 0x46, 0xb6, 0x07, 0xd5, 0x0f, 0xf8, 0xfe,
|
|
0x19, 0x02
|
|
/* extra bytes: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0x43, 0x02, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x43,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F5437A",
|
|
.msg28_data = {
|
|
0x04, 0x80, 0x11, 0x11, 0x08, 0x0a, 0x26, 0x87,
|
|
0xb4, 0x46, 0x18, 0x0c, 0xec, 0x0f, 0xf8, 0xfe,
|
|
0x30, 0x41
|
|
},
|
|
.msg29_params = {0x00, 0x5c, 0x54},
|
|
.msg29_data = {
|
|
0x00, 0x5c, 0xff, 0x5b, 0x04, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x5b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x9d,
|
|
0x00, 0x00, 0x28, 0x29, 0x2a, 0x2b, 0x80, 0xd8,
|
|
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
|
|
},
|
|
},
|
|
{ /* From sniffusb log of CCS */
|
|
.name = "MSP430F5438",
|
|
.msg28_data = {
|
|
0x54, 0x38, 0x10, 0x10, 0x08, 0x0a, 0x28, 0x7e,
|
|
0xc9, 0x47, 0x1d, 0x00, 0x26, 0x00, 0xf8, 0xfe,
|
|
0xff, 0x3f
|
|
/* extra bytes: 91 00 01 00 1a 00 00 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x5c, 0x54},
|
|
.msg29_data = {
|
|
0x00, 0x5c, 0xff, 0x5b, 0x04, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x5b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x9d,
|
|
0x00, 0x00, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
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, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F5529",
|
|
.msg28_data = {
|
|
0x55, 0x29, 0x10, 0x10, 0x08, 0x0a, 0x68, 0xd9,
|
|
0xb4, 0x46, 0x18, 0x00, 0x11, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra bytes: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0x43, 0x02, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x43,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{ /* Copied from MSP430F5529, with modifications */
|
|
.name = "MSP430F5342",
|
|
.msg28_data = {
|
|
0x1e, 0x81, 0x15, 0x12, 0x08, 0x0a, 0x67, 0xd9,
|
|
0xb4, 0x46, 0x0a, 0x0f, 0x0d, 0x02, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0x43, 0x02, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x43,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{ /* copied from MSP430F5529, with modifications */
|
|
.name = "MSP430F5525",
|
|
.msg28_data = {
|
|
0x55, 0x25, 0x12, 0x12, 0x08, 0x0a, 0x83, 0x01,
|
|
0x88, 0x46, 0x06, 0x00, 0x18, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0x43, 0x01, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x33,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{ /* copied from MSP430F5529, with modifications */
|
|
.name = "MSP430F5526",
|
|
.msg28_data = {
|
|
0x55, 0x26, 0x14, 0x12, 0x08, 0x0a, 0x87, 0x66,
|
|
0x8a, 0x46, 0x08, 0x00, 0x15, 0x00, 0xf8, 0xfe,
|
|
0x87, 0xfa
|
|
/* extra bytes: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0xc3, 0x01, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x3b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "CC430F6137",
|
|
.msg28_data = {
|
|
0x61, 0x37, 0x10, 0x10, 0x08, 0x0a, 0xff, 0xff,
|
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
|
0x77, 0x7d
|
|
},
|
|
.msg29_params = {0x77, 0x6f, 0x4a},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x2b,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
|
|
0x02, 0x00, 0x07, 0x24, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x01, 0x00,
|
|
0x04, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x00,
|
|
0x00, 0xb0, 0x28, 0x29, 0x2a, 0x2b, 0x80, 0xd8,
|
|
0xa8, 0x60, 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 CC430F5137, with different ID information */
|
|
.name = "CC430F5133",
|
|
.msg28_data = {
|
|
0x51, 0x33, 0x11, 0x11, 0x08, 0x0a, 0xc6, 0x1b,
|
|
0xb0, 0x46, 0x20, 0x00, 0x1b, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra: 91 01 11 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x77, 0x6f, 0x4a},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x2b,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
|
|
0x02, 0x00, 0x07, 0x24, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x01, 0x00,
|
|
0x04, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x00,
|
|
0x00, 0xb0, 0x28, 0x29, 0x2a, 0x2b, 0x80, 0xd8,
|
|
0xa8, 0x60, 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 CC430F6137, with different ID information */
|
|
.name = "CC430F5137",
|
|
.msg28_data = {
|
|
0x51, 0x37, 0x10, 0x10, 0x08, 0x0a, 0xe9, 0x00,
|
|
0xb0, 0x46, 0x1f, 0x00, 0x1f, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra: 91 01 11 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x77, 0x6f, 0x4a},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x2b,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
|
|
0x02, 0x00, 0x07, 0x24, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x01, 0x00,
|
|
0x04, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x00,
|
|
0x00, 0xb0, 0x28, 0x29, 0x2a, 0x2b, 0x80, 0xd8,
|
|
0xa8, 0x60, 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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F2274",
|
|
.msg28_data = {
|
|
0xf2, 0x27, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x01, 0x01, 0x04, 0xb1, 0x62,
|
|
0x80, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x05,
|
|
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 to ID info */
|
|
.name = "MSP430F2272",
|
|
.msg28_data = {
|
|
0xf2, 0x27, 0x50, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x04, 0xa1, 0x61,
|
|
0x84, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x05,
|
|
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 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 = {
|
|
0xf2, 0x37, 0x10, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x01, 0x01, 0x00, 0xe1, 0x56,
|
|
0x80, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F2012/G2231",
|
|
.msg28_data = {
|
|
0xf2, 0x01, 0x30, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = { /* Copied from MSP430F2274, with changes */
|
|
0x00, 0xf8, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0x7f, 0x02,
|
|
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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F2013",
|
|
.msg28_data = {
|
|
0xf2, 0x01, 0x10, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x00, 0x00,
|
|
0x00, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = { /* Copied from MSP430F2274, with changes */
|
|
0x00, 0xf8, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0x7f, 0x02,
|
|
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
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F5438A",
|
|
.msg28_data = {
|
|
0x05, 0x80, 0x11, 0x11, 0x08, 0x0a, 0x85, 0x0f,
|
|
0xb0, 0x46, 0x20, 0x00, 0x0c, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra bytes: 0x91, 0x03, 0x01, 0x00,
|
|
* 0x1a, 0x00, 0x04, 0x05
|
|
*/
|
|
},
|
|
.msg29_params = {0x00, 0x8c, 0x84},
|
|
.msg29_data = {
|
|
0x00, 0x5c, 0xff, 0x5b, 0x04, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x5b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x9d,
|
|
0x00, 0x00, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{ /* Captured using sniffusb 2.0 (IAR) */
|
|
.name = "MSP430F5437",
|
|
.msg28_data = {
|
|
0x54, 0x37, 0x10, 0x10, 0x08, 0x0a, 0x15, 0xae,
|
|
0x83, 0x46, 0x2d, 0x00, 0x16, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra bytes: 91 00 01 00 1a 00 00 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x61, 0x59},
|
|
.msg29_data = {
|
|
0x00, 0x5c, 0xff, 0x5b, 0x04, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x5b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x9d,
|
|
0x00, 0x00, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
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, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{
|
|
.name = "MSP430F169",
|
|
.msg28_data = {
|
|
0xF1, 0x69, 0x40, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x61, 0x01, 0x00, 0xb1, 0x68,
|
|
0x10, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x28, 0x21},
|
|
.msg29_data = {
|
|
0x00, 0x11, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0x00,
|
|
0x02, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 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, 0xf3, 0x30, 0xd3, 0x30,
|
|
0xc0, 0x30
|
|
},
|
|
.msg2b_len = 0x34,
|
|
.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, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x00
|
|
},
|
|
},
|
|
{ /* Based on MSP430F2274 */
|
|
.name = "MSP430F2234",
|
|
.msg28_data = {
|
|
0xf2, 0x27, 0x50, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x04, 0xa1, 0x61,
|
|
0x82, 0x00
|
|
/* extra bytes: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = {
|
|
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
|
|
}
|
|
},
|
|
{ .name = "MSP430F1232",
|
|
.msg28_data = {
|
|
0x12, 0x32, 0x10, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x60, 0x01, 0x00, 0x12, 0x12,
|
|
0x00, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x11, 0x10},
|
|
.msg29_data = {
|
|
0x00, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 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, 0x33, 0x03, 0x13, 0x03,
|
|
0xff, 0x03
|
|
},
|
|
.msg2b_len = 0x34,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{ .name = "MSP430F413",
|
|
.msg28_data = {
|
|
0xf4, 0x13, 0x02, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x30, 0x01, 0x00, 0xf6, 0x63,
|
|
0x00, 0x00
|
|
},
|
|
.msg29_params = {0x00, 0x28, 0x21},
|
|
.msg29_data = {
|
|
0x00, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
|
|
0x01, 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, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x00, 0x33, 0x80, 0x13, 0x80,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x34,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{ /* Captured with sniffusb/CCS */
|
|
.name = "MSP430FG4618",
|
|
.msg28_data = {
|
|
0xf4, 0x6f, 0x32, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x12, 0x01, 0x47, 0xd6, 0x7a,
|
|
0x81, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0, 0x3a, 0x32},
|
|
.msg29_data = {
|
|
0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x11, 0xff, 0x30, 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
|
|
}
|
|
},
|
|
{ /* Captured with sniffusb (Olimex adapater) */
|
|
.name = "MSP430F2617",
|
|
.msg28_data = {
|
|
0xf2, 0x6f, 0x04, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x12, 0x01, 0x00, 0xf5, 0x1d,
|
|
0x89, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0, 0x42, 0x3a},
|
|
.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 = 0x34,
|
|
.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, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x00
|
|
}
|
|
},
|
|
{ /* Captured with sniffusb (Olimex adapter) */
|
|
.name = "MSP430F2131",
|
|
.msg28_data = {
|
|
0xf2, 0x13, 0x50, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x01, 0x01, 0x01, 0xa1, 0x53,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0, 0x2f, 0x27},
|
|
.msg29_data = {
|
|
0x00, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
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,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x33, 0xff, 0x1f, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x34,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{ /* Captured with sniffusb (Olimex adapter) */
|
|
.name = "MSP430F1121",
|
|
.msg28_data = {
|
|
0xf1, 0x12, 0x10, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x10, 0x01, 0x00, 0xe1, 0x42,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0, 2, 2},
|
|
.msg29_data = {
|
|
0x00, 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0xd7, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 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, 0x33, 0xff, 0x13, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x34,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{ /* Captured using USB sniffer */
|
|
.name = "MSP430F4270",
|
|
.msg28_data = {
|
|
0xf4, 0x27, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x61, 0x01, 0x47, 0xf4, 0x41,
|
|
0x84, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0, 0x22, 0x1b},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x80, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0xd7, 0x60, 0x90, 0x00, 0xaf, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0x8c, 0x0a, 0x70, 0x17,
|
|
0x58, 0x1b, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x33, 0x80, 0x1f, 0x80,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{ /* From USB capture */
|
|
.name = "MSP430G2452",
|
|
.msg28_data = {
|
|
0x24, 0x52, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0xcf, 0xc7},
|
|
.msg29_data = {
|
|
0x00, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
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,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x33, 0xff, 0x1f, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 0x00, 0x40, 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 MSP430G2452 with flash origin modifications */
|
|
.name = "MSP430G2352",
|
|
.msg28_data = {
|
|
0x24, 0x52, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0xcf, 0xc7},
|
|
.msg29_data = {
|
|
0x00, 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
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,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x33, 0xff, 0x1f, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 0x00, 0x40, 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 MSP430G2452, with modifications */
|
|
.name = "MSP430G2553/G2403",
|
|
.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 MSP430G2452, with changes */
|
|
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 MSP430G2452 */
|
|
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 MSP430G2452, with modifications */
|
|
.name = "MSP430AFE253",
|
|
.msg28_data = {
|
|
0x02, 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x80, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = { /* Copied from MSP430G2452, with changes */
|
|
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 MSP430G2452 */
|
|
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
|
|
}
|
|
},
|
|
{ /* From USB data capture */
|
|
.name = "MSP430F427",
|
|
.msg28_data = {
|
|
0xf4, 0x27, 0x25, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x60, 0x01, 0x45, 0xd1, 0x42,
|
|
0x24, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x1e, 0x17, 0x4a},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x00, 0x80, 0x00, 0x02, 0xff, 0x05,
|
|
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0xd7, 0x60, 0x90, 0x00, 0xa4, 0x00,
|
|
0x8c, 0x0a, 0x10, 0x0e, 0x8c, 0x0a, 0x70, 0x17,
|
|
0x58, 0x1b, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x01, 0x00, 0x00, 0x00, 0xf3, 0x80, 0xd3, 0x80,
|
|
0xc0, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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,
|
|
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{ /* From USB data capture */
|
|
.name = "MSP430F4784",
|
|
.msg28_data = {
|
|
0xf4, 0x49, 0x20, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x61, 0x01, 0x02, 0xd4, 0x4a,
|
|
0x83, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x4c, 0x44, 0x4a},
|
|
.msg29_data = {
|
|
0x00, 0x40, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x00, 0x40, 0x00, 0x02, 0xff, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00,
|
|
0x02, 0x00, 0xd7, 0x60, 0x90, 0x00, 0xaf, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x01, 0x00, 0x00, 0x00, 0x33, 0x8f, 0x1f, 0x8f,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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 MSP430G2231 */
|
|
.name = "MSP430G2252",
|
|
.msg28_data = {
|
|
0x24, 0x52, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0x00, 0x39, 0x31},
|
|
.msg29_data = { /* Copied from MSP430G2231 with changes */
|
|
0x00, 0xf8, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
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
|
|
}
|
|
},
|
|
{ /* From captured data */
|
|
.name = "MSP430FR5739",
|
|
.msg28_data = {
|
|
0x03, 0x81, 0x20, 0x20, 0x08, 0x0a, 0xff, 0xff,
|
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
|
0xbf, 0x4c
|
|
/* extra: 91 06 11 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0xab, 0xa3},
|
|
.msg29_data = {
|
|
0x00, 0xc2, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
|
|
0xff, 0x18, 0x00, 0x00, 0x00, 0x1c, 0xff, 0x1f,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x05, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x00, 0x01, 0x00,
|
|
0x04, 0x00, 0x00, 0x00, 0x0a, 0x8f, 0x8e, 0x99,
|
|
0x98, 0x97, 0x2d, 0x2c, 0x30, 0x00, 0x8a, 0xd6,
|
|
0xa8, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{ /* From captured data */
|
|
.name = "MSP430F5418",
|
|
.msg28_data = {
|
|
0x54, 0x18, 0x10, 0x10, 0x08, 0x0a, 0x25, 0x55,
|
|
0x84, 0x46, 0x24, 0x00, 0x26, 0x00, 0xf8, 0xfe,
|
|
0xff, 0xff
|
|
/* extra: 91 00 01 00 1a 00 00 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x63, 0x5b},
|
|
.msg29_data = {
|
|
0x00, 0x5c, 0xff, 0x5b, 0x02, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x5b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x9d,
|
|
0x00, 0x00, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,
|
|
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01,
|
|
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{ /* From captured data */
|
|
.name = "MSP430F5510",
|
|
.msg28_data = {
|
|
0x31, 0x80, 0x12, 0x12, 0x08, 0x0a, 0xe8, 0x2b,
|
|
0xb0, 0x46, 0x2c, 0x00, 0x27, 0x00, 0xf8, 0xfe,
|
|
0x00, 0x00
|
|
/* extra: 91 04 11 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0, 0x92, 0x8a},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x33,
|
|
0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x05, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x01, 0x00,
|
|
0x04, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd6,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x1c, 0xff, 0x23, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 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
|
|
}
|
|
},
|
|
{ /* From captured data */
|
|
.name = "MSP430F5528",
|
|
.msg28_data = {
|
|
0x55, 0x28, 0x14, 0x12, 0x08, 0x0a, 0x2c, 0xcf,
|
|
0x8a, 0x46, 0x0a, 0x00, 0x09, 0x00, 0xf8, 0xfe,
|
|
0xff, 0xff
|
|
/* extra: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0, 0x8a, 0x82},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0x43, 0x02, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x43,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x1c, 0xff, 0x23, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
|
|
},
|
|
{ /* From captured data */
|
|
.name = "MSP430F5527",
|
|
.msg28_data = {
|
|
0x55, 0x27, 0x14, 0x12, 0x08, 0x0a, 0xc6, 0x71,
|
|
0x8b, 0x46, 0x17, 0x00, 0x2e, 0x00, 0xf8, 0xfe,
|
|
0xfe, 0x3b
|
|
/* extra: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0, 0x89, 0x81},
|
|
.msg29_data = {
|
|
0x00, 0x44, 0xff, 0xc3, 0x01, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x3b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x1c, 0xff, 0x23, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{ /* Based on MSP430F2131 */
|
|
.name = "MSP430F2121",
|
|
.msg28_data = {
|
|
0xf2, 0x13, 0x91, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x02, 0x02, 0x01, 0x01, 0x60, 0x50,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0, 0x2f, 0x27},
|
|
.msg29_data = {
|
|
0x00, 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x10,
|
|
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x02,
|
|
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,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x33, 0xff, 0x1f, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x34,
|
|
.msg2b_data = {
|
|
0x00, 0x0c, 0xff, 0x0f, 0x00, 0x02, 0x00, 0x00,
|
|
0x02, 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
|
|
}
|
|
},
|
|
{ /* Copied from MSP430F5329, with modifications */
|
|
.name = "MSP430F6736",
|
|
.msg28_data = {
|
|
0x6c, 0x81, 0x10, 0x10, 0x08, 0x0a, 0x24, 0x6e,
|
|
0x99, 0x46, 0x0c, 0x00, 0x0c, 0x00, 0xf8, 0xfe,
|
|
0xff, 0xff
|
|
/* extra: 91 06 11 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x00, 0x8b, 0x83},
|
|
.msg29_data = {
|
|
0x00, 0x40, 0xff, 0x3f, 0x02, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x3b,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c,
|
|
0xff, 0x23, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 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
|
|
}
|
|
},
|
|
{ /* Captured from IAR */
|
|
.name = "MSP430F449",
|
|
.msg28_data = {
|
|
0xf4, 0x49, 0x01, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x01, 0x60, 0x01, 0x00, 0xf5, 0x69,
|
|
0x00, 0x00
|
|
/* extra: 89 00 00 00 00 00 00 00 */
|
|
},
|
|
.msg29_params = {0xe, 0xe, 0xd},
|
|
.msg29_data = {
|
|
0x00, 0x11, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x10,
|
|
0xFF, 0x10, 0x80, 0x00, 0x00, 0x02, 0xFF, 0x09,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0x00,
|
|
0x02, 0x00, 0xD7, 0x60, 0x90, 0x00, 0xA4, 0x00,
|
|
0x08, 0x07, 0x10, 0x0E, 0xC4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1B, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x01, 0x00, 0x00, 0x00, 0xF3, 0xB0, 0xD3, 0xB0,
|
|
0xC0, 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, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x00, 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
|
|
}
|
|
},
|
|
{ /* From USB capture */
|
|
.name = "MSP430F6435",
|
|
.msg28_data = {
|
|
0x21, 0x81, 0x22, 0x11, 0x08, 0x0a, 0xb5, 0x14,
|
|
0x98, 0x46, 0x22, 0x00, 0x19, 0x00, 0xf8, 0xfe,
|
|
0x4d, 0x9d
|
|
/* extra: 91 04 21 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0x0, 0x0106, 0xfe},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0x7f, 0x04, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x1c, 0xff, 0x63,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x0f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x04, 0x02, 0x00,
|
|
0x0a, 0x00, 0x40, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x00, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0xb0, 0x00, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x1c, 0xff, 0x23, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00
|
|
}
|
|
},
|
|
{ /* Based on MSP430F5527 */
|
|
.name = "MSP430F5521",
|
|
.msg28_data = {
|
|
0x55, 0x21, 0x14, 0x12, 0x08, 0x0a, 0xca, 0xc0,
|
|
0x8b, 0x46, 0x1e, 0x00, 0x1c, 0x00, 0xf8, 0xfe,
|
|
0x61, 0xf4
|
|
/* extra: 91 03 01 00 1a 00 04 05 */
|
|
},
|
|
.msg29_params = {0, 0x89, 0x81},
|
|
.msg29_data = {
|
|
0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x18,
|
|
0xff, 0x19, 0x80, 0x00, 0x00, 0x24, 0xff, 0x43,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00,
|
|
0x02, 0x00, 0x1f, 0x04, 0x00, 0x00, 0x00, 0x00,
|
|
0x08, 0x07, 0x10, 0x0e, 0xc4, 0x09, 0x70, 0x17,
|
|
0x58, 0x1b, 0x01, 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, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff
|
|
},
|
|
.msg2b_len = 0x4a,
|
|
.msg2b_data = {
|
|
0x00, 0x10, 0xff, 0x17, 0x00, 0x02, 0x02, 0x00,
|
|
0x0a, 0x00, 0x20, 0x00, 0x0a, 0x91, 0x8e, 0x8f,
|
|
0x9d, 0x40, 0x28, 0x29, 0x2a, 0x2b, 0x8a, 0xd8,
|
|
0xa8, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
|
|
0x00, 0x1c, 0xff, 0x23, 0x00, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
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)
|
|
{
|
|
int i;
|
|
int best_score = 0;
|
|
int best = -1;
|
|
|
|
if (len < 2)
|
|
return NULL;
|
|
|
|
if (len > FET_DB_MSG28_LEN)
|
|
len = FET_DB_MSG28_LEN;
|
|
|
|
for (i = 0; i < ARRAY_LEN(fet_db); i++) {
|
|
const struct fet_db_record *r = &fet_db[i];
|
|
|
|
if (r->msg28_data[0] == data[0] &&
|
|
r->msg28_data[1] == data[1]) {
|
|
static const int coefficients[FET_DB_MSG28_LEN] = {
|
|
1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 0, 0, 1, 1, 1, 1,
|
|
10, 1
|
|
};
|
|
|
|
int score = 0;
|
|
int j;
|
|
|
|
for (j = 0; j < len; j++)
|
|
if (r->msg28_data[j] == data[j])
|
|
score += coefficients[j];
|
|
|
|
if (best < 0 || score > best_score) {
|
|
best = i;
|
|
best_score = score;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (best >= 0)
|
|
return &fet_db[best];
|
|
|
|
return NULL;
|
|
}
|
|
|
|
const struct fet_db_record *fet_db_find_by_name(const char *name)
|
|
{
|
|
int i;
|
|
|
|
for (i = 0; i < ARRAY_LEN(fet_db); i++) {
|
|
const struct fet_db_record *r = &fet_db[i];
|
|
|
|
if (!strcasecmp(r->name, name))
|
|
return r;
|
|
}
|
|
|
|
return NULL;
|
|
}
|
|
|
|
int fet_db_enum(fet_db_enum_func_t func, void *user_data)
|
|
{
|
|
int i;
|
|
|
|
for (i = 0; i < ARRAY_LEN(fet_db); i++)
|
|
if (func(user_data, &fet_db[i]) < 0)
|
|
return -1;
|
|
|
|
return 0;
|
|
}
|