Commit Graph

635 Commits

Author SHA1 Message Date
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
Daniel Beer b50b7a84bd Version 0.15 2011-04-05 08:22:54 +12:00
Daniel Beer 836a0925ee Various corrections to manual page. 2011-04-04 17:34:06 +12:00
Daniel Beer f6ecf7bd56 Implemented command aliases. 2011-04-04 17:09:11 +12:00
Jasper Lievisse Adriaanse 5e5b118e74 open_olimex_iso() will only work on Linux, so don't bother calling it on non-Linux platforms. 2011-04-04 08:32:34 +12:00
Jasper Lievisse Adriaanse 82d580898c On OpenBSD libreadline needs to be linked with -ltermcap. 2011-04-04 08:32:30 +12:00
Daniel Beer 68775239f3 Add AUTHORS entry for Ionut Nicu. 2011-03-28 08:58:49 +13:00
Daniel Beer ccbefb0a54 Document --force-reset option. 2011-03-27 13:02:31 +13:00
Ionut Nicu d5ecb69633 Add --force-reset option
Without this option MSP430F5526 fails to reset its
registers properly. When the SP register points to
a random address and we try to set a breakpoint with
gdb, it will try to read all memory locations from
SP up to the top of the RAM searching for the return
address in the current stack frame.

On MSP430F47173 initialization fails when not using
reset (command C_IDENT1 failed) and we also need
to fall back to using try_open with send_reset = 1.

Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
2011-03-27 13:01:00 +13:00
Ionut Nicu 5c0a57254c Add support for MSP430F5526
Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
Signed-off-by: Radu Rendec <radu.rendec@mindbit.ro>
2011-03-26 16:08:23 +13:00
Ionut Nicu f1962d9870 Add support for MSP430F47173
Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
Signed-off-by: Radu Rendec <radu.rendec@mindbit.ro>
2011-03-26 16:08:13 +13:00