Commit Graph

624 Commits

Author SHA1 Message Date
Tamas TEVESZ d11785c5d9 Add BSDmakefile, a wrapper to call gmake on some BSDs.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-07-19 11:38:21 +12:00
Daniel Beer b4996ba0bd Add description of "load-bsl" driver to manual. 2013-07-18 14:22:56 +12:00
Daniel Beer d3b57a5cd7 New driver: load-bsl.
This driver supports the USB bootstrap loader. An initial version query
is performed on startup. If the running loader is not sufficiently
featureful, a software image for an upgraded BSL is loaded into the
chip's RAM and executed.
2013-07-18 14:03:29 +12:00
Daniel Beer b407fca15e transport: modify interface to support disappearing devices. 2013-07-18 13:56:26 +12:00
Daniel Beer d54cf16a13 util: add ADDRESS_NONE definition. 2013-07-18 13:56:04 +12:00
Daniel Beer 06f6613442 Version 0.22 2013-07-18 12:23:16 +12:00
David Carne 8bec81f576 Fix Intel hex ELAR record generation. 2013-07-08 08:38:31 +12:00
Daniel Beer 93faabd5e5 Fix exit code under Cygwin.
Based on patch from Hardy Griech <ntbox@mardys.de>.
2013-06-20 09:11:17 +12:00
Daniel Beer 9c913ee1f6 dis: fix source symbolic mode decoding. 2013-05-27 09:10:51 +12:00
Mario Werner 47c0349de2 Fixed DADD implementation.
Implemented DADD as addition of BCD numbers like it is supposed to be.
2013-05-27 09:05:36 +12:00
Mario Werner ef41b1cbab Fixed cycle counts in disassembly.
Fixed the cycle count for single op indirect and autoincrement
addressing.
2013-05-27 09:05:36 +12:00
Mario Werner c141f5e5e1 Fixed symbolic addressing mode
Due to a too early increment of the program counter all symbolic
addressed x(PC) memory accesses have offseted by 2.
2013-05-27 09:05:36 +12:00
Mario Werner 6fe57b02e4 Fixed error in carry calculation for MAC of the hwmult 2013-05-27 09:05:36 +12:00
Daniel Beer df6f0ec3bc Add --fet-skip-close option.
Supplying this option causes the JTAG close procedure to be skipped
when closing the FET driver.
2013-05-21 15:59:17 +12:00
Daniel Beer 250ce908a1 Print usage message on stdout, not stderr. 2013-05-21 07:54:07 +12:00
Daniel Beer 9226cbf566 Add support for MSP430FR5729. 2013-05-14 21:42:02 +12:00
Daniel Beer 947f72e5ea cp210x: handle 0 return from usb_bulk_read().
This fixes a problem with the Olimex MSP430-JTAG-TINY v1, reported by
Hardy Griech on mspgcc-users.
2013-05-07 08:08:33 +12:00
Daniel Beer cb4091f121 fet_core: fall-back on Olimex identification database. 2013-04-23 08:32:11 +12:00
Daniel Beer 1c0bdccc74 opdb: add option for setting default GDB port. 2013-04-22 10:29:30 +12:00
Paul Haddad a0499ab6f0 Add support for MSP430G2955. 2013-04-05 09:43:24 +13:00
Daniel Beer 09c2acbfd6 Search for .mspdebug in current directory first. 2013-04-04 15:53:38 +13:00
Daniel Beer 8bed72bb48 help command: add hint for option use. 2013-04-04 15:52:21 +13:00
Daniel Beer 7bb058c7ba Add "erase segrange" for erasing contiguous sets of segments. 2013-03-26 10:19:31 +13:00
Daniel Beer dc3b154ef9 Add -C option for specifying alternative config file. 2013-03-26 10:07:32 +13:00
Daniel Beer eacf4b8be4 sim: fix PC-relative operand fetch.
Index should be relative to the value of PC after fetching the index
word.
2013-03-26 09:25:33 +13:00
Daniel Beer da3b7e31a2 Partial revert of ce2e0a94f4.
Jump instruction offsets are relative to start of instruction.
2013-03-13 10:40:43 +13:00
Daniel Beer 9bbe525776 Add support for MSP430FR5728. 2013-03-10 16:25:58 +13:00
Daniel Beer 1217d244e6 Remove "locka" command.
This command is useless, because each programming tool configures the
flash control registers before flash operations.
2013-03-10 15:32:19 +13:00
Daniel Beer 5ccf2e35d2 fet_core: fix segment erase.
A non-zero length must be supplied to the firmware.
2013-03-10 15:28:36 +13:00
Daniel Beer ce2e0a94f4 dis: correct offset for symbolic single-operand and jumps. 2013-02-25 15:40:03 +13:00
Daniel Beer a304b60dc9 fet_core: fix missing newline in debug message. 2013-02-22 10:45:05 +13:00
Daniel Beer fa75aa0854 Fix Win32 event use.
Incorrect use of the Ctrl+C event can lead to busy-waiting in socket and
serial port IO.
2013-02-11 12:49:56 +13:00
Daniel Beer e9b6a77414 dis/sim: fix handling of opcodes with two indexed operands.
If the source operand is indexed, and the destination is symbolic (PC +
index), then the base for the destination index is the program counter
*after* having fetched the source index.

Also, the addition of the index is done modulo 2^16 if the base points
within the lower 64 kB of memory.
2013-02-11 11:08:43 +13:00
Daniel Beer 72e781d0eb fet_core: Add workaround for CC5137 replug problem.
This chip needs to be replugged if the the shutdown procedure (reset and
close) runs. We look for the chip's ID and skip the procedure if it
matches.
2013-02-01 08:09:38 +13:00
Daniel Beer ad420dbb93 hexout: add proper terminator record. 2013-01-31 15:35:57 +13:00
Daniel Beer 7113fd2e50 disassemble: look only for exact symbol matches for operands. 2013-01-31 15:31:42 +13:00
Daniel Beer 2924dee3a2 fet: experimental support for Info A/BSL flash access. 2013-01-31 14:29:14 +13:00
Daniel Beer fd0199901c tilib: support for Info A/BSL flash access.
Two new boolean options have been added: "enable_locked_flash_access"
and "enable_bsl_access".
2013-01-31 13:54:19 +13:00
Daniel Beer 46ac7a75a9 tilib: fix segment erase.
A non-zero length is required to erase segments.
2013-01-31 13:22:05 +13:00
Daniel Beer 6d8a58c9c2 Use symbolic constants for long arguments. 2013-01-31 13:21:20 +13:00
Wolfgang Schwotzer 85c023d758 Support for MSP430FG4616. 2013-01-27 10:40:37 +13:00
Daniel Beer 29f6ceefa5 cp210x: fix incorrect clock value.
This was causing the olimex-v1 driver to fail with raw USB access.
2013-01-17 10:19:20 +13:00
Daniel Beer 65b2e94a2e dis: fix constant generation for single-operand.
Indexed mode with R3 shouldn't consume an index word, because this is
the combination used for generating the constant #1.
2013-01-15 11:47:50 +13:00
Bruce G. Burns db94eab4b2 Simulator bug fixes.
Fix handling of V flag, and ensure that high byte is discarded for byte
operations.
2013-01-14 16:47:59 +13:00
Daniel Beer 611574cc86 sport: fix build on Windows. 2012-12-18 13:59:26 +12:00
Pavel Vymetálek e491e14c3d fet_db: add support for MSP430G2352 2012-12-03 12:04:58 +13:00
Rob Spanton f94383d839 Add two missing includes to util.c
util.c was missing sys/select.h and sys/time.h.  On some platforms,
this lead to warnings.
2012-11-30 08:50:04 +13:00
Daniel Beer 9f72d296dc Fix incorrect initialization of transports. 2012-11-29 07:55:36 +13:00
Daniel Beer 5477cd78d8 Version 0.21 2012-11-26 12:27:48 +13:00
Daniel Beer 21fc0d904f fet_db: add support for MSP430F2416
Based on ID data from Pawel Jewstafjew <pawel.jewstafjew@gmail.com>.
2012-11-23 11:41:45 +13:00