Added support for MSP430FR5739.
Use "load" instead of "prog" for programming.
This commit is contained in:
parent
0f3265e741
commit
1e21d9da8f
3
AUTHORS
3
AUTHORS
|
@ -55,3 +55,6 @@ Ionut Nicu <ionut.nicu@mindbit.ro>:
|
||||||
|
|
||||||
Paul Fleischer <paul@xpg.dk>:
|
Paul Fleischer <paul@xpg.dk>:
|
||||||
* Support for MSP430G2553.
|
* Support for MSP430G2553.
|
||||||
|
|
||||||
|
Kurt Snieckus <ksnieck@gmail.com>:
|
||||||
|
* Testing and analysis for MSP430FR5739.
|
||||||
|
|
6
fet.c
6
fet.c
|
@ -568,6 +568,12 @@ static int identify_new(struct fet_device *dev, const char *force_id)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This packet seems to be necessary in order to program on the
|
||||||
|
* MSP430FR5739 development board.
|
||||||
|
*/
|
||||||
|
if (xfer(dev, 0x30, NULL, 0, 0) < 0)
|
||||||
|
printc_dbg("fet: warning: message 0x30 failed\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
35
fet_db.c
35
fet_db.c
|
@ -1493,6 +1493,41 @@ static const struct fet_db_record fet_db[] = {
|
||||||
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
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct fet_db_record *fet_db_find_by_msg28(uint8_t *data, int len)
|
const struct fet_db_record *fet_db_find_by_msg28(uint8_t *data, int len)
|
||||||
|
|
Loading…
Reference in New Issue