Commit Graph

395 Commits

Author SHA1 Message Date
Tamas TEVESZ 3a8994b4f7 Add more error codes from MSP430.dll v3:
http://processors.wiki.ti.com/index.php/MSP430.dll_v3
2011-08-16 10:22:37 +12:00
Daniel Beer 62bd2ccd18 Added support for MSP430F5527. 2011-08-15 09:09:32 +12:00
Tamas TEVESZ 2e40c07370 Add support for MSP430AFE253. 2011-08-15 09:08:50 +12:00
Tamas TEVESZ 45c1ba5dc8 Use tilde-expanded path in process_file(). 2011-08-02 13:11:53 +12:00
Jasper Lievisse Adriaanse f597d25811 Using FD_ZERO requires including string.h for the memset() prototype. 2011-08-02 09:32:03 +12:00
Jasper Lievisse Adriaanse 1560547a0d Remove explicit linking with libelf for OpenBSD.
This isn't needed anymore since commit eee0bc.
2011-08-02 09:31:45 +12:00
Daniel Beer a5def5cf92 win32: set comm timeouts when opening serial port. 2011-07-30 01:23:08 +12:00
Daniel Beer 345ad4ae2d Bug fix: usb_set_configuration causes problems on Linux.
Added #ifdef WIN32 around these calls.
2011-07-30 12:51:44 +12:00
Tamas TEVESZ d045d8feec New expand_tilde() utility function
Add new `expand_tilde' utility function which substitutes
leading `~/' for the current user's home directory in path
names; NB: returns a new string the caller must free when
it's not needed anymore.
2011-07-29 08:57:08 +12:00
Tamas TEVESZ 457e5a6a3f Allow handling of ^[# on the command line. 2011-07-29 08:53:03 +12:00
Daniel Beer a361e68843 win32: socket IO fixes. 2011-07-27 23:50:54 +12:00
Daniel Beer 5084d0d925 Fix missing CFLAGS for readline support. 2011-07-27 23:17:34 +12:00
Daniel Beer 04335f4f1c win32: ANSI emulation for colour output. 2011-07-27 22:51:39 +12:00
Daniel Beer 51b1d6b90f Fixed bug in gdb client leading to infinite loop on remote close. 2011-07-27 17:18:52 +12:00
Daniel Beer ce020a99f0 sockets: fix build error on posix systems. 2011-07-27 17:12:23 +12:00
Daniel Beer 45a731f4fd win32: cancellable serial port IO. 2011-07-27 05:10:18 +12:00
Daniel Beer 935cd1bdff win32: sockets abstraction layer with cancellable blocking IO. 2011-07-27 04:38:54 +12:00
Daniel Beer df46811d2d win32: catch Ctrl+C on console. 2011-07-27 03:46:29 +12:00
Daniel Beer 8c4080b97f win32: correct initial help message. 2011-07-27 02:28:40 +12:00
Daniel Beer 3fa5b3ce0a win32: specify binary mode fopen() where appropriate. 2011-07-27 02:16:33 +12:00
Daniel Beer 07780ff11f Fixed error reporting for Win32. 2011-07-27 01:56:45 +12:00
Daniel Beer a81043a656 Now compiling with MinGW.
- implemented Win32 serial IO
  - added Winsock init/exit
  - added missing strsep()
  - minor API fixups
2011-07-27 01:23:16 +12:00
Daniel Beer 7b261217c8 Add sockets abstraction layer. 2011-07-27 11:43:22 +12:00
Daniel Beer b8dd765a5b sport: serial IO abstraction layer. 2011-07-27 11:26:02 +12:00
Daniel Beer eee0bc0352 elf32: use local elf.h. 2011-07-27 10:35:46 +12:00
Tamas TEVESZ 99c38aba9f Silence fread()-related signedness warnings 2011-07-26 08:54:41 +12:00
Tamas TEVESZ ea0c4d6720 Preprocessor related fix-ups.
- olimex.c, rf2500.c, uif.c:
    add missing includes for malloc(), free() and atoi().
  - uif.c: define serial port speeds based on need, not platform.
  - uif.c: if !__linux__, stub open_olimex_iso() is not needed.
2011-07-26 08:54:03 +12:00
Daniel Beer 49ed2bb990 util: sigaction must be used under Cygwin. 2011-07-22 09:22:07 +12:00
Daniel Beer 067dd504a0 Set configuration for libusb-win32 compatibility.
Changes suggested by Xiaofan Chen <xiaofanc@gmail.com>.
2011-07-22 09:20:29 +12:00
James Nuss 4362fbea2f Add support for MSP430F5418. 2011-07-19 10:19:31 +12:00
Daniel Beer 75f893ef47 Tidy up long lines. 2011-07-18 15:00:17 +12:00
Daniel Beer 3feecd30b6 Added -s option to distinguish between devices by serial number.
Based on patch by Tamas Tevesz <ice@extreme.hu>.
2011-07-18 14:56:29 +12:00
Daniel Beer 1e21d9da8f Added support for MSP430FR5739.
Use "load" instead of "prog" for programming.
2011-07-06 09:32:36 +12:00
Jasper Lievisse Adriaanse 0f3265e741 Fix implicit declaration of memset(). 2011-06-17 09:07:54 +12:00
Daniel Beer e50edfd347 Version 0.16 2011-06-14 13:27:10 +12:00
Daniel Beer 6de45248f8 Added README file with compilation instructions. 2011-06-14 12:52:59 +12:00
Daniel Beer de037d8ffd Clarify a couple of things in the manual.
JTAG works with more than just the FET430UIF. Give an example of the
argument format for --fet-force-id.
2011-06-13 13:02:49 +12:00
Daniel Beer 8355899749 Manual: fixed incorrect chip name. 2011-06-06 16:05:52 +12:00
Daniel Beer 287f4ad166 gdb: implemented restart commands. 2011-06-06 15:53:06 +12:00
Daniel Beer 57d5ea34d5 Implemented GDB client driver. 2011-06-06 15:51:38 +12:00
Daniel Beer f3a8df82f9 Extracted GDB remote protocol implementation. 2011-06-06 13:50:50 +12:00
Daniel Beer 39d9f9e499 Extracted duplicate hexval(). 2011-06-06 12:40:50 +12:00
Daniel Beer 620570691e olimex: add experimental support for V2 debug tool.
Tested with:

    - MSP430FG4618 (JTAG)
    - Firmware version 1270003010
2011-06-06 11:28:13 +12:00
Daniel Beer 167af0953a Added support for MSP430G2252. 2011-06-06 10:15:50 +12:00
Jasper Lievisse Adriaanse 11f46c40fc Plug a mem. leak 2011-05-23 11:03:38 +12:00
Daniel Beer bffe2b26c1 Support for MSP430F4784. 2011-05-13 10:11:04 +12:00
Daniel Beer 2cf933dbbc Support for MSP430F427. 2011-05-13 09:55:35 +12:00
Daniel Beer 4ab5082695 Added support for MSP430F235. 2011-05-03 14:11:11 +12:00
Paul Fleischer c9e68eff45 Support for MSP430G2553. 2011-04-28 15:08:01 +12:00
Daniel Beer a079398f42 flash_bsl: advance address pointer after reads/writes.
Pointed out by Pierre-Emmanuel Goudet <pe.goudet@watteco.com>.
2011-04-23 11:57:27 +12:00