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
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
Daniel Beer
ed2c841da9
Separated device vtables/class information.
2011-03-15 14:56:07 +13:00
Daniel Beer
b6e241a9e3
Implemented uniform device constructor functions.
2011-03-15 14:20:06 +13:00
Daniel Beer
fdaf99a70e
Introduced device_* helper macros.
2011-03-15 13:12:48 +13:00
Daniel Beer
b9e5db63d5
device: altered erase interface to allow different erase types.
2010-09-23 15:45:06 +12:00
Daniel Beer
93087e534d
prog: removed word-alignment buffering.
2010-09-13 10:40:29 +12:00
Daniel Beer
40fa5de592
Move code_start field into base device class.
2010-09-10 11:40:59 +12:00
Daniel Beer
0120b146ae
Create default device to avoid carrying around device_t.
2010-08-13 12:25:49 +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
0481083b0f
Removed Device ID database.
2010-05-19 11:33:06 +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
ceb78ff053
Commands are now registered by each module.
2010-03-31 19:36:53 +13: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
8ce134c04c
Extracted general IO routines from UIF.
2010-01-11 16:54:36 +13:00
Daniel Beer
5a84cbf7f5
Basic simulation implementation (memory IO only).
2010-01-09 16:20:47 +13:00
Daniel Beer
b20a7a5576
Fix up copyright messages.
2010-01-08 21:17:24 +13:00
Daniel Beer
1baa04a565
Implemented FET bootloader support (memory read only).
2010-01-08 18:39:07 +13:00
Daniel Beer
ce308c5823
Abstracted interface to FET driver.
...
Tested with eZ430-RF2500.
2010-01-06 16:17:55 +13:00