Commit Graph

54 Commits

Author SHA1 Message Date
Eric Decker 1a3f9a9ff3 fet: always show chip name. 2010-09-01 09:34:50 +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 d2c91feeb0 fet: reduce polling interval to 50 ms (was 500 ms). 2010-08-17 11:54:50 +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
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 eab488da92 fet: continue even if set VCC fails.
This is not a fatal error under all circumstances, for example when
debugging a board with external power applied.
2010-07-01 12:25:34 +12:00
Daniel Beer cf4ec417ff Added support for Olimex MSP430-JTAG-TINY. 2010-06-15 14:53:38 +12:00
Daniel Beer efabaf5161 Consistent spelling of "Spy-Bi-Wire". 2010-06-15 13:13:51 +12:00
Peter Jansen 465147cdd4 Added support for MSP430F169 2010-06-15 13:07:06 +12:00
Daniel Beer c1bb903b99 Try to use JTAG mode 2 with UIF devices. 2010-06-15 12:56:20 +12:00
Daniel Beer 9672e24b65 Fixed bug preventing chip identification. 2010-05-21 14:19:15 +12:00
Daniel Beer 626b0085a0 Added constants for C_CONFIGURE in fet.c. 2010-05-20 13:14:36 +12:00
Daniel Beer 15b6148cd4 Fixed erase command on chips with code start > 0x8000. 2010-05-20 12:47:03 +12:00
Daniel Beer de80453268 Extract useful macros (LE_BYTE, LE_WORD, LE_LONG). 2010-05-19 14:53:43 +12:00
Daniel Beer e3e33f2c0d Corrected MSP430F2013 ID text. 2010-05-19 12:18:31 +12:00
Daniel Beer 6d0d32c8a0 FET database bug fixes. 2010-05-19 12:02:33 +12:00
Daniel Beer a87ad8b834 Added --fet-force-id command-line option. 2010-05-19 11:54:15 +12:00
Daniel Beer d69b48bd89 Use fet_db to find magic messages. 2010-05-19 11:31:40 +12:00
Daniel Beer fab96c725d BSL now shows descriptive errors returned by FET. 2010-05-15 13:44:46 +12:00
Daniel Beer c96ce58a8f Took checksum function from uif430. 2010-05-15 13:42:02 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer c981893254 Transports are now objects. 2010-04-30 16:57:57 +12:00
Daniel Beer 204aa31291 Device drivers are now objects. 2010-04-30 16:01:03 +12:00
Daniel Beer 6fa975277b fet: implemented magic table for FW ver. 20404000 2010-04-28 18:55:37 +12:00
Daniel Beer 006585e0f7 Modified FET driver for testing with TI Chronos. 2010-04-10 15:44:49 +12:00
Daniel Beer 7e309acdc5 Separated device commands. 2010-04-10 14:35:36 +12:00
Daniel Beer f8f530f24e Convert FET command constants to hex. 2010-04-09 15:57:41 +12:00
Daniel Beer 1f8b65870c Removed per-command checks for fet_is_rf2500. 2010-04-08 15:01:09 +12:00
Daniel Beer eff1148348 Detect NAK replies. 2010-04-08 14:51:56 +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 8bcccc783f Tidied up error message prefixes. 2010-01-12 21:51:06 +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
Daniel Beer 7eec63c431 Protocol tidy-ups. 2010-01-07 16:27:37 +13:00
Daniel Beer 187bcb283c Added voltage control command-line switch. 2010-01-06 21:08:01 +13:00
Daniel Beer ce308c5823 Abstracted interface to FET driver.
Tested with eZ430-RF2500.
2010-01-06 16:17:55 +13:00
Daniel Beer 1d3b4f3f81 Added ELF support, made all buffers u_int8_t. 2010-01-05 17:21:45 +13:00
Daniel Beer 34e1d2d7a1 Added another ID string for MSP430F2274. 2010-01-05 15:44:57 +13:00
Daniel Beer 18af13e017 Added JTAG support. 2010-01-04 22:39:25 +13:00
Daniel Beer 98cae4abc2 Tested with eZ430-F2013. 2010-01-04 16:29:59 +13:00
Daniel Beer 930a2d4a5f Working on eZ430 (with MSP430F2274). 2010-01-04 16:19:10 +13:00
Daniel Beer 7036aec135 Working on RF2500. 2010-01-04 16:05:53 +13:00
Daniel Beer 228812e7de Implemented correct chip identification. 2010-01-04 15:31:42 +13:00
Daniel Beer e76f533f0f Show errors reported by FET. 2010-01-04 14:11:19 +13:00
Daniel Beer f069ff7322 Variadic xfer, plus other protocol tidy-ups. 2010-01-04 14:02:31 +13:00
Daniel Beer eb444b9957 Implemented proper reply parsing. 2010-01-04 13:03:36 +13:00
Daniel Beer ec5c61e9c9 Better implementation of FET command protocol. 2010-01-03 19:50:45 +13:00