Commit Graph

24 Commits

Author SHA1 Message Date
Jasper Lievisse Adriaanse 810c2b7c93 Add __OpenBSD__ where applicable. 2010-12-06 12:24:40 +13:00
Daniel Beer fd98116298 Merge branch 'erase' 2010-10-12 11:00:28 +13:00
Daniel Beer 09813e3129 Fixed BSL memory range checking. 2010-09-25 20:29:38 +12:00
Daniel Beer b9e5db63d5 device: altered erase interface to allow different erase types. 2010-09-23 15:45:06 +12:00
Daniel Beer 40fa5de592 Move code_start field into base device class. 2010-09-10 11:40:59 +12:00
Daniel Beer 9c2ed8c5fc Introduced quiet mode option and command-line switch.
Based on a patch by Eric Decker <cire831@gmail.com>
2010-08-31 15:50:00 +12:00
Daniel Beer 87f89adc44 All output now goes through buffering/filtering.
The following substitutions have been made:

    printf -> printc
    fprintf(stderr, ...) -> printc_err(...)
    perror -> pr_error
2010-08-17 11:07:03 +12:00
Robert Spanton 1b5c1098f5 Add support for writing the FET430's firmware in uif-bsl.
This patch adds support to the uif-bsl driver for erasing the FET430's
memory, and writing to it. It also adds graceful ignoring of halt and
reset requests, which the "prog" command tries to get it to do.

I've tried this with my UIF and it appears to work fine.  It no longer
complains when I present it with an MSP430F247 after updating its
firmware :)

Be very careful!  I do *not* provide any guarantee that this won't
brick your UIF (which would require a second MSP430 programmer to
program the first...).
2010-08-16 11:11:14 +12:00
Daniel Beer 5b2c75563d Device interface and drivers are now 32-bit clean. 2010-08-05 14:43:07 +12:00
Daniel Beer 3f6d8f91ad Moved breakpoint table into device base structure.
Breakpoints only ever change by debugger control, so there's no point
having a device-dependent "getbrk" method. Breakpoint update need only
be done before starting the device running.
2010-07-27 13:08:21 +12:00
Daniel Beer 74a11c1ae0 Implemented support for multiple breakpoints. 2010-07-02 14:22:52 +12:00
Daniel Beer 7703c34664 Further modifications for OS/X.
Don't rely on install -D, and define B460800 before using it if
compiling on OS/X.
2010-05-26 11:17:45 +12:00
Daniel Beer 0481083b0f Removed Device ID database. 2010-05-19 11:33:06 +12:00
Daniel Beer fab96c725d BSL now shows descriptive errors returned by FET. 2010-05-15 13:44:46 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer 204aa31291 Device drivers are now objects. 2010-04-30 16:01:03 +12:00
Daniel Beer 7e309acdc5 Separated device commands. 2010-04-10 14:35:36 +12:00
Daniel Beer ae1006f3ea gdb: can now interrupt execution on both sides 2010-03-23 14:37:53 +13:00
Daniel Beer 39a4c5806b Implemented basic gdb support.
Tested only with simulation mode -- real devices need testing.
2010-03-22 19:12:51 +13:00
Daniel Beer 306a29a0fe Fixed BSL version reporting. 2010-03-13 15:44:51 +13:00
Daniel Beer 8ce134c04c Extracted general IO routines from UIF. 2010-01-11 16:54:36 +13:00
Daniel Beer b20a7a5576 Fix up copyright messages. 2010-01-08 21:17:24 +13:00
Daniel Beer e0055a9b68 Added CPU identification to BSL interface. 2010-01-08 20:19:53 +13:00
Daniel Beer 1baa04a565 Implemented FET bootloader support (memory read only). 2010-01-08 18:39:07 +13:00