Commit Graph

752 Commits

Author SHA1 Message Date
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
Daniel Beer b9da911eae Version 0.25. 2017-07-24 18:58:05 +12:00
Daniel Beer 21c0e7863c Merge pull request #37 from CrazyCasta/config_fuses
Add a function to the device struct to handle config fuses.
2017-06-16 00:49:25 +12: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
Daniel Beer 33cd9ba4cd Merge pull request #35 from eblot/rf2500_hidapi
HIDAPI implementation for Rf2500 (TI Launchpad) for macOS
2017-04-27 11:05:19 +12:00
Emmanuel Blot 2d5bafe3fc Code cleanup 2017-04-26 16:24:28 +02:00
Emmanuel Blot 2bedf39532 Proper serial number management to select USB device 2017-04-26 13:04:34 +02:00
Emmanuel Blot 95dd38b52a Replace libusb with hidapi on macOS
macOS won't let libusb access the RF2500 HID device, but hidapi does.
2017-04-25 19:30:17 +02:00
Emmanuel Blot 587dbf1516 Duplicate RF2500 transport for HIDAPI backend 2017-04-25 19:06:38 +02:00
Daniel Beer 0666a32517 Merge pull request #31 from xhpohanka/slac460s
Support for slac460s (loadDeviceDb)
2017-02-21 12:08:05 +13:00
Jan Pohanka 721a012e81 Support for slac460s (loadDeviceDb) 2017-02-17 08:44:19 +01:00
Daniel Beer abced5d1b4 Merge pull request #30 from xhpohanka/rom_bsl
MSP430 BSL needs even counts and addresses
2017-02-17 09:55:39 +13: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
Daniel Beer a16ef760ab Merge pull request #29 from melak/fet_errcode_460s
Add FET error codes from MSP430DLL v3.9.1.002 (SLAC460s)
2017-01-29 13:53:45 +13: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 fcfc8e0452 Merge pull request #26 from glynhudson/master
add note to install libreadline-dev
2016-12-28 09:54:33 +13:00
Glyn Hudson ff1ccf2b1f add note to install libreadline-dev 2016-12-27 20:14:08 +00:00
Daniel Beer 1f77d74803 Windows compatibility fixes.
Supplied and tested by Patrick Dussud <phdussud@hotmail.com>.
2016-12-21 09:57:23 +13: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 68df54a813 add copyright 2016-11-26 19:15:48 +09:00
Hiroki Mori 8ed70680f9 cleanup 2016-11-26 19:06:28 +09:00
Hiroki Mori f96b0cb73d Use Mac OS X HID Interface at BSL 2016-11-26 19:03:41 +09:00
Daniel Beer 7c9887f9bf Merge pull request #22 from johnp789/gpiojtag
Toggle test and reset pins to make gpio 4-wire JTAG work on SBW-enabled targets
2016-11-24 10:14:22 +13: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
Daniel Beer df8de5daa3 Merge pull request #21 from johnp789/gpiojtag
Add support for reset and test pins via gpio driver
2016-11-20 14:06:18 +13:00
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