Commit Graph

638 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
Ionut Nicu 5c0a57254c Add support for MSP430F5526
Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
Signed-off-by: Radu Rendec <radu.rendec@mindbit.ro>
2011-03-26 16:08:23 +13:00
Ionut Nicu f1962d9870 Add support for MSP430F47173
Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
Signed-off-by: Radu Rendec <radu.rendec@mindbit.ro>
2011-03-26 16:08:13 +13:00
Peter Jansen 77af9739ce Fix to close gdb client.
GDB reader now understands the "k" command.
2011-03-21 11:21:40 +13:00
Daniel Beer 0330823f9c Added support for MSP430F5525. 2011-03-16 19:43:39 +13:00
Daniel Beer 3e3b5cc1d0 Increased size of output formatting buffer. 2011-03-15 16:08:57 +13:00
Daniel Beer 21dab55de1 Fixed incorrect driver names. 2011-03-15 16:08:46 +13:00
Daniel Beer 7e1068334f Extracted print_address. 2011-03-15 16:00:34 +13:00
Daniel Beer 41375ba084 Separated FET protocol quirks into flags. 2011-03-15 15:36:50 +13:00
Daniel Beer 0b94a97c97 Document supported file formats in manual. 2011-03-15 15:26:23 +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 9a0173607e Fixed field widths in read/write progress messages. 2011-03-11 14:59:02 +13:00
Daniel Beer 2f99793914 simio: implemented GPIO simulation. 2011-03-11 14:51:39 +13:00
Daniel Beer 5bd737616d simio: implemented hardware multiplier simulation. 2011-03-11 13:49:07 +13:00
Daniel Beer f9488ec417 simio: implemented Watchdog Timer+ simulation. 2011-03-11 13:18:03 +13:00
Daniel Beer 716bd0985a Document IO simulator in manual. 2011-03-11 11:38:23 +13:00
Daniel Beer f4b1b629cb simio: fix broken Timer_A input divider. 2011-03-11 10:14:31 +13:00
Daniel Beer 0df20f690a simio: bug fixes - documentation and CCI flag storage. 2011-03-10 16:58:23 +13:00
Daniel Beer 8a1c8e8209 sim: debug memory requests will access IO memory. 2011-03-10 16:48:16 +13:00
Daniel Beer 82638f89af sim: don't mask the NMI interrupt with the GIE bit. 2011-03-10 16:44:43 +13:00
Daniel Beer c5686b70cf simio: implemented Timer_A. 2011-03-10 16:42:52 +13:00
Daniel Beer 7a066dd5a5 simio: implemented interrupt handling. 2011-03-10 14:40:31 +13:00
Daniel Beer 981e691913 simio: implemented instruction cycle counting. 2011-03-10 12:53:20 +13:00
Daniel Beer 37e7216a19 simio: integrated programmed IO interface with CPU simulator. 2011-03-10 12:06:05 +13:00
Daniel Beer 1cf7385364 simio: implemented tracer peripheral. 2011-03-10 11:57:06 +13:00
Daniel Beer 5f40c55f4e simio: added "simio" command and device/CPU interfaces. 2011-03-10 10:48:59 +13:00
Daniel Beer 115683c8bc Define STT_COMMON if not defined already.
This symbol is missing on Cygwin.
2011-02-22 09:49:53 +13:00
Daniel Beer e182be2204 Added fet_block_size option.
This option controls the buffer size used for transfers to and from the
FET. Increasing it will improve transfer times, but may cause problems
with some chips.

Also, the default request size used for several commands has been
increased to take advantage of this.
2011-02-21 11:30:32 +13:00
Daniel Beer 429edda47d Manual: remove reference to obsolete -R and -u options. 2011-02-21 11:13:43 +13:00
Daniel Beer 962aca5fa3 Added support for MSP430G2452. 2011-02-09 09:00:17 +13:00
Daniel Beer f23c230e9a Version 0.14 2011-02-07 11:55:37 +13:00
Daniel Beer a7e042fa78 Added support for MSP430F2122. 2011-01-16 12:44:43 +13:00
Richard Nauber 1655524a2c sim: fix execution of SUB/SUBC/CMP opcodes. 2010-12-25 22:36:30 +13:00
Jasper Lievisse Adriaanse 6939f2c90e Adjust email address, make CC overridable again. 2010-12-07 09:24:25 +13:00
Jasper Lievisse Adriaanse 837c020277 Make tweaking CFLAGS/LDFLAGS porting infrastructure agnostic. 2010-12-06 12:31:54 +13:00
Jasper Lievisse Adriaanse d8afaf3537 Olimex ISO will only work on Linux.
Adjust #define's accordingly, instead of saying where it won't work.
2010-12-06 12:28:08 +13:00
Jasper Lievisse Adriaanse e37eb1be6c More proper ifdef blocks for Linux-only bits. 2010-12-06 12:25:45 +13:00
Jasper Lievisse Adriaanse 810c2b7c93 Add __OpenBSD__ where applicable. 2010-12-06 12:24:40 +13:00
Daniel Beer b8d461b8ba gdb: fixed faulty response to "read registers" command.
Due to incorrect trimming of register values, we sometimes sent a
reply packet which contained extra digits.
2010-12-02 20:09:44 +13:00
Andrew Armenia 1f7808a78f update flash_bsl for increased erase functionality
"erase all" seems to be unsupported by the BSL. Only DEVICE_ERASE_MAIN
and DEVICE_ERASE_SEGMENT are therefore implemented. DEVICE_ERASE_ALL
could be implemented, if the addresses of information memory were known.
2010-12-01 14:29:17 +13:00
Daniel Beer a08d11b25b Fixed build on OS/X. 2010-11-13 13:18:33 +13:00
Daniel Beer 591feb3545 Support for MSP430F2272. 2010-11-11 09:31:54 +13:00
Daniel Beer 602b1c642f Corrected Stefan Mahr's email address. 2010-11-10 09:50:09 +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
James Laird 2e89e0b45d Support for CC430F5133. 2010-11-08 20:26:54 +13:00
Daniel Beer 3b4989b179 Fixed warning emitted by some gcc versions for dis.c.
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
dis.c:41: warning: ‘arg’ may be used uninitialized in this function
2010-10-28 14:12:52 +13:00