Version 0.6
This commit is contained in:
parent
2fa53d6e9d
commit
4a298cdb3b
7
main.c
7
main.c
|
@ -470,6 +470,7 @@ static int cmd_run(char **arg)
|
||||||
{
|
{
|
||||||
char *bp_text = get_arg(arg);
|
char *bp_text = get_arg(arg);
|
||||||
int bp_addr;
|
int bp_addr;
|
||||||
|
device_status_t status;
|
||||||
|
|
||||||
if (bp_text) {
|
if (bp_text) {
|
||||||
if (stab_parse(bp_text, &bp_addr) < 0) {
|
if (stab_parse(bp_text, &bp_addr) < 0) {
|
||||||
|
@ -491,7 +492,9 @@ static int cmd_run(char **arg)
|
||||||
printf("Running.");
|
printf("Running.");
|
||||||
printf(" Press Ctrl+C to interrupt...\n");
|
printf(" Press Ctrl+C to interrupt...\n");
|
||||||
|
|
||||||
msp430_dev->wait(1);
|
status = msp430_dev->wait(1);
|
||||||
|
if (status == DEVICE_STATUS_INTR)
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
if (msp430_dev->control(DEVICE_CTL_HALT) < 0)
|
if (msp430_dev->control(DEVICE_CTL_HALT) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -988,7 +991,7 @@ int main(int argc, char **argv)
|
||||||
int mode = 0;
|
int mode = 0;
|
||||||
|
|
||||||
puts(
|
puts(
|
||||||
"MSPDebug version 0.5 - debugging tool for MSP430 MCUs\n"
|
"MSPDebug version 0.6 - debugging tool for MSP430 MCUs\n"
|
||||||
"Copyright (C) 2009, 2010 Daniel Beer <daniel@tortek.co.nz>\n"
|
"Copyright (C) 2009, 2010 Daniel Beer <daniel@tortek.co.nz>\n"
|
||||||
"This is free software; see the source for copying conditions. There is NO\n"
|
"This is free software; see the source for copying conditions. There is NO\n"
|
||||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
|
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
|
||||||
|
|
19
mspdebug.man
19
mspdebug.man
|
@ -1,4 +1,4 @@
|
||||||
.TH mspdebug 1 "20 Mar 2010" "Version 0.5"
|
.TH mspdebug 1 "20 Mar 2010" "Version 0.6"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
MSPDebug - debugging tool for MSP430 MCUs
|
MSPDebug - debugging tool for MSP430 MCUs
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -132,6 +132,9 @@ corresponding to printable bytes, and . for non-printing characters.
|
||||||
Write a sequence of bytes at the given memory address. The address given
|
Write a sequence of bytes at the given memory address. The address given
|
||||||
may be an address expression. Bytes values are two-digit hexadecimal
|
may be an address expression. Bytes values are two-digit hexadecimal
|
||||||
numbers separated by spaces.
|
numbers separated by spaces.
|
||||||
|
|
||||||
|
Unless used in the simulation mode, this command can only be used for
|
||||||
|
programming flash memory.
|
||||||
.IP "nosyms"
|
.IP "nosyms"
|
||||||
Clear all symbols from the symbol table. Symbols may be reloaded with
|
Clear all symbols from the symbol table. Symbols may be reloaded with
|
||||||
the \fBsyms\fR command.
|
the \fBsyms\fR command.
|
||||||
|
@ -223,16 +226,6 @@ complete. If you see a message like the following after connecting:
|
||||||
|
|
||||||
Please report it, as well as the model of the device you are using.
|
Please report it, as well as the model of the device you are using.
|
||||||
|
|
||||||
Some firmware versions of the FET430UIF are not supported. If you
|
|
||||||
encounter a version which doesn't work, you should try to extract
|
|
||||||
the firmware using the command:
|
|
||||||
|
|
||||||
.B mspdebug -B \fIdevice\fP 'hexout 0x2500 0xdb00 firmware.hex'
|
|
||||||
|
|
||||||
Please send the HEX file, along with the firmware version. The
|
|
||||||
firmware version is reported in the transcript when connecting
|
|
||||||
with the \fB-u\fR option.
|
|
||||||
|
|
||||||
Firmware version 20107000 is known to work with MSPDebug, and you can
|
Firmware version 20107000 is known to work with MSPDebug, and you can
|
||||||
update your FET to this version using the proprietary
|
update your FET to this version using the proprietary
|
||||||
\fBmsp430\-gdbproxy\fR program:
|
\fBmsp430\-gdbproxy\fR program:
|
||||||
|
@ -242,6 +235,10 @@ update your FET to this version using the proprietary
|
||||||
This command updates the FET firmware using the same bootloader
|
This command updates the FET firmware using the same bootloader
|
||||||
supported by MSPDebug's \fB\-B\fR option. However, as mentioned above,
|
supported by MSPDebug's \fB\-B\fR option. However, as mentioned above,
|
||||||
MSPDebug does not support erase or programming in this mode.
|
MSPDebug does not support erase or programming in this mode.
|
||||||
|
|
||||||
|
When using the GDB remote stub in simulation and an IO read request
|
||||||
|
occurs, any request to interrupt from GDB will not be acknowledged
|
||||||
|
until the IO request is either completed or aborted.
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright (C) 2009, 2010 Daniel Beer <daniel@tortek.co.nz>
|
Copyright (C) 2009, 2010 Daniel Beer <daniel@tortek.co.nz>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue