Fix support for MSP430F2618.
Breakpoint count is stored as a byte, not a 16-bit word.
This commit is contained in:
parent
fc336e78d0
commit
08cd326e66
|
@ -559,7 +559,7 @@ static int identify_new(struct fet_device *dev, const char *force_id)
|
|||
}
|
||||
|
||||
dev->code_start = LE_WORD(r->msg29_data, 0);
|
||||
dev->base.max_breakpoints = LE_WORD(r->msg29_data, 0x14);
|
||||
dev->base.max_breakpoints = r->msg29_data[0x14];
|
||||
|
||||
printc_dbg(" Code start address: 0x%x\n",
|
||||
LE_WORD(r->msg29_data, 0));
|
||||
|
|
|
@ -476,30 +476,29 @@ static const struct fet_db_record fet_db[] = {
|
|||
0x89, 0x00
|
||||
/* extra: 89 00 00 00 00 00 00 00 */
|
||||
},
|
||||
.msg29_params = {0x00, 0x41, 0x39},
|
||||
.msg29_params = {0x00, 0x42, 0x3a},
|
||||
.msg29_data = {
|
||||
0x00, 0x31, 0xff, 0xff, 0x01, 0x00, 0x00, 0x10,
|
||||
0xff, 0x10, 0x40, 0x00, 0x00, 0x11, 0xff, 0x30,
|
||||
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
|
||||
0xff, 0x10, 0x40, 0x00, 0x00, 0x02, 0xff, 0x09,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x07, 0x10, 0x0e,
|
||||
0xc4, 0x09, 0x70, 0x17, 0x58, 0x1b, 0xd7, 0x60,
|
||||
0x70, 0x00, 0x08, 0x03, 0x02, 0x03, 0x33, 0x0f,
|
||||
0x1f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00
|
||||
},
|
||||
.msg2b_len = 0x4a,
|
||||
.msg2b_len = 0x42,
|
||||
.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,
|
||||
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
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue