Commit Graph

106 Commits

Author SHA1 Message Date
Ionut Nicu d5ecb69633 Add --force-reset option
Without this option MSP430F5526 fails to reset its
registers properly. When the SP register points to
a random address and we try to set a breakpoint with
gdb, it will try to read all memory locations from
SP up to the top of the RAM searching for the return
address in the current stack frame.

On MSP430F47173 initialization fails when not using
reset (command C_IDENT1 failed) and we also need
to fall back to using try_open with send_reset = 1.

Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
2011-03-27 13:01:00 +13:00
Daniel Beer ae2357170c stab: plain functions instead of passing around stab_default. 2011-03-15 15:20:50 +13:00
Daniel Beer ed2c841da9 Separated device vtables/class information. 2011-03-15 14:56:07 +13:00
Daniel Beer b6e241a9e3 Implemented uniform device constructor functions. 2011-03-15 14:20:06 +13:00
Daniel Beer fdaf99a70e Introduced device_* helper macros. 2011-03-15 13:12:48 +13:00
Daniel Beer 37e7216a19 simio: integrated programmed IO interface with CPU simulator. 2011-03-10 12:06:05 +13:00
Daniel Beer 5f40c55f4e simio: added "simio" command and device/CPU interfaces. 2011-03-10 10:48:59 +13:00
Daniel Beer f23c230e9a Version 0.14 2011-02-07 11:55:37 +13:00
Daniel Beer de138c4573 Version 0.13 2010-11-09 10:40:57 +13:00
Daniel Beer 1570f3cbdd Support for Olimex MSP430-JTAG-ISO. 2010-11-09 09:16:31 +13:00
Daniel Beer 50f589b05c Print version text by default if not started in quiet mode. 2010-10-28 14:08:22 +13:00
Daniel Beer 9121b5028d Version 0.12 2010-10-12 13:01:45 +13:00
Daniel Beer 5e39d82784 Device list is printed in multiple columns. 2010-10-12 12:02:17 +13:00
Daniel Beer 6d888fff25 Print commands as they're read from a file.
When using the "read" command, all commands executed are printed first,
so you can see what goes wrong, if anything.
2010-10-12 11:53:46 +13:00
Daniel Beer 32f45d72de fet: reset on close, rather than init. 2010-10-12 11:00:09 +13:00
Daniel Beer 984b1a3b57 Modified AUTHORS entry to record flash-bsl changes. 2010-09-23 13:40:53 +12:00
Andrew Armenia 80aafafeeb add usage information to main.c 2010-09-23 13:35:33 +12:00
Andrew Armenia 89520c052e initial version of flash_bsl driver
This driver allows mspdebug to talk to the bootloader on a flash MSP430
via a serial port. DTR and RTS lines are used to control the TEST and
RST# pins on the MSP430, respectively. Currently, read and program are
supported. However, read is fairly useless because the driver currently
does not support any password other than the default. Thus it must
mass-erase the chip to gain access.

Read that again. USING THIS DRIVER WILL MASS ERASE YOUR CHIP IMMEDIATELY,
WITHOUT YOU ASKING FOR IT.
2010-09-23 13:35:33 +12:00
Daniel Beer 96c5e92093 Version 0.11 2010-09-09 12:29:49 +12:00
Daniel Beer 28923bf997 Changed command-line option "-r" to "--no-reset". 2010-09-06 14:42:08 +12:00
Daniel Beer 2ef8f7574b fet: by default, reset chip on startup. 2010-09-02 11:55:12 +12:00
Daniel Beer 9c2ed8c5fc Introduced quiet mode option and command-line switch.
Based on a patch by Eric Decker <cire831@gmail.com>
2010-08-31 15:50:00 +12:00
Daniel Beer 764e5c04a9 Allow Ctrl+C to interrupt during initialization. 2010-08-31 09:32:07 +12:00
Daniel Beer d512949d81 MSPDebug commands can now be issued from GDB.
The argument to the "monitor" command is now passed straight to the
reader, and the output is captured and fed back to GDB.
2010-08-17 11:47:47 +12:00
Daniel Beer 87f89adc44 All output now goes through buffering/filtering.
The following substitutions have been made:

    printf -> printc
    fprintf(stderr, ...) -> printc_err(...)
    perror -> pr_error
2010-08-17 11:07:03 +12:00
Daniel Beer 9a4ef8a909 Simplified command reader. 2010-08-13 16:40:58 +12:00
Daniel Beer 6dd1ab25c3 Separated command database. 2010-08-13 16:06:23 +12:00
Daniel Beer 984ffe6e88 Separate option database. 2010-08-13 15:14:15 +12:00
Daniel Beer 0120b146ae Create default device to avoid carrying around device_t. 2010-08-13 12:25:49 +12:00
Daniel Beer 4cc81497af Create default stab to avoid carrying around stab_t. 2010-08-13 12:12:50 +12:00
Daniel Beer 137329cc13 Symbol table and address expressions are now 32-bit clean. 2010-08-05 13:59:33 +12:00
Daniel Beer 622396a1c1 Version 0.10 2010-08-04 14:08:43 +12:00
Daniel Beer f96c57cb6e Version 0.9 2010-06-29 12:49:56 +12:00
Daniel Beer 4824ab7750 Added support for multiple instances of USB devices. 2010-06-28 15:47:50 +12:00
Daniel Beer 8503cc4a85 Drivers are now specified by name, rather than different switches. 2010-06-28 14:36:05 +12:00
Peter Jansen 9dd216e604 Support for MSP-JTAG-TINY via USB bus (CP2102). 2010-06-28 10:36:25 +12:00
Daniel Beer cf4ec417ff Added support for Olimex MSP430-JTAG-TINY. 2010-06-15 14:53:38 +12:00
Daniel Beer efabaf5161 Consistent spelling of "Spy-Bi-Wire". 2010-06-15 13:13:51 +12:00
Daniel Beer c1bb903b99 Try to use JTAG mode 2 with UIF devices. 2010-06-15 12:56:20 +12:00
Daniel Beer 5ed4473dda Version 0.8 2010-05-22 17:42:10 +12:00
Daniel Beer ecdd05d786 Sort FET device list. 2010-05-19 12:08:50 +12:00
Daniel Beer a87ad8b834 Added --fet-force-id command-line option. 2010-05-19 11:54:15 +12:00
Daniel Beer 0e58c52192 Added --fet-list command-line option. 2010-05-19 11:48:01 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer ca3e5dd645 Symbol table is an object. 2010-05-01 18:34:43 +12:00
Daniel Beer 2794165dee Separated address expression parsing. 2010-05-01 17:54:10 +12:00
Daniel Beer 6379839997 Version 0.7 2010-04-30 17:17:11 +12:00
Daniel Beer c981893254 Transports are now objects. 2010-04-30 16:57:57 +12:00
Daniel Beer 204aa31291 Device drivers are now objects. 2010-04-30 16:01:03 +12:00
Daniel Beer 1f98eb4339 Extracted functions from main. 2010-04-29 15:56:47 +12:00