Ingo Donasch
7e04b31e65
pif: fix flash address range.
2015-01-03 10:01:13 +13:00
Tamas TEVESZ
4cb44ffc72
Add FET error codes from MSP430DLL v3.4.3.4 (SLAC460k)
2014-12-29 11:17:23 +13:00
Jason K. Smith
7abeef34c3
sim: correct cycle count when using constant generators
...
When the source register is R2 (SR) or R3 the cycle counts match
register mode for any value of the source-register addressing mode (As).
2014-12-16 10:04:20 +13:00
Paolo Zebelloni
c0d3fbe21a
BSL entry via GPIO toggling.
2014-12-15 09:06:30 +13:00
Daniel Beer
e07ea5bae6
fet_olimex_db: use a terminator record instead of a fixed array size.
2014-12-15 09:04:38 +13:00
Daniel Beer
bac7d08653
fet_olimex_db: remove duplicated records.
2014-12-09 08:17:34 +13:00
Daniel Beer
166a99f2ab
fet_olimex_db: add support for MSP430G2955.
...
Adapted from an older patch from Paul Haddad <paul@pth.com>.
2014-11-18 12:53:26 +13:00
Daniel Beer
9472dd46a9
Add support for OpenIndiana.
...
Based on changes suggested by Reginald Beardsley <pulaskite@yahoo.com>.
2014-07-05 10:35:07 +12:00
Daniel Beer
89d81377fd
demangle: fix prototype mismatch.
...
We declared the function to take size_t, but it really expected int. The
implementation is changed to use size_t throughout.
Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749434
2014-05-28 10:40:58 +12:00
Daniel Beer
057ad4e5e5
dis: fix extension word decoding for PC-relative operands.
...
We need to make sure that we perform the offset addition as a 20-bit
operation when an extension word is present.
2014-05-05 09:39:39 +12:00
Daniel Beer
bb63112025
gdb: fix compatibility with msp430-elf-gdb.
...
The new GDB expects 32-bit register fields, whereas msp430-gdb expected
16-bit fields. We distinguish between the two by looking at the list of
supported features on connection.
2014-05-01 09:07:07 +12:00
Daniel Beer
d2f8592124
rom_bsl: ROM bootstrap loader driver.
2014-04-17 15:58:16 +12:00
Daniel Beer
651d18e121
bsllib: separate modem control line sequencing.
2014-04-02 14:48:42 +13:00
Daniel Beer
4417bf82a7
flash_bsl: allow specification of custom entry/exit sequences.
2014-04-02 12:39:01 +13:00
Daniel Beer
2c7df22f4a
Fix build errors on Windows.
2014-03-08 17:55:07 +13:00
Tamas TEVESZ
a69609a7d1
Add FET error codes from MSP430DLL v3.4.0.20 (SLAC460h)
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2014-02-16 09:38:00 +13:00
Caso Caso
b23f0a4afb
fet_db: updated and improved database.
2014-02-09 20:37:22 +13:00
Daniel Beer
912aad2f44
v3hil: fix DCO/FLL calibration.
...
Reply was being truncated and then we were sending the wrong buffer in
the memory write call.
Pointed out by Eric Decker <cire831@gmail.com>.
2014-02-09 20:34:23 +13:00
Daniel Beer
9a425d2877
elf32: fix size in call to memset.
...
Pointed out by Eric Decker <cire831@gmail.com>.
2014-02-09 20:32:47 +13:00
Jose Angel Caso Sanchez
78f26b5a5e
New FET v2 database extracted from MSP430.DLL.
2014-02-07 10:43:42 +13:00
Daniel Beer
ad4e27c1a2
sim: bug fix: @SP+ always increments by 2.
...
The same rules for PC apply to the stack pointer. Even when byte-mode
instructions are executed, the stack pointer is incremented by a whole
word when using the indirect increment addressing mode.
2013-12-26 16:34:09 +13:00
Tamas TEVESZ
55671036a6
Re-style drivers/jtaglib.{c,h} to match the rest of the code
...
Strictly style changes only.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-13 06:37:04 +13:00
Tamas TEVESZ
91289a24a7
Fixes for DragonFly BSD
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-13 06:36:31 +13:00
Tamas TEVESZ
89b5d2d3da
sys/select.h for select(2)
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-13 06:36:29 +13:00
Tamas TEVESZ
f7b858ad89
Support building on NetBSD.
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-12 15:54:15 +13:00
Tamas TEVESZ
a8922dcc0e
Add MSP430.dll version as macros to chipinfo.db
...
Report the version of MSP430.dll that was used to generate
chipinfo.db in info texts.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-12 13:10:44 +13:00
Tamas TEVESZ
6501828e2d
DragonFly BSD bits in serial port and pif stuff
...
These bits should work the same as on FreeBSD.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-12 09:05:02 +13:00
Tamas TEVESZ
cc4a35bb12
Make pif driver work in FreeBSD.
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-11 15:15:51 +13:00
Tamas TEVESZ
47065b685b
New command: ! (drop to shell)
...
Adds a new command, !, that drops to an interactive OS shell, or
(optionally) executes specified commands using the OS shell.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-11 11:47:36 +13:00
Tamas TEVESZ
16a25f206a
Rework Unix delay_s()/delay_ms()
...
Make delay_ms() sleep through the entire specified interval unless
Ctrl-C is pressed;
Using this feature, simplify Ctrl-C checking in places.
2013-12-07 10:16:41 +13:00
Tamas TEVESZ
5909c6d60b
Use sig_atomic_t for ctrlc_flag
...
Semantic change only.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-07 10:16:37 +13:00
Daniel Beer
74d01ff269
bsl: add missing address increment.
2013-12-05 11:13:52 +13:00
Daniel Beer
5c1805ff2b
JTAG fuse blow: add "blow_jtag_fuse" command.
...
Support exists for this command on FET-like devices (including Olimex)
and the tilib driver.
2013-12-03 07:27:32 +13:00
Tamas TEVESZ
fac574a447
Regenerate chipinfo.db from MSP430.DLLv03.03.01.04 (SLAC460g)
...
Adds support for MSP430F5258
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-11-22 13:33:48 +13:00
Tamas TEVESZ
83f595d8d6
Force re-building of chipinfo.o if chipinfo.db changes
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-11-22 13:33:08 +13:00
Tamas TEVESZ
68a5dfef7d
Note regarding tilib and device discovery
...
Add a note to the man page stating that automatic device discovery
in tilib works only on Linux and Windows.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-11-22 08:48:32 +13:00
Daniel Beer
b2185061b7
Supress debug chatter in quiet mode.
2013-10-26 09:59:48 +13:00
Tamas TEVESZ
35df9ed67a
Add missing stdlib.h for malloc/free.
2013-10-10 12:02:45 +13:00
Tamas TEVESZ
a4d456a1b9
Unify spelling of `tty'
2013-10-10 12:02:45 +13:00
Tamas TEVESZ
8be4d394ee
mspdebug.man: note regarding TTY kernel driver.
...
Explicitly note that on the TTY kernel driver is detached from the
device if USB access to the driver is used, and the driver supports both
access methods.
2013-09-30 08:59:01 +13:00
Tamas TEVESZ
d8ff487e20
Typo: it's SLAC460, not SLAC060.
2013-09-30 08:58:53 +13:00
Daniel Beer
04b09dbbd7
v3hil: don't configure ASSERT_BSL_VALID_BIT.
...
This option is not implemented by all firmware versions.
2013-09-28 11:44:35 +12:00
Tamas TEVESZ
349c96faa8
Add FET error codes from MSP430.dll v3.3.01.003
...
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-09-26 08:03:08 +12:00
Daniel Beer
520b9cd071
flash_bsl: correct entry sequence.
...
Contributed by Micle Chebotarev <mcheb@yandex.ru>.
2013-09-16 16:28:29 +12:00
Daniel Beer
fb3617e486
fet_olimex_db: fix support for MSP430FR5739.
...
Changes made and tested by Sanne Ausma <sanneausma@gmail.com>.
2013-09-10 12:17:34 +12:00
Daniel Beer
0e58358bb1
fet3: driver for eZ-FET debuggers.
...
This driver is experimental. It supports flash/memory access and basic
CPU control. It doesn't support breakpoints.
2013-09-08 13:41:55 +12:00
Daniel Beer
8ec807fe20
chipinfo: chip database extracted from MSP430.DLL.
2013-09-08 12:51:14 +12:00
Daniel Beer
83f0d66597
bytes.h: byte-order utilities.
2013-08-27 14:56:54 +12:00
Daniel Beer
a64c940a20
loadbsl: trigger PUC on exit.
2013-07-23 10:28:52 +12:00
Daniel Beer
0c5751275d
loadbsl: retry password if first attempt fails.
2013-07-22 11:04:19 +12:00