Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Beer d4fee98904 Restructuring: moved low-level utility code to util/ 2011-09-14 16:19:30 +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
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 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 b8dd765a5b sport: serial IO abstraction layer. 2011-07-27 11:26:02 +12:00
Daniel Beer 39d9f9e499 Extracted duplicate hexval(). 2011-06-06 12:40:50 +12:00
Andrew Armenia 89520c052e initial version of flash_bsl driver
This driver allows mspdebug to talk to the bootloader on a flash MSP430
via a serial port. DTR and RTS lines are used to control the TEST and
RST# pins on the MSP430, respectively. Currently, read and program are
supported. However, read is fairly useless because the driver currently
does not support any password other than the default. Thus it must
mass-erase the chip to gain access.

Read that again. USING THIS DRIVER WILL MASS ERASE YOUR CHIP IMMEDIATELY,
WITHOUT YOU ASKING FOR IT.
2010-09-23 13:35:33 +12:00
Daniel Beer 93c3cb342b Remove redundant textlen() function. 2010-08-17 10:22:16 +12:00
Daniel Beer 137329cc13 Symbol table and address expressions are now 32-bit clean. 2010-08-05 13:59:33 +12:00
Daniel Beer db0406d75d Added support for S19 file format. 2010-07-12 16:36:01 +12:00
Daniel Beer de80453268 Extract useful macros (LE_BYTE, LE_WORD, LE_LONG). 2010-05-19 14:53:43 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer ba6e3366ff Command processor is now an object. 2010-04-21 16:56:56 +12:00
Daniel Beer 90d39a96f5 Move some unrelated functions out of parse.c 2010-04-21 14:12:12 +12:00
Daniel Beer 40d299d001 Colorize some more output. 2010-04-10 16:41:57 +12:00
Daniel Beer 8758d8bc28 Separated parsing from util. 2010-04-10 15:02:14 +12:00
Daniel Beer 7e309acdc5 Separated device commands. 2010-04-10 14:35:36 +12:00
Daniel Beer a52ab171f3 Separated symbol commands from symbol table. 2010-04-10 14:00:00 +12:00
Daniel Beer b12e0f5ddb Added RC file processing on startup. 2010-04-08 14:43:19 +12:00
Daniel Beer ceb78ff053 Commands are now registered by each module. 2010-03-31 19:36:53 +13:00
Daniel Beer 01e26ce3a8 Merged parse.[ch] into util.[ch]. 2010-03-30 15:54:03 +13:00
Daniel Beer 0d71fcef38 Implemented CPU core emulator. 2010-03-20 15:18:58 +13:00
Daniel Beer 8ce134c04c Extracted general IO routines from UIF. 2010-01-11 16:54:36 +13:00
Daniel Beer e0055a9b68 Added CPU identification to BSL interface. 2010-01-08 20:19:53 +13:00
Daniel Beer 0f15fd3e21 Move utilities into separate file. 2010-01-08 18:15:30 +13:00