Tadashi G. Takaoka
c325b5e80a
Fix linux build caused by pull request #58
2018-06-27 10:40:27 +09:00
Tadashi G. Takaoka
c9af50666d
Fix MSP Debug Stack dynamic library name on macOS
...
On macOS, a dynamic loadable library has .dylib suffix.
2018-04-03 23:00:32 +09:00
Andrew Bradford
622ea72431
Trivial spelling fixes found by lintian
...
Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
2018-02-27 11:50:41 -05:00
Andrew Bradford
1ca3919a1c
drivers/jtdev_bus_pirate: Fix GCC 7 misleading indent warning
...
Indent the jtbp_close() function consistently with tabs in order to fix
for GCC 7's flagging of this warning:
drivers/jtdev_bus_pirate.c: In function ‘jtbp_close’:
drivers/jtdev_bus_pirate.c:189:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(write(p->port, &out_buff, 1));
^~
drivers/jtdev_bus_pirate.c:191:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
close(p->port);
^~~~~
Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
2018-02-09 13:42:46 -05:00
Daniel Beer
2b4b40938c
fet_db: support for more FRAM chips.
...
Patch contributed by Yuriy Vlasenko <drvlas@gmail.com>.
2017-10-24 11:01:46 +13:00
Alex Orange
682d7ecc9c
Add a bus pirate driver.
...
This is extremely slow at programming things, but is very useful for
unbricking an MSP-FET430UIF if you have a bus pirate and no other
programmers around.
2017-06-14 13:53:03 -06:00
Alex Orange
8a1afe6c91
Add a function to the device struct to handle config fuses.
...
Also provide a getconfigfuses implementation for the pif based drivers (pif
and gpio).
2017-06-14 13:28:07 -06:00
Jan Pohanka
721a012e81
Support for slac460s (loadDeviceDb)
2017-02-17 08:44:19 +01:00
Jan Pohanka
bc57871a2e
MSP430 BSL needs even counts and addresses
...
According to (not very good) documentation and empiric testing
BSL expects sizes of buffers sends to both sides to be even.
The same applies to memory addresses.
2017-02-15 10:29:59 +01:00
Tamas TEVESZ
87af948114
Update last error number (comment only)
2017-01-28 13:26:41 +01:00
Tamas TEVESZ
ee08f5ee94
Add FET error codes from MSP430DLL v3.9.1.002 (SLAC460s)
2017-01-28 13:23:46 +01:00
Daniel Beer
9114125216
Merge pull request #23 from yamori813/master
...
Add Mac OS X native HID transport support.
2016-11-27 11:07:25 +13:00
Hiroki Mori
f96b0cb73d
Use Mac OS X HID Interface at BSL
2016-11-26 19:03:41 +09:00
John Pitney
916f63ef82
Add toggling the test and reset pins to make gpio 4-wire JTAG work
...
on SBW-enabled targets
2016-11-23 13:58:12 -06:00
John Pitney
ff3af47c34
Fix gpio configuration parsing
2016-11-19 13:46:43 -06:00
John Pitney
1b4fe52ef0
Add RST and TST to gpio driver
2016-11-19 10:18:54 -06:00
Tamas TEVESZ
b24703923f
Add FET error codes from MSP430DLL v3.8.1.0000 (SLAC460r)
2016-08-31 15:16:51 +02:00
David Siroky
1d54d8e3f5
flash_bsl_destroy: use GPIO if requested
2016-07-27 10:17:13 +02:00
David Siroky
3eefaaf3e7
don't unexport GPIO DTR/RTS if exported before
2016-07-27 10:17:08 +02:00
David Siroky
88b37e5007
flash-bsl RTS/DTR via GPIO
2016-07-18 16:05:16 +02:00
zcsahok
7cbc37c633
drivers/goodfet.c: initialize driver struct
2016-04-20 23:09:56 +02:00
Daniel Beer
045c299b31
fet_db: fix incorrect FUSES for MSP430F2274.
2016-01-29 08:19:01 +13:00
Daniel Beer
561118dd21
device: always probe, and fix FRAM detection.
2016-01-01 12:02:28 +13:00
Daniel Beer
89e6174b9f
Show triggered breakpoints (and watchpoints in sim).
...
The "regs" command indicates when the PC is sitting on an enabled
breakpoint. The simulator emits debug output when a watchpoint is
triggered by a simulated instruction.
2015-12-11 08:38:42 +13:00
zcsahok
38ea6143cd
added common readmem/writemem implementation with alignment and memory range checking
...
changed pif and goodfet to use common readmem/writemem
2015-10-24 15:48:21 +02:00
zcsahok
70a5480c15
device.c: added tlv_read and tlv_find
2015-10-22 21:03:02 +02:00
zcsahok
f5f881bc33
added optional common chip identification
2015-10-21 08:20:15 +02:00
zcsahok
be92e35742
goodfet.c: fix flash start address
2015-10-16 21:45:43 +02:00
Daniel Beer
cb765f639d
fet_core: reset after erase.
...
Some versions of the Olimex MSP-JTAG-TINY v2 require this for correct
JTAG function following an erase.
2015-06-11 09:24:27 +12:00
Daniel Beer
f1f513e013
tilib_api: add support for SLAC460L API.
2015-06-10 12:31:08 +12:00
Daniel Beer
7869fb7f6a
tilib: don't use clientHandle.
...
On 64-bit Windows systems, this callback argument isn't big enough to
hold a pointer. Use a global static variable instead.
2015-06-08 11:40:06 +12:00
Daniel Beer
4ea3856202
tilib_api: indirection layer for TI library dynamic loading.
2015-06-08 11:37:25 +12:00
Daniel Beer
56318beed1
drivers/fet_proto.c: deal with spurious 0xff from Olimex adapter.
...
The Olimex JTAG adapter occasionally emits an extra 0xff before sending
its reply to the C_INITIALIZE message. A small change to the FET packet
parser works around this.
Problem and original solution reported by Yingwei Li <ysulyw@gmail.com>.
2015-05-11 13:01:49 +12:00
Eric Price
76de9f7439
Added MSP430F5255 device description to fet_db
...
Entry added for chip ID 0x0382 (MSP430F5255)
Flash/RAM Memory layout and EEM debugging facilities have been set
according to device data-sheet. (msg28_data, msg29_data,
MSP430_STORED_INFO entries)
Flags and Parameters in msg2b_data copied from MSP430F5437A - couldn't
find any documentation on those. msg29_params copied from MSP430F5437A
- couldn't find any documentation on those
Chip detection, flashing and single step debugging with gdb tested with
MSP430F5255 using olimex-v1 hw-debugger
Signed-off-by: Jan Willeke <willeke@smartmote.de>
2015-04-14 09:14:10 +12:00
Peter Bägel (DF5EQ)
fdaad416b2
jtaglib: implement breakpoints.
2015-02-24 11:58:40 +13:00
Peter Bägel (DF5EQ)
320e560b99
jtaglib: implement single-stepping.
2015-02-24 11:37:29 +13:00
Jan Willeke
1be4ed0679
gpio driver Add gpio driver interface.
...
Signed-off-by: Jan Willeke <willeke@smartmote.de>
2015-02-04 12:48:30 +13:00
Jan Willeke
9497265e72
gpio driver prepare patch
...
moves jtdev functions to pointers, to exchange late on.
Signed-off-by: Jan Willeke <willeke@smartmote.de>
2015-02-04 12:48:30 +13:00
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
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