Commit Graph

775 Commits

Author SHA1 Message Date
John Pitney fa3557db51 Turn strip back on in Makefile 2016-11-19 13:49:40 -06:00
John Pitney 929adda710 Update man page to include reset and test pin mapping 2016-11-19 13:48:32 -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
Daniel Beer 7159a261b7 Merge pull request #17 from melak/slac460_fet_error_codes
Add FET error codes from MSP430DLL v3.8.1.0000 (SLAC460r)
2016-09-01 08:02:03 +12:00
Tamas TEVESZ b24703923f Add FET error codes from MSP430DLL v3.8.1.0000 (SLAC460r) 2016-08-31 15:16:51 +02:00
Daniel Beer 97641b3bb2 Merge pull request #16 from woodsts/cygwin-build
Makefile: Fix Cygwin build
2016-08-30 10:59:29 +12:00
Derald D. Woods 86b3090338 Makefile: Fix Cygwin build
This commit moves the definitions of UNAME_* above the initial check
of the OS environment variable. Previously, UNAME_O would not be set
in the case where OS is Windows_NT. Builds would incorrectly use Windows
OS_LIBS and OS_CFLAGS in a Cygwin build environment. The tree now builds
cleanly with Cygwin's libusb-1.0 and libreadline development packages
installed.

Using Cygwin's serial port mappings for MSP-FET430UIF:

$ mspdebug -d /dev/ttyS1 uif

MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.

Trying to open /dev/ttyS1 at 460800 bps...
Initializing FET...
FET protocol version is 20408002
Set Vcc: 3000 mV
Configured for Spy-Bi-Wire
Device ID: 0x0580
  Code start address: 0x5c00
  Code size         : 262144 byte = 256 kb
  RAM  start address: 0x1c00
  RAM  end   address: 0x5bff
  RAM  size         : 16384 byte = 16 kb
Device: MSP430F5438A
Number of breakpoints: 8
fet: FET returned NAK
warning: device does not support power profiling
Chip ID data:
  ver_id:         8005
  ver_sub_id:     0000
  revision:       13
  fab:            55
  self:           5555
  config:         13
Device: MSP430F5438A

[...]
2016-08-29 13:28:44 -05:00
Daniel Beer bf61024ec2 Merge branch 'dsiroky-master' 2016-07-27 20:42:00 +12:00
Daniel Beer 1669f758de Merge branch 'master' of https://github.com/dsiroky/mspdebug into dsiroky-master 2016-07-27 20:41:21 +12: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
Daniel Beer c0f3d2f259 Merge branch 'master' of https://github.com/dsiroky/mspdebug into dsiroky-master 2016-07-19 08:38:25 +12:00
David Siroky 88b37e5007 flash-bsl RTS/DTR via GPIO 2016-07-18 16:05:16 +02:00
Daniel Beer fb8691bf30 Version 0.24 2016-05-14 11:50:59 +12:00
Daniel Beer ffbb3eaadc Windows build fix-ups. 2016-05-14 11:47:28 +12:00
zcsahok 7cbc37c633 drivers/goodfet.c: initialize driver struct 2016-04-20 23:09:56 +02:00
zcsahok 1bfb30ab59 ui/devcmd.c: move free(path) after usage 2016-04-20 17:44:21 +02:00
zcsahok 0513b770de ui/devcmd.c: fix path in error text 2016-04-19 18:45:03 +02:00
Daniel Beer 045c299b31 fet_db: fix incorrect FUSES for MSP430F2274. 2016-01-29 08:19:01 +13:00
Ingo van Lil 0a56e916a7 Tab completion with readline. 2016-01-25 20:36:03 +01:00
Ingo van Lil 20252e36ac Persistent history with readline. 2016-01-25 20:34:05 +01:00
Ingo van Lil 811567a7bf Separate input drivers for GNU readline and plain console input. 2016-01-25 01:15:37 +01:00
Ingo van Lil 0b52f40933 Fix memleak in vector_realloc. 2016-01-24 11:38:31 +01:00
Ingo van Lil e4644f70aa Allow register names in address expressions. 2016-01-21 18:35:52 +01:00
Daniel Beer a643a2e833 devcmd: "step N" now checks for breakpoints after each step. 2016-01-09 11:51:59 +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 235a4fce45 flatfile: fix handling of zero-length files. 2015-07-16 13:14:54 +12: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 5e47033700 ui/input_async.c: fix synchronization scheme.
We now have entirely separate channels for each direction of
communication between the producer and consumer, rather than having the
two sides share a single state machine.
2015-05-20 09:37:18 +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
Daniel Beer 3294192804 prog/load: fix argument parsing (treat quotes correctly). 2015-04-22 12:02:10 +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
Daniel Beer 74665132bb Use pkg-config on OS/X when Fink is available. 2015-03-16 08:18:39 +13:00
Daniel Beer e6345b1238 Version 0.23 2015-03-02 10:12:03 +13:00
Daniel Beer 7ec3bc6175 Makefile: rework for TDM-GCC compatibility. 2015-03-02 09:39:21 +13:00
Daniel Beer e6a0f0ac95 util/gpio: add Windows stubs. 2015-03-02 09:39:08 +13: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
Daniel Beer 50684f5991 Manual: remove note on old "mw" restriction. 2015-02-18 16:50:18 +13:00
Daniel Beer 761841b805 Add Jan Willeke to AUTHORS file. 2015-02-04 12:48:55 +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