Daniel Beer
9956ecadb5
fet: retry with reset on connect if the first attempt fails.
2010-10-16 17:26:58 +13:00
Daniel Beer
fd98116298
Merge branch 'erase'
2010-10-12 11:00:28 +13:00
Daniel Beer
32f45d72de
fet: reset on close, rather than init.
2010-10-12 11:00:09 +13:00
Daniel Beer
4c7538143c
Erase bug fixes.
2010-09-23 19:34:12 +12:00
Daniel Beer
1ae163572c
fet: implemented mass and segment erase.
2010-09-23 16:14:21 +12:00
Daniel Beer
b9e5db63d5
device: altered erase interface to allow different erase types.
2010-09-23 15:45:06 +12:00
Sören Höckner
ecccfb5a64
fet: change block size to 64 bytes.
...
Have observed crashes of the FET when programming some devices using
128-byte blocks.
2010-09-14 14:56:10 +12:00
Sören Höckner
218ead5fe5
fet: fix packet size alignment when reading/writing buffers.
2010-09-14 14:54:25 +12:00
Daniel Beer
93087e534d
prog: removed word-alignment buffering.
2010-09-13 10:40:29 +12:00
Daniel Beer
46fd2956cd
fet: workaround for unaligned reads/writes.
2010-09-13 10:27:50 +12:00
Daniel Beer
40fa5de592
Move code_start field into base device class.
2010-09-10 11:40:59 +12:00
Daniel Beer
2ef8f7574b
fet: by default, reset chip on startup.
2010-09-02 11:55:12 +12:00
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